Don’t use template_redirect to load an alternative template file
template_redirect is a popular WordPress hook, for good reason. When it runs, WordPress has made its main query. All objects have been instantiated, but no output has been sent to the browser. It is your last stop to hook in and redirect the user somewhere else, and the best place to do so if you … Continue reading Don’t use template_redirect to load an alternative template file
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed