Support » Plugins » Hacks » Help With Custome Page Template Using _wp_page_template

  • Hello What if I Modify the _wp_page_template File directly to Load appropriate Page Template From The DB like i have a Page test/test.php
    so i can do some thing like _wp_page_template TO test/test.php this works Fine so it helps me to restrict user From Creating Other Page With same Page template But I want to know more is there any issue with this approach and about the Compatibility of This HACK with Future WP Release

    or is there any other way by which i can Separate my Custom Page template in a Batter Folder Structure like Module Wise

Viewing 1 replies (of 1 total)
  • It’s maybe only me but I believe there’s a better way to do that, try ‘remove_meta_box’, you can play with roles by example you remove the pageparentdiv if the user is not an administrator

Viewing 1 replies (of 1 total)
  • The topic ‘Help With Custome Page Template Using _wp_page_template’ is closed to new replies.