zztop12345
Member
Posted 2 years ago #
I'm looking for a blog roll plugin that you can link to article categories. Meaning that based on the article categories only certain links will be displayed. I'm fairly certain I could do the manual code to get it working but I was hoping there was a plugin out there that would automate this process.
Any suggestions?
melstan1
Member
Posted 2 years ago #
In the Widgets menu, you can use the widget titled "Categories." Title it anything you want. and you can choose to list how many articles per category if you want.
I put the Categories widget in my footer if you want to have a look:
http://www.theinnocentabroad.com
You can also use the Tags widget to generate a tag cloud if you like.
melstan1
Member
Posted 2 years ago #
Correction: I didn't mean you can choose to list how many articles per category as you like. What I meant is You can choose to display how many articles are present in each category. You'll see i in the category widget.
zztop12345
Member
Posted 2 years ago #
What I'm looking for is a blogroll plugin that is tied to my article category. So if my article is in the food category I would like only links in the links food category too appear.
Consider downloading and installing Otto's PHP Code Widget, then something like this code in one of those widgets:
<?php
if ( is_category() ) {
$cat = get_query_var('cat');
$category=get_category($cat);
wp_list_bookmarks('category_name='.$category->cat_name); } ?>
}
?>
zztop12345
Member
Posted 2 years ago #
Hye Michael. Thats exactly what I was thinking about doing if there wasn't a plugin out there. It would just mean I would have to make sure that my article's categories matched my links catergories.