Add in-application documentation for the Login Required Message

Viewing 1 post (of 1 total)
#53951

Paul Osborn
Member

It’s a great feature….but It took me two hours to figures out how to customize the Login Required Message (in Basic Settings) in order to get the redirect – the request is fairly simple:

  1. Document the available shortcode handles in the UI – [loginform],[this_url], [package_url]. I had to dig deep into the code (line 147 in wpdm functions) before i discovered these handy-dandy handles!
  2. I felt that [this_url] should have given a fully-qualified domain name, but maybe that’s just me
  3. there’s a lot of HTML is what i came up with for what is surely a pretty basic requirement – to come back to where I started, so maybe add another handle or shortcode which handles all this extra stuff for you

Example code – seems a bit of an effort for a basic requirement:

<a class="required-login-msg" href="http://mydomain.com/wp-login.php?redirect_to=http://mydomain.com[this_url]">Free Registration is Required in Order to Download Resources</a>

Viewing 1 post (of 1 total)

The topic ‘Add in-application documentation for the Login Required Message’ is closed to new replies.