• starscr34m84

    (@starscr34m84)


    Hi WordPress people.

    I am looking for a plugin that will enable me to login or register a user when he clicks on certain links on my home page.

    When a user types in https://www.eg.com it will take him to my home page with all the content and links displayed, but I want only certain links to require a user to login or register, and some links will be freely available for the public to view.

    When the user logs in he can then view all the links.

    Do you have any plugins like that?

    Thankyou very much

Viewing 6 replies - 1 through 6 (of 6 total)
  • Roy

    (@gangleri)

    You can password protect individual pages (and posts) with WP without plugin.
    [edit] But you have to give a password then yourself, there is no redirecting to the WP login page (I think).

    Thread Starter starscr34m84

    (@starscr34m84)

    Thank you, but i need my users to register or login before they view certain pages. pls help

    Thread Starter starscr34m84

    (@starscr34m84)

    I want a login / register plugin that apply to only certain pages on my website.

    Thread Starter starscr34m84

    (@starscr34m84)

    Its ok, i found what i was looking for.

    https://sivel.net/2008/08/page-restrict/

    It works great.

    I underestimated the power of Google. ??

    gigot

    (@gigot)

    One solution :
    You Must activate the plugin execphp then
    You have to add in the the posts, pages, …
    <?php
    global $user_level;
    if (!isset($user_level) :
    ?>
    <h2>You must be connected to read this!</h2>
    <?php
    else:
    ?>
    blablabla….

    Thread Starter starscr34m84

    (@starscr34m84)

    ok thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin for protecting pages’ is closed to new replies.