Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #233026

    I’d like to completely disable Layer Slider and the google maps widget. Is that possible?

    #234617

    Hi Tali!

    1) To deactivate LayerSlider insert this code into the child theme functions.php file

    
    add_theme_support('deactivate_layerslider');
    

    2) Insert this code into the child theme functions.php file:

    
    	function avia_register_avia_widgets()
    	{
    		register_widget( 'avia_newsbox' );
    		register_widget( 'avia_portfoliobox' );
    		register_widget( 'avia_socialcount' );
    		register_widget( 'avia_combo_widget' );
    		register_widget( 'avia_partner_widget' );
    	}
    	avia_register_avia_widgets(); //call the function immediatly to activate
    

    or open up enfold/functions.php and delete one code line

    
    register_widget( 'avia_google_maps' );
    

    Regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.