include link list depending on category

Posted by user117701 on Stack Overflow See other posts from Stack Overflow or by user117701
Published on 2010-02-27T21:40:23Z Indexed on 2010/05/02 20:17 UTC
Read the original article Hit count: 155

Filed under:
|

I want to display the linklist widget only on a certain category.

The current way the sidebar is fetched is:

if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1))

Which doesnt give me a say in the calling of the links widget. If i put an if clause there, then the rest of the widgets dont get loaded.

So i either need to customize the links widget it self or find a way to call the links widget directly?

And how do i check which category i'm on?

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about wordpress-plugin