WordPress.org

Ready to get started?Download WordPress

Forums

Simple Content Restriction
Super-Quick ammend (1 post)

  1. Imaje
    Member
    Posted 2 years ago #

    Hello,

    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!

    http://wordpress.org/extend/plugins/your-id-please/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic