Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Hi Ahmed.
How cam we redirect someone to their profile after publishing a blog post from the frontend?
Right now everyone just stays put.
Thanks!
Sorry! I keep forgetting to check notify for follow-up! (wish it was pre-checked)
Add this : $output[‘redirect_uri’] = $userpro->permalink();
to ajax.php
Above:
wp_set_object_terms( $post_id, NULL, ‘category’ );
This should set redirect URL to profile after post is published.
That worked! Thank you! You’re awesome!
What happens when the plugin is updated? Will I lose this? Can you make a child plugin?
ALSO: While I have you, how can I add a button/buttons to this menu/area in the profile page:
See THIS POST: http://userproplugin.com/userpro/forums/topic/how-to-add-button/
You must be logged in to reply to this topic.