WordPress.org

Support

Support » Plugins and Hacks » Secret Content » [Plugin: Secret Content] redirect visitors to login page

[Plugin: Secret Content] redirect visitors to login page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author maxemil

    @maxemil

    Happy to hear it works as intended, if you are not logged in, there shouldent be any traces of the existance of the content.

    One way to do this, is to let your themes 404 page include a loginform if the visitor is not logged in – or simply write a message on the 404 template, that “oops did you expect more content here? try logging in first!”

    But I only want a login form on secret pages – not every error page. I think I’ll look for another solution. Thanks

    Plugin Author maxemil

    @maxemil

    The way the plugin works is to remove the content from the wordpress query if the visitor is not logged in.

    I would be able to do a “if content is marked secret, show a page anyways, but with a login form instead” .. Ill put it on the requests list, no timeframe right now though 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Secret Content] redirect visitors to login page’ is closed to new replies.
Skip to toolbar