[resolved] List related posts link by Category (4 posts)

  1. siuray
    Posted 8 years ago #

    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 ?

  2. siuray
    Posted 8 years ago #

    hmm , I solved by myself.

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

  3. scormeny
    Posted 8 years ago #

    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.


  4. dar3devil
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic