Skip to main content
4 events
when toggle format what by license comment
Aug 17, 2017 at 14:05 vote accept Archangel17
Feb 28, 2017 at 10:32 comment added Laxmana If you create a template and assign it to a page WordPress automatically loads the php file. Also the first time the post meta gets the 111 value it will not change so your if condition will be true every time no matter the template. Better to check with is_page_template('your-template')
Feb 28, 2017 at 10:27 comment added Archangel17 Yes i get this and i have already done this but my question is, is it possible to to use a .php file instead? so i dont need to create a page & assign a template for all the pages i needed?
Feb 28, 2017 at 10:01 history answered Sonali CC BY-SA 3.0