Check in theme header if page is WPAdverts
-
I am trying to have my theme header show different if/else depending if the page is a regular post/page vs a WPAdverts page/listing
Is there anything I can check to see if the current page is a WPAdverts page?For the main page I can manually check the page ID using is_page()
For categories, I see the taxonomy is specific, so I can use is_tax(‘advert_category’)
But I don’t see anything for the actual listing pages
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Check in theme header if page is WPAdverts’ is closed to new replies.