get_template_directory_uri() . '/assets/images/bootstrap-x.png', 'random-default' => false, 'width' => 260, 'height' => 60, 'flex-height' => false, 'flex-width' => false, 'header-text' => false, 'uploads' => true, ); add_theme_support( 'custom-header', $header_args ); /*-----------------------------------------------------------------------------------*/ /* custom Background support */ /*-----------------------------------------------------------------------------------*/ $background_args = array( 'default-color' => 'f0f0f0', 'default-repeat' => 'fixed', 'default-image' => get_template_directory_uri() . '/assets/images/pattern.png', ); add_theme_support( 'custom-background', $background_args ); /*-----------------------------------------------------------------------------------*/ /* Breadcrumb */ /*-----------------------------------------------------------------------------------*/ function bootstrapx_breadcrumbs() { $showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show $delimiter = '/'; // delimiter between crumbs $home = ''; // text for the 'Home' link $showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show $before = '
  • '; // tag before the current crumb $after = '
  • '; // tag after the current crumb global $post; $homeLink = home_url(); if (is_home() || is_front_page()) { if ($showOnHome == 1) echo ''; } else { echo ''; } }