Support » Theme: Cenote » Remove message being displayed to subscribers

  • When a person register to my site (subscriber) they see this popup on the dashboard.

    Howdy, user@gmail.com! It seems that you have been using this theme for more than 15 days. We hope you are happy with everything that the theme has to offer. If you can spare a minute, please help us by leaving a 5-star review on WordPress.org. By spreading the love, we can continue to develop new amazing features in the future, for free!

    This shouldn’t be displayed to subscriber, only to admin! Please Explain how to remove the message. thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @ctrlaltdelete,

    Can you please provide the site URL and if possible a screenshot so that I can see the issue first hand and provide you with the appropriate solution?

    Thanks and Regards,
    Ankit

    Thread Starter ctrlaltdelete

    (@ctrlaltdelete)

    Hello, the code is in your theme. If you must display that message at all check if the user is admin please.
    functions.php
    require get_template_directory() . '/inc/admin/class-cenote-theme-review-notice.php';
    cenote\inc\admin\class-cenote-theme-review-notice.php

    /**
    		 * Return from notice display if:
    		 *
    		 * 1. The theme installed is less than 15 days ago.
    		 * 2. If the user has ignored the message partially for 15 days.
    		 * 3. Dismiss always if clicked on 'I Already Did' button.
    		 */
    		if ( ( get_option( 'cenote_theme_installed_time' ) > strtotime( '-15 day' ) ) || ( $ignored_notice_partially > strtotime( '-15 day' ) ) || ( $ignored_notice ) ) {
    			return;
    		}
    		?>
    		<div class="notice notice-success cenote-notice theme-review-notice" style="position:relative;">
    			<p>
    				<?php
    				printf(
    				/* Translators: %1$s current user display name. */
    					esc_html__(
    						'Howdy, %1$s! It seems that you have been using this theme for more than 15 days. We hope you are happy with everything that the theme has to offer. If you can spare a minute, please help us by leaving a 5-star review on WordPress.org.  By spreading the love, we can continue to develop new amazing features in the future, for free!',
    						'cenote'
    					),
    					'<strong>' . esc_html( $current_user->display_name ) . '</strong>'
    				);
    				?>
    			</p>

    Hi @ctrlaltdelete,

    Thank you for pointing out the issue. We will surely look into it and shall have a discussion on this with our team and see what can be done for the same in the next theme update. So, thank you for your patience and understanding.

    Sincerely,
    Ankit
    ThemeGrill Support Team

    Thread Starter ctrlaltdelete

    (@ctrlaltdelete)

    Thanks i hope you decide non admins are simply users and have no reason to come here to leave reviews.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove message being displayed to subscribers’ is closed to new replies.