WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Restrict Categories
How detect if a post is rectricted ? (1 post)

  1. phil_poitiers
    Member
    Posted 2 years ago #

    To ay I use this code to display the log form in my article

    <?php
    if (! is_user_logged_in() ) {
    wp_login_form();
    }
    ?>

    but the form is always display.
    How can I do to displayt it only when the article is restricted ?

    Thanks

    https://wordpress.org/plugins/restrict-categories/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Restrict Categories
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.