Tag: Pages

  • Useful: Set templates for all WordPress pages programatically

    Come across this little snippet while I’m searching for a solution to change all page templates from default to a custom one. I didn’t want to change the default template in general either change the page template itself – but only change the template setting for all pages yet created. This solutions rewrites all post…