Change redirection link if new post is created
Viewing 3 Posts - 1 through 3 (of 3 total)
Author | Posts |
---|---|
April 21, 2015 at 9:39 pm 41947 | |
towhid | Hello,
After creating a new post in the frontend, the user should be redirected to the post he just created. I can set this in the WPUF settings, and it works fine.
I want to add a success message too, so I want to add "?action=newprofilecreated" to the url.
Already found a code for that in the WP forum of your plugin, tried to change it but it didn't work:
Any ideas why?
Thank you |
April 22, 2015 at 10:45 am 41984 | |
towhid | Hello Joshi, I need to know in which file you have tried out this code? Theme or plugin? ‘#newprofilecreated’ is indicate what? Thank you:) |
April 22, 2015 at 4:10 pm 42020 | |
joshi | Hello towhid, I put this code in the functions.php of the theme I have set the WPUF form to be redirected to the “newly created post”, which works fine.
Thank you |
April 25, 2015 at 5:05 pm 42233 | |
towhid | Hello Joshi, I am really sorry to say that Thank you 🙂 |
Viewing 3 Posts - 1 through 3 (of 3 total)