Site logo

Archived topic

Theme swap next / previous rendering

8 replies · Started by Steve on January 31, 2022

Viewing posts 1–9 of 9

Hey everybody

I just swapped my theme from Kadence theme and it has largely worked OK. One small problem is that at the bottom of my post pages, the Next/Previous Post has changed from this:

https://staging2.batterychargersinfo.com/best-way-to-charge-trolling-motor-batteries/

To this:

https://www.batterychargersinfo.com/best-way-to-charge-trolling-motor-batteries/

So, bare links and a mysterious folder icon above it marked 'General' and linking back to the

I would like to tidy this up and make it look decent again, but if this can't be done simply get rid altogether?

I found this code on the forum

.single-post nav.post-navigation,
.single-post ul.default-wp-page{
display: none;
}

which successfully removes the previous/next links, but leaves the folder icon and category link

Appreciate any guidance

Thanks

Hi there,

all of that falls under Post Meta - the mysterious folder icon is the Category Terms.
And in GP theres a few ways to change what meta is displayed and how it is displayed.

First off how to show/hide the meta that the theme can display by default :

1. Appearance > GeneratePress and enable the Blog Module:

https://docs.generatepress.com/article/blog-content-layout/

2. Theres a tab for archives and a tab of single ( posts ).
If you select Single you can then disable: Display Post Categories.
You can also disable: Display Post Navigation to remove*

But if you want a fancier post navigation then the best option is to use a Block Element with GenerateBlocks - see here"

https://docs.generatepress.com/article/block-element-post-navigation/

*note when adding a Block Element such as the Post Navigation it will automatically replace the default Theme one, so no need to disable it in the Blog options.

Thanks for your help, that works to remove it from single posts.

However, I noticed that the folder icon and category link are also appearing beneath each post option on the post navigation page beneath each link, is there any way to remove it here also?

Thanks

Hi Steve,

I've checked the site and I'm not sure I see any category link or folder icon appearing beneath each post.

Perhaps you've already solved this? Or maybe I'm just missing it completely.

can you provide a screenshot of what you're seeing and the page link to where you're seeing it?

Let us know.

In the Customizer > Layout > Blog - if you select the Archive tab it has its own Display post categories option. Uncheck that.

Superb, thanks

.

You're welcome!

This archived topic is closed to new replies.