Using Widget-Logic with Vantage?
I would like to use widget logic on my vantage site, so i can display widgets on specific categories.
Like in category X ="city X" i would like to have a subway widget to help ppl find the way.
What argument would i use to select a category from vantage category's?
I have tested regular wordpress category syntax but it dosent display so i guess vantage category is something else, or just me that does something wrong.
tested a few syntax in widget logic:
is_category(668)
is_category( '668' )
is_tag( '668' )
So i want all listings in the parent category 668 to show one special widget.
/
wp-admin/edit-tags.php?action=edit&taxonomy=listing_category&tag _ID=
668&post_type=listing
http://codex.wordpress.org/Conditional_Tags
http://wordpress.org/extend/plugins/...c/other_notes/
Examples syntax
is_home() -- just the main blog page
!is_page('about') -- everywhere EXCEPT this specific
WP 'page'
!is_user_logged_in() -- shown when a user is not logged in
is_category(array(5,9,10,11)) -- category page of one of the given category IDs
is_single() && in_category('baked-goods') -- single post that's in the category with this slug
current_user_can('level_10') -- admin only widget
strpos($_SERVER['HTTP_REFERER'], "google.com")!=false -- widget to show when clicked through from a google search
is_category() && in_array($cat, get_term_children( 5, 'category')) -- category page that's a descendent of category 5
global $post; return (in_array(77,get_post_ancestors($post))); --
WP page that is a child of page 77
global $post; return (is_page('home') || ($post->post_parent=="13")); -- home page OR the page that's a child of page 13