is_page & is_page_template not working
-
is_page & is_page_template are not working for a page which is created based on a page template.
page template [dashboard.php] code is below
[ moderated as link to dashboard.php provided in subsequent comment ]
I am using is_page(array(768,’dashboard’,”Dashboard”)) in sidebar to display a widget only for that page.But its giving false every time.
Also I was tried is_page_template(‘dashboard.php’).This one also not working on that page.May i know what is the problem.Pla help me
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘is_page & is_page_template not working’ is closed to new replies.