• Resolved nightstalker101

    (@nightstalker101)


    Hi,

    I am looking for a plugin or snippet of code, that shows me in the category view related categories.
    Means: When I am in the category x and have posts, that appear in cat. x and y, that cat. y also shall appear on top of cat. x.

    Does anybody have a suggestion, how I can solve this?

    Thanks,
    Lars

Viewing 4 replies - 31 through 34 (of 34 total)
  • The post id will be in $post->ID in that loop as each post is ‘encountered’.

    Thread Starter nightstalker101

    (@nightstalker101)

    Many Many Thanks for your help. Now all is working.

    simonmustoe

    (@simonmustoe)

    Hi,

    Thanks so much for this very helpful page. I’d really appreciate it if someone could guide me on tweaking the code example above. As it is, it renders a list of categories (using ‘include=’.$term_ids) but I want to be able to exclude some categories using the exclude= function in wp_list_categories() and show categories as a parent-child tree. Any guidance would be gratefully appreciated.

    Regards.

    Hy MichaelH, many thanks for your code

    I’m using this code in tag archive. However having problem because the category that is currently exist on page 1, still shown on page 2 and other pages (I’m using WP-PageNavi to display the navigation page). Can you help me with this?

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘Show Related Categories in Cat. view’ is closed to new replies.