Support » Plugin: Widget Logic » is_page_template( 'mytemplate.php' ) doesn't work
4 years, 1 month ago
My theme has a template for blog excerpt (i.e. blog-excerpt.php)
So I’m trying to put a conditional tag:
is_page_template( ‘blog-excerpt.php’ ) as no one else work (
(neither is_page nor is_single)
is_page_template( ‘blog-excerpt.php’ ) doens’t work either.
Any help please ?
your site/theme might be running any other queries before the call of the widgets, which is distorting the original query.
what theme are you currently using?
I’m running responsive, http://wordpress.org/extend/themes/responsive
Others conditional tags (is_single(), is_page() work fine, but obviously not for this page.