• Resolved Dani

    (@danicasati)


    I can’t remove annoying message to configure plugin in control panel.
    If I close message and refresh, message is displayed always.

    I’m using version 3.4 of the plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Sorry to hear of the problem you are having.

    The message gets removed permanently when you close it but it seems this is not happening on your site because for some reason the AJAX request which hides it doesn’t get completed.

    This can be due to javascript error occurred on your site or any other reason.

    To find out this you can try temporary deactivating all plugins except Add Search To Menu plugin and see whether admin message gets closed permanently and then enable the plugins again.

    Best regards,

    Thread Starter Dani

    (@danicasati)

    I can’t deactivate all plugins because this site is in production.

    Any code to hide it manually?

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Please try using below custom code by adding it in your theme functions.php file.

    function astm_custom_admin_head() {
    	echo '<style>.notice.notice-info.is-dismissible.ivory-search {display: none;}</style>';
    }
    add_action( 'admin_head', 'astm_custom_admin_head' );
    Thread Starter Dani

    (@danicasati)

    Added to FUNCTIONS.PHP, annoying message is still displayed.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    It should not display.

    Please try clearing your site cache and browser cache.

    Also please share me whole functions.php file code.

    Thread Starter Dani

    (@danicasati)

    Can I send to you in a private message?

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Sure you can. Just send me on vinoddalvi123[at]gmail.com

    Also have you tried clearing cache?

    Thread Starter Dani

    (@danicasati)

    I’ve sent to you.

    Thread Starter Dani

    (@danicasati)

    It works with this piece of code in FUNCTIONS.PHP:

    function astm_custom_admin_head() {
    	echo '<style>.notice.notice-info.is-dismissible.add-search-to-menu {display: none;}</style>';
    }
    add_action( 'admin_head', 'astm_custom_admin_head' );

    Thank you for support.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Glad it worked for you!

    Please advise if you have more questions.

    Have a fantastic day!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Annoying message in admin’ is closed to new replies.