I need to use conditional tags to target my product pages. I use the ‘widget logic’ plugin which can target pages/posts using conditional tags ie: is_single( ’17’ )
I thought the product pages would be custom post types, however I can’t seem to find the code that registers the product page as a custom post type.
Can somebody tell me how the best way to target the individual products page with conditional tags would be, as I need to include some stuff in the sidebar there.
- The topic ‘Conditional tags.’ is closed to new replies.