Tagged Questions
1
vote
1answer
55 views
WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php
I've been looking at the core code and noticed that most login ...
1
vote
0answers
52 views
Set static page/post from another blog on same network
I have a multisite project and have a small problem with static front page/post. In general i am looking for a way to choose a static page/post out of the whole network on my main blog. Now i'm not ...
2
votes
1answer
142 views
How to redirect to action on custom page within admin section
Currently I'm developing(well at least trying to;) plugin which will handle custom gallery of images. I stumbled upon one problem though. I'll try to picture it.
I've created custom menu page on ...
0
votes
1answer
101 views
Redirect user if they are not logged in
If user enters the url www.abc.com in the browser and he is not logged in, then we want to redirect him to www.abc.com/de. How can I do this within WordPress?
0
votes
1answer
100 views
template_redirect action only firing if logged in
add_action('template_redirect', 'add_header_redirect', 0, 0);
function add_header_redirect(){
if( is_page(array(8, 'testimonials', 'Testimonials')) ){
$default_testimonial = get_permalink( ...
2
votes
2answers
1k views
Which hook should be used to add an action containing a redirect?
I want to build a plugin that grabs certain url params from the query string to build a new query string for the same page. I'm following the excellent the Professional WordPress Plugin Development ...