Simple Content Restriction
Super-Quick ammend (1 post)

  1. Imaje
    Posted 4 years ago #


    First of all, great little plugin! Couldn't have asked for more.
    However I have only one tiny (and I mean tiny) ammend.

    In the function yidp_content, where you return the link to login to wordpress, don't forget to close off the tag.

    The return statement of the function should look like the following.

    return '<p><a href="' . wp_login_url( get_permalink() ) .'">' . $yidp_message. '</a></p>';

    I hope this helps!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Content Restriction
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic