-
jlsomewhere
Hi, it’s been while. I’ve been travelling & have finally got back to my website
My website host ‘Wealthy Affiliate’ recently upgraded my website to their latest PHP8 server. In that process a couple of things seem to have been affected.
If you look at my Home Page in the above website you will see near the bottom of the page a list of Posts in large format text. However, when you look at any Post the Posts lists is in small text & not presented properly.
The only reason the Home Page Post list format is ok is because I recovered an earlier revision to fix an error message. I can’t revert to earlier revisions of my Posts due to a number of edits I’ve recently done.Can you guide me thru the steps to fix the Post list format in all of the Posts? I can’t remember how I did it.
-
Hi,
However, when you look at any Post the Posts lists is in small text & not presented properly.
Where? Can you link me to where I can see the issue? I checked 2 posts, do not see ths section on neither of them.
-
jlsomewhere
Hi,
Have a look near the bottom of Home Page (just above the comments) & you will see how I want the list of Posts formatted. If you click on any of the Posts & look at the same location (near the bottom of the Posts, just above the comments) you will see only a partial list of Posts in small blue/link text format.
As noted above, it seems the only reason the Home Page is correctly formatted is because I recovered an earlier revision after the host server was upgraded.
Let me know if this is still not clear & please remind me how I attach a doc with screen shots to these help topics.
Thank you.
-
Hi there,
on your single post, below the post content is the footer meta, which includes the post Categories and Next / Previous post links.
You can disable that meta by:
1. in Appearance > GeneratePress and activate the blog module
2. go to Customizer > Layout > Blog -> Single tab and uncheck the meta you do not want:https://docs.generatepress.com/article/blog-content-layout/#single
Now to add your own list of posts below the single post content, you can use a GP Block Element Hook and choosing the
after_contenthook with display rules set to Posts > All Posts.:https://docs.generatepress.com/article/block-element-hook/
Whatever you add to that element will then appear beneath the single posts.
-
jlsomewhere
All good now, thanks. The only issue, which isn’t a major problem, is the list of Posts at the bottom doesn’t exclude the ‘current post’. There isn’t a specific parameter for it in the ‘exclude posts’. I used ChatGPT (also a great help desk for these things) to try to fix it by adding some custom PHP code to the Theme Functions (functions.php) – it didn’t work.
Unless there is a simple way to add the ‘exclude current posts’ parameter I will leave it as is. -
Alvind
Hi there,
The ‘Exclude Current Post’ parameter is a GenerateBlocks Pro feature. If you have GenerateBlocks Pro installed and activated, the option should be available.
-
jlsomewhere
All good now, thanks!!
-
Great to hear that 🙂
- You must be logged in to reply to this topic.