Home Tips & Tricks How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included

How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included

Applying by default a specific template to new posts, pages or custom post types seems like the fastest solution we can use to simplify workflows when it comes to quickly adding pages and posts that require less editing. See below how to do that programmatically with a simple snippet.

How to automatically set Elementor canvas template to new WordPress posts