Support » Plugin: Animate It! » Hide icon

  • Resolved catmaniax

    (@catmaniax)


    Hello! Great plugin!

    I’m using tinymce at the frontend and the Animate It icon is displayed there. I use the default wordpress editor at the backend.
    Is there a way to disable it since I do not want my visitors to see it?

    Please let me know.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author eleopard

    (@eleopard)

    Hello catmaniax,

    Thank you for using Animate It!.

    Regarding your question, There is no inbuilt feature in plugin to do that however, you can achieve this by putting the below code at the end of your theme’s functions.php file.

    
    function eds_remove_animateit_button( $buttons ) {
    	$index = array_search( 'edsanimate', $buttons );
    	if ( $index !== false ) { unset( $buttons[$index] ); }
    	return $buttons;
    }
    add_filter( 'mce_buttons', 'eds_remove_animateit_button', 100 );
    

    Please follow below instructions to do that:
    1. Login to WordPress Admin panel.
    2. Go to Appearance -> Editor.
    3. From the right panel, select “Theme Functions ( functions.php )” file to edit.
    4. Copy the code and paste it at the end of the file.
    5. Save the file.

    let us know if it works.

    Thanks, that worked great!

    Thanks for this 🙂

    Plugin Author eleopard

    (@eleopard)

    Glad to know it worked.
    If you find the plugin useful, please don’t forget to rate it 🙂

    • This reply was modified 2 years, 11 months ago by eleopard.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide icon’ is closed to new replies.