Support » Fixing WordPress » List related posts link by Category

  • Resolved siuray


    Hi all,

    My request:

    When people view a post (Single), I want the sidebar can list out all related post link which in same category.

    Post: A , B , C ,D
    All set in ABC this category.

    When people view A , the sidebar will list out the link with post title of A , B , C & D.

    I know WP have provided the “get_posts” template tag to list out the post or link which in same Category.

    However, it require user provide the category ID manually and not fulfill my request actually.

    Does it have other solution or plug-in can do that ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • siuray


    hmm , I solved by myself.

    Just combine the get_the_category() with a minor script then done it.

    Hey Siuray, would you mind posting your solution? I need to do the same thing and don’t have the php/programming chops to figure it out from what you’ve said here.

    Thanks so much.


    siuray could you say the solution here ? i need it too, and i’m not getting any clue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List related posts link by Category’ is closed to new replies.