Archived topic
Removed WP Show Posts, shows related posts
7 replies · Started by Brent on February 27, 2021
Hi,
I removed the plugin WP Show Posts to try the tutorial from generatepress youtube channel with title called, "Block Element Content Template Demo".
Everything works great, but at the bottom of each post I have a block that says "Related Posts". I don't have any related posts plugins and all caches have been cleared.
See screenshot, screenshot
Hi Brent,
GP doesn't add related post by default, could you link us to the site in question?
You can use the private information field.
Let me know :)
Hi, I put the website link in the private field. Thank you.
The related posts is coming from WP show post indeed.
Could you go to appearance > elements, to see if there's any hook elements or block elements assigned to Post?
Let me know :)
Ok, it has something to do with CSS. I removed this from additional CSS. I forgot about that as I'm using a theme from the site library. But, now instead of a block that is grey with the text "related posts" I just have the text without the grey block.
/* WPSP related Posts */
.wpsp-related-posts {
background-color: rgba(0,0,0,.03);
padding: 64px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpsp-related-posts h2 {
text-align: center;
margin-bottom: 1em;
}
CSS just to style the block, the existence of the block won't be effected by removing or adding it.
Have you checked the hook/ block elements yet?
Doh! Thank you for your help. There is a "Related Posts" hook in elements. If it were a snake it would have bit me. =)
Haha great job catching the snake :P