Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




teaser content

UserPost

7:45 am
May 13, 2010


j_stewart89

Member

posts 2

1

This is my first post and I really like this plugin.  I am trying to include PHP within the Teaser Comment for a login redirect.  However using the following does not render the "login" link but everything else.  Either I can't use the PHP in the comment field or I've constructed this incorrectly.  Thoughts or help would be great.

Sorry, you don't have access to this content.  Please <b><a href="/wp-login.php?redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>">log in</a> </b>or <a href="/contact-us">contact us</a> for help.


Jimmy


8:43 am
May 13, 2010


j_stewart89

Member

posts 2

2

figured out that I needed to include some sort of "don't format this" plugin like WP No Format.  Now I get the link to display but can't get the $_Server to pull the requesting URI, which is not a Role Scoper issue.



About the Agapetry forum

Currently Online:

15 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1185

Posts: 5380

Members:

There are 1176 members

There are 1 guests


Kevin has made 2386 posts

Top Posters:

metal450 - 152

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin