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

  1. Dastis1979
    Posted 1 year 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.



  2. Cristián Lávaque
    Plugin Contributor

    Posted 1 year 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. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic