Display Wordpress widget on post page within certain category -



Display Wordpress widget on post page within certain category -

i'm trying utilize widget logic (wordpress plugin) display widget when viewing post posted category. i've used:

is_category('category_name')

to display on categories archive, when viewing individual post, no longer displayed.

is there wordpress status tag want?

an easy solution create special "sidebar" http://codex.wordpress.org/function_reference/dynamic_sidebar , wrap in is_category().

edit: haven't used widget logic looking @ examples should work

(is_single() && in_category('baked-goods')) || is_category( 'baked-goods' )

wordpress widget category conditional-statements

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -