Related posts below single post

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #23281
    Ixinho
    Participant

    Hello
    below single post there are always 2 posts with backwards and forward arrow. How can i display only posts from that category and not random posts?

    #23319
    Veena
    Moderator

    Which single post ? Can you pls clarify ?

    #23387
    Ixinho
    Participant

    I mean there are links for two posts below every post, which point to similiar posts. Can we remove that?

    #23510
    Ixinho
    Participant

    Hi Phoenix, do you need more explanation on this?

    #23521
    Raghavendra
    Moderator

    Actually we don’t display related posts in our theme for blog posts. Can you pls give a link to the actual page where this is happening so that I can check if you are referring to a custom post type? Thank you.

    #23569
    Ixinho
    Participant
    This reply has been marked as private.
    #23592
    Veena
    Moderator

    It is just displaying link to the previous post and the next post if you are saying about the backward and forward arrows in the single post , that’s the way wordpress loop navigation works .

    https://codex.wordpress.org/Next_and_Previous_Links

    #23617
    Ixinho
    Participant

    Can i disable it anyhow?

    #23627
    Veena
    Moderator

    You can use the below custom CSS to hide the same –

    .single-post .loop-nav {
        display: none;
    }
    
    #23659
    Ixinho
    Participant

    Great ! Thank you : )

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Related posts below single post’ is closed to new replies.