I’m utilizing the if ( is_home() || ! is_page_template( array( 'template-investment.php', 'template-tourism.php' ) ) || ! is_singular( 'itemizing' ) ) {
conditional to regulate the show of the theme’s sidebar in sure situations on my shopper’s theme.
It’s working for the is_home
and ! is_page_template
conditionals, however not the is_singular
for the itemizing customized put up sort (Toolset plugin).
The physique lessons for the only itemizing pages are included beneath.
listing-template-default
single
single-listing
postid-3119
logged-in
views-template-content-template-for-listings
As single-listing
is included, I might assume it ought to be working.
Would the dynamic nature of how Toolset creates templates be inflicting battle?