• I’ve closed out of the “Thank you for installing Enigma ? Version 4.9.2 ,For More info about Premium Products & offers, Do visit our welcome page.” box at the top of every single admin page several times, and it keeps popping up with that distracting blue, animated notification. If you guys don’t fix this, I’m going to install a different theme and give bad feedback. This is ridonkulous, nobody does this!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Do you want to remove that banner?

    Please let us know clearly.

    Thanks.

    Thread Starter Halo Diehard

    (@halo-diehard)

    Yes, apologies, I thought I *was* clear. I do not want that advertisement banner constantly on every single one of my admin pages.

    How to permanently hide the “Thank you for installing Enigma” banner?

    Hi,

    Firstly make a child theme of the theme you have. Open functions file in the child theme directory go to last in this file and see the code below –

    function enigma_activation_notice(){
    	wp_enqueue_style('admin',  get_template_directory_uri() .'/core/admin/admin-themes.css');
    ?>
    <div class="notice notice-success is-dismissible"> 
    <p class="notice-text">
    <?php $theme_info = wp_get_theme();
    	  printf( esc_html__('Thank you for installing %1$s ? Version %2$s ,', 'enigma'), esc_html( $theme_info->Name ), esc_html( $theme_info->Version ) );		
    	  echo esc_html__( 'For More info  about Premium Products & offers, Do visit our welcome page.', 'enigma' ); ?>
    </p>
    <p class="notic-gif"><a class="pro" target="_self" href="<?php echo admin_url('/themes.php?page=enigma') ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/wlcm.gif"></a></p>
    </div>
    <?php } ?>

    Replace this code with the below code and save the file after done. Activate the child theme and check the banner.

    //function enigma_activation_notice(){
    	//wp_enqueue_style('admin',  get_template_directory_uri() .'/core/admin/admin-themes.css');
    ?>
    <!--<div class="notice notice-success is-dismissible"> 
    <p class="notice-text">
    <?php //$theme_info = wp_get_theme();
    	  // printf( esc_html__('Thank you for installing %1$s ? Version %2$s ,', 'enigma'), esc_html( $theme_info->Name ), esc_html( $theme_info->Version ) );		
    	  // echo esc_html__( 'For More info  about Premium Products & offers, Do visit our welcome page.', 'enigma' ); ?>
     </p>
     <p class="notic-gif"><a class="pro" target="_self" href="<?php// echo admin_url('/themes.php?page=enigma') ?>"><img src="<?php// echo get_template_directory_uri(); ?>/images/wlcm.gif"></a></p>
    </div> -->
    <?php// } ?>

    Let us know if any query.

    Thanks.

    Thread Starter Halo Diehard

    (@halo-diehard)

    HAHAHAHAHAHA! You’re hilarious. I’m not doing that. I have never, ever had any theme or plugin SPAM my WordPress admin pages like your theme is doing. It’s inappropriate. I will be removing your theme.

    I tried it and it worked. Thank you.

    • This reply was modified 5 years, 10 months ago by webstreet.

    Sorry I have an error:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘enigma_activation_notice’ not found or invalid function name in /home/space4more/public_html/catch/wp-includes/class-wp-hook.php on line 286

    Sorry I was wrong, not working. No longer have access to admin area. I deleted and starting again. I will use another theme.

    Hi webstreet, Halo Diehard

    If you want, then we can do it for you. For this please contact us here.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove constant “Get Premium” in notifications, or I remove Enigma’ is closed to new replies.