Infinite animated.css in Owl Carousel

	jQuery(".all_slides").owlCarousel({
		singleItem: true,
		pagination: false,
		autoPlay: 5000,
		theme: "homepage-slider-arrows",
		navigation: true,
		addClassActive: true,
		transitionStyle : "fade",
		navigationText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
		afterMove: previousslide,
		beforeMove: nextslide,
	});
	
	function previousslide() {
		jQuery(".owl-item.active .single_slider h2").addClass('animated bounce');
	}
	function nextslide() {
		 jQuery(".owl-item .single_slider h2").removeClass('animated bounce');
	}

Option tree demo theme option

<?php

add_action( 'admin_init', 'my_theme_custom_theme_options', 1 );


function my_theme_custom_theme_options() {

  $saved_settings = get_option( 'option_tree_settings', array() );
  

  $custom_settings = array(
    'contextual_help' => array(
      'content'       => array( 
        array(
          'id'        => 'general_help',
          'title'     => 'General',
          'content'   => '<p>Help content goes here!</p>'
        )
      ),
      'sidebar'       => '<p>Sidebar content goes here!</p>'
    ),
    'sections'        => array(
      array(
        'title'       => 'General',
        'id'          => 'general_default'
      )
    ),
    'settings'        => array(
      array(
        'label'       => 'News page Banner',
        'id'          => 'news_page_banner',
        'type'        => 'upload',
        'section'     => 'general_default'
      )
    )
  );
  

  $custom_settings = apply_filters( 'option_tree_settings_args', $custom_settings );
  

  if ( $saved_settings !== $custom_settings ) {
    update_option( 'option_tree_settings', $custom_settings ); 
  }
  
}

How to add favicon in wordpress website?

Make sure you used this before </head>

If you have favicon as .ico format, you can use this code.

<link type="image/x-icon" rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/img/favicon.ico">

If you have favicon as png image format, you can use this code. Make sure your favicon size is 16x16px

<link rel="shortcut icon" type="image/png" href="<?php echo get_template_directory_uri(); ?>/img/favicon.png"/>

You can register favicon via functions.php too. See this code

function my_theme_add_favicon(){ ?>
    <!-- Custom Favicons -->
    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri();?>/img/favicon.ico"/>
    <?php }
add_action('wp_head','my_theme_add_favicon');