WordPress.org

Ready to get started?Download WordPress

Forums

WP Customer Reviews
Logged in Users Only (4 posts)

  1. upthegary
    Member
    Posted 2 years ago #

    Does anyone know how we can only allow logged in users to post reviews using this plugin.

    http://wordpress.org/extend/plugins/wp-customer-reviews/

  2. cinghaman
    Member
    Posted 2 years ago #

    you could do a conditional logic on this in your functions file

    <?php
    if ( is_user_logged_in()  ) {
       echo ' <style>
    
    	</style>';
    } else {
    
    	echo ' <style>
    	#whatever-the-plugin-id{
    			display:none;
    
    	}
    
    	</style>' ;
    }
    ?>

    I know this is not the cool way and there could be other options as well, but its a quick solution

  3. upthegary
    Member
    Posted 2 years ago #

    Thanks Robin but I need something that allows the user to be able to upload their image/avitar and my developer says we can't do it with the plugin.

  4. cinghaman
    Member
    Posted 2 years ago #

    you can use advance custom fields (ACF)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic