Arrow

Hi, can we use WP's home tags instead of hard typing the domain? | Peter's Login Redirect | Forum

Back to the login redirect plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Hi, can we use WP's home tags instead of hard typing the domain?

Reply to Post Add a New Topic
UserPost

1:02 pm
October 13, 2011


dains

Guest

Looking to use site_home or network_home instead of hard-coding the redirect URLs. Is that possible?
Thanks for any help!
Dains

1:13 am
October 15, 2011


Peter

Admin

posts 732

Hi Dains,

At the moment that is not available out of the box. However, it would be a good addition for an upcoming version, so thanks for the suggestion!

In the meantime, if you are comfortable with PHP, please take a look at the function rul_get_variable in the plugin, as you should be able to add such a variable pretty easily in that function.

9:05 pm
October 15, 2011


dains

Guest

Thanks Peter, I will check it out! And also thanks for making this functionality available. WP wouldn't be half as useful without plugin authors like yourself. If I end up using the plugin in the final site, I'll pop a donation in as thanks for your effort :)

1:06 pm
November 6, 2011


Peter

Admin

posts 732

Just an update on this functionality: I've added siteurl and homeurl variables (in the syntax [variable]siteurl[/variable]) as well as support to write your own custom variable handling in version 2.3.0 of the plugin.

Reply to Post

Reply to Topic:
Hi, can we use WP's home tags instead of hard typing the domain?

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 11