Support » Plugins » show only certain link categories on certain posts

  • Hello,

    I’m looking for a plugin or some code that will enable me to only show link category that matches post category, for example:

    link category: bananas
    post category: bananas

    Only link category bananas will show on posts in bananas category

    Thanks

Viewing 1 replies (of 1 total)
  • If a ‘category’ view, display links with same category

    <?php
    if ( is_category() ) {
    $cat = get_query_var('cat');
    $category=get_category($cat);
    wp_list_bookmarks('category_name='.$category->cat_name); } ?>
    }
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘show only certain link categories on certain posts’ is closed to new replies.