WordPress.org

Ready to get started?Download WordPress

Forums

s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
Restrict leaving comments but still read them (2 posts)

  1. Dastis1979
    Member
    Posted 2 months ago #

    I would like to be able to allow non-members to be able to read all comments but if they wish to leave one they need to register as a member.

    Can anybody help me to be able to do this?!

    Many thanks.

    Dan

    https://wordpress.org/plugins/s2member/

  2. Cristian Lavaque
    Member
    Plugin Author

    Posted 2 months ago #

    I guess you'd need to find the template with the comments block in your theme, and wrap that block's code with a conditional. WP Admin -> s2Member -> Scripting -> PHP Conditionals

    I hope that helps. :)

Reply

You must log in to post.

About this Plugin

About this Topic