Viewing 2 replies - 1 through 2 (of 2 total)
  • I use a plugin called Restrict Page. It works wonderfully for this. You can simply restrict the page (option is at bottom of created post) and the users will be prompted to log in.

    Plugin Author Jeff Starr

    (@specialk)

    Here is how to do it via theme template:

    <?php if (is_user_logged_in()) {
    	// put the usp tag here
    } else {
    	// not logged in, do something else
    } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘restriction on posts’ is closed to new replies.