Conditional Tag Path to Gallery Page
-
I’m currently using Widget Logic on my site and am attempting to customize the widgets for my gallery pages, however, I am unable to discern the correct path to my individual gallery pages. The URL to one the gallery pages is siteroot/gallery/gallery-2/ and I’ve tried several different conditional tag queries without success
The following queries have all been tried. Any assistance with the query path to my gallery page would be greatly appreciated.
is_single(‘gallery-2’)
is_page(‘gallery-2’)
in_category(‘gallery’)
in_category(‘gallery’)&&is_page(‘gallery-2’)
in_category(‘gallery’)&&is_single(‘gallery-2’)
Thank you ??
- The topic ‘Conditional Tag Path to Gallery Page’ is closed to new replies.