I would like to redirect this page wp-login.php to /login page. So when a user […]
Tag: template-redirect
Include a file before current template file
I would like to include two files before and after current template. I am using […]
Template redirect template loaded, but the header 404
I’ve created a template redirect for a given url, ex.: test.com/test Test is page is […]
Pre-Populate $wp_query settings with custom rewrite rules and custom template_redirect
I’m currently working on a file browser plugin which requires frontend editing capabilities for a […]
wp_head() not including styles and javascripts after a template redirect
I am using the template_redirect action to redirect a user to a custom template which […]
Proper method to restrict non logged users into certain pages
I was wondering which is the correct method to do this and which action hook […]
template_include (overriding default plugin templates via current theme)
This is an extension of this question/answer. A comment on that question references that template_include […]
Want to redirect if search query match exact title of any post
I am using WordPress 3.3.1 and new to this system. I want to redirect the […]
Custom Post Types and template_redirect
I have two custom post types (e.g. post_type_1 and post_type_2) that I would like to […]
single-{$post_type}-{slug}.php for custom post types
My favorite part of the WordPress template hierarchy is the ability to quickly create template […]
No More Posts Available.
No more pages to load.