[Resolved] Removed WP Show Posts, shows related posts

Home Forums Support [Resolved] Removed WP Show Posts, shows related posts

Home Forums Support Removed WP Show Posts, shows related posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1675350
    Brent

    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

    #1675367
    Ying
    Staff
    Customer Support

    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 πŸ™‚

    #1675416
    Brent

    Hi, I put the website link in the private field. Thank you.

    #1675420
    Ying
    Staff
    Customer Support

    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 πŸ™‚

    #1675425
    Brent

    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;
    }

    #1675428
    Ying
    Staff
    Customer Support

    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?

    #1675436
    Brent

    Doh! Thank you for your help. There is a “Related Posts” hook in elements. If it were a snake it would have bit me. =)

    #1675442
    Ying
    Staff
    Customer Support

    Haha great job catching the snake πŸ˜›

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.