Set default template
-
Hi htmlBurger,
How do I set default template while making filed? My deafault template is page.php and I code like below but it seems to be not working
->show_on_template(array(“home.php”,”page.php”, “blog.php”,”twocolumn.php”))
and why I have to use ->show_on_post_type(‘page’) to show options in in selected template? I have to use this one because only show_on_template is not working.
Please let me know.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Set default template’ is closed to new replies.