Soporte » Buscar » Resultados de búsqueda para 'wpo'

Viendo 15 resultados - del 181 al 195 (de un total de 235)
    • Qué tal, tengo un serio problema con mi sitio web. Es: https://espirulinaperu.com , el tema es Vantage y dice que es compatible con Woocommerce. Sin embargo, tengo problemas, porque no me aparece la página /carro (ni /cart ni nada), ni tampoco la clásica /mi-cuenta ni otras que sí tengo en otras páginas donde también he usado Woocommerce.

      No sé si hay un problema con los Enlaces permanentes, a mí me sale todo bien, el código de functions.php es:

      <?php
      /**
       * vantage functions and definitions
       *
       * @package vantage
       * @since vantage 1.0
       * @license GPL 2.0
       */
      
      define( 'SITEORIGIN_THEME_VERSION' , '1.2' );
      define( 'SITEORIGIN_THEME_ENDPOINT' , 'http://updates.siteorigin.com' );
      
      if( file_exists( get_template_directory() . '/premium/functions.php' ) ){
      	include get_template_directory() . '/premium/functions.php';
      }
      else {
      	include get_template_directory() . '/upgrade/upgrade.php';
      }
      
      // Include all the SiteOrigin extras
      include get_template_directory() . '/extras/settings/settings.php';
      include get_template_directory() . '/extras/premium/premium.php';
      include get_template_directory() . '/extras/update/update.php';
      include get_template_directory() . '/extras/adminbar/adminbar.php';
      include get_template_directory() . '/extras/plugin-activation/plugin-activation.php';
      include get_template_directory() . '/extras/metaslider/metaslider.php';
      
      // Load the theme specific files
      include get_template_directory() . '/inc/panels.php';
      include get_template_directory() . '/inc/settings.php';
      include get_template_directory() . '/inc/extras.php';
      include get_template_directory() . '/inc/template-tags.php';
      include get_template_directory() . '/inc/gallery.php';
      include get_template_directory() . '/inc/metaslider.php';
      include get_template_directory() . '/inc/widgets.php';
      include get_template_directory() . '/inc/menu.php';
      include get_template_directory() . '/inc/woocommerce.php';
      
      if ( ! function_exists( 'vantage_setup' ) ) :
      /**
       * Sets up theme defaults and registers support for various WordPress features.
       *
       * Note that this function is hooked into the after_setup_theme hook, which runs
       * before the init hook. The init hook is too late for some features, such as indicating
       * support post thumbnails.
       *
       * @since vantage 1.0
       */
      function vantage_setup() {
      	// Initialize SiteOrigin settings
      	siteorigin_settings_init();
      
      	// Make the theme translatable
      	load_theme_textdomain( 'vantage', get_template_directory() . '/languages' );
      
      	// Add default posts and comments RSS feed links to head
      	add_theme_support( 'automatic-feed-links' );
      
      	// Enable support for Post Thumbnails
      	add_theme_support( 'post-thumbnails' );
      
      	add_theme_support( 'siteorigin-panels', array(
      		'home-page' => true,
      		'margin-bottom' => 35,
      		'home-page-default' => 'default-home',
      		'home-demo-template' => 'home-panels.php',
      		'responsive' => siteorigin_setting( 'layout_responsive' ),
      	) );
      
      	// This theme uses wp_nav_menu() in one location.
      	register_nav_menus( array(
      		'primary' => __( 'Primary Menu', 'vantage' ),
      	) );
      
      	// Enable support for Post Formats
      	add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) );
      
      	// We support WooCommerce
      	add_theme_support('woocommerce');
      	// define('WOOCOMMERCE_USE_CSS', false);
      
      	set_post_thumbnail_size(720, 380, true);
      	add_image_size('vantage-thumbnail-no-sidebar', 1080, 380, true);
      	add_image_size('vantage-slide', 960, 480, true);
      	add_image_size('vantage-carousel', 272, 182, true);
      	add_image_size('vantage-grid-loop', 436, 272, true);
      
      	if( !defined('SITEORIGIN_PANELS_VERSION') && !siteorigin_plugin_activation_is_activating('siteorigin-panels') ){
      		// Only include panels lite if the panels plugin doesn't exist
      		include get_template_directory() . '/extras/panels-lite/panels-lite.php';
      	}
      
      	add_theme_support('siteorigin-premium-teaser', array(
      		'customizer' => true,
      		'settings' => true,
      	));
      
      	global $content_width, $vantage_site_width;
      	if ( ! isset( $content_width ) ) $content_width = 720; /* pixels */
      
      	if ( ! isset( $vantage_site_width ) ) {
      		$vantage_site_width = siteorigin_setting('layout_bound') == 'full' ? 1080 : 1010;
      	}
      }
      endif; // vantage_setup
      add_action( 'after_setup_theme', 'vantage_setup' );
      
      /**
       * Setup the WordPress core custom background feature.
       *
       * @since vantage 1.0
       */
      function vantage_register_custom_background() {
      
      	if(siteorigin_setting('layout_bound') == 'boxed') {
      		$args = array(
      			'default-color' => 'e8e8e8',
      			'default-image' => '',
      		);
      
      		$args = apply_filters( 'vantage_custom_background_args', $args );
      		add_theme_support( 'custom-background', $args );
      	}
      
      }
      add_action( 'after_setup_theme', 'vantage_register_custom_background' );
      
      /**
       * Register widgetized area and update sidebar with default widgets
       *
       * @since vantage 1.0
       */
      function vantage_widgets_init() {
      	register_sidebar( array(
      		'name' => __( 'Sidebar', 'vantage' ),
      		'id' => 'sidebar-1',
      		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
      		'after_widget' => '</aside>',
      		'before_title' => '<h3 class="widget-title">',
      		'after_title' => '</h3>',
      	) );
      
      	register_sidebar( array(
      		'name' => __( 'Footer', 'vantage' ),
      		'id' => 'sidebar-footer',
      		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
      		'after_widget' => '</aside>',
      		'before_title' => '<h3 class="widget-title">',
      		'after_title' => '</h3>',
      	) );
      
      	register_sidebar( array(
      		'name' => __( 'Header', 'vantage' ),
      		'id' => 'sidebar-header',
      		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
      		'after_widget' => '</aside>',
      		'before_title' => '<h3 class="widget-title">',
      		'after_title' => '</h3>',
      	) );
      }
      add_action( 'widgets_init', 'vantage_widgets_init' );
      
      function vantage_print_styles(){
      	if( !siteorigin_setting('layout_responsive') ) return;
      
      	// Create the footer widget CSS
      	$sidebars_widgets = wp_get_sidebars_widgets();
      	$count = isset($sidebars_widgets['sidebar-footer']) ? count($sidebars_widgets['sidebar-footer']) : 1;
      	$count = max($count,1);
      
      	?>
      	<style type="text/css" media="screen">
      		#footer-widgets .widget { width: <?php echo round(100/$count,3) . '%' ?>; }
      		@media screen and (max-width: 640px) {
      			#footer-widgets .widget { width: auto; float: none; }
      		}
      	</style>
      	<?php
      }
      add_action('wp_head', 'vantage_print_styles', 11);
      
      /**
       * Register all the bundled scripts
       */
      function vantage_register_scripts(){
      	wp_register_script( 'flexslider' , get_template_directory_uri() . '/js/jquery.flexslider.min.js' , array('jquery'), '2.1' );
      	wp_register_script( 'fitvids' , get_template_directory_uri() . '/js/jquery.fitvids.min.js' , array('jquery'), '1.0' );
      }
      add_action( 'wp_enqueue_scripts', 'vantage_register_scripts' , 5);
      
      /**
       * Enqueue scripts and styles
       */
      function vantage_scripts() {
      	wp_enqueue_style( 'vantage-style', get_stylesheet_uri(), array(), SITEORIGIN_THEME_VERSION );
      	wp_enqueue_script( 'vantage-main' , get_template_directory_uri() . '/js/jquery.theme-main.min.js', array('jquery', 'flexslider', 'fitvids'), SITEORIGIN_THEME_VERSION );
      	wp_enqueue_style( 'vantage-fontawesome', get_template_directory_uri().'/fontawesome/css/font-awesome.css', array(), '3.2.1' );
      
      	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
      		wp_enqueue_script( 'comment-reply' );
      	}
      
      	if ( is_singular() && wp_attachment_is_image() ) {
      		wp_enqueue_script( 'keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.min.js', array( 'jquery' ), '20120202' );
      	}
      }
      add_action( 'wp_enqueue_scripts', 'vantage_scripts' );
      
      /**
       * Enqueue any webfonts we need
       */
      function vantage_web_fonts(){
      	if( !siteorigin_setting('logo_image') ) {
      		wp_enqueue_style('vantage-google-webfont-roboto', 'http://fonts.googleapis.com/css?family=Roboto:300');
      	}
      }
      add_action( 'wp_enqueue_scripts', 'vantage_scripts' );
      
      /**
       * Add custom body classes.
       *
       * @param $classes
       * @package vantage
       * @since 1.0
       */
      function vantage_body_class($classes){
      	if( siteorigin_setting('layout_responsive') ) $classes[] = 'responsive';
      	$classes[] = 'layout-'.siteorigin_setting('layout_bound');
      	$classes[] = 'no-js';
      
      	if( !is_active_sidebar('sidebar-1') ) {
      		$classes[] = 'no-sidebar';
      	}
      
      	if( wp_is_mobile() ) {
      		$classes[] = 'mobile-device';
      	}
      
      	if(siteorigin_setting('navigation_menu_search')) {
      		$classes[] = 'has-menu-search';
      	}
      
      	return $classes;
      }
      add_filter('body_class', 'vantage_body_class');
      
      function vantage_wp_head(){
      	?>
      	<!--[if lt IE 9]>
      		<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
      	<![endif]-->
      	<!--[if (gte IE 6)&(lte IE 8)]>
      		<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/selectivizr.js"></script>
      	<![endif]-->
      	<?php
      }
      add_action('wp_head', 'vantage_wp_head');
      
      /**
       * Display some text in the text area.
       */
      function vantage_top_text_area(){
      	echo wp_kses_post( siteorigin_setting('logo_header_text') );
      }
      add_action('vantage_support_text', 'vantage_top_text_area');
      
      /**
       * Display the scroll to top link.
       */
      function vantage_back_to_top() {
      	if( !siteorigin_setting('navigation_display_scroll_to_top') ) return;
      	?><a href="#" id="scroll-to-top"><?php __('Back To Top', 'vantage') ?></a><?php
      }
      add_action('wp_footer', 'vantage_back_to_top');
      
      /**
       * @return mixed
       */
      function vantage_get_query_variables(){
      	global $wp_query;
      	$vars = $wp_query->query_vars;
      	foreach($vars as $k => $v) {
      		if(empty($vars[$k])) unset ($vars[$k]);
      	}
      	unset($vars['update_post_term_cache']);
      	unset($vars['update_post_meta_cache']);
      	unset($vars['cache_results']);
      	unset($vars['comments_per_page']);
      
      	return $vars;
      }
      
      /**
       * Render the slider.
       */
      function vantage_render_slider(){
      
      	if( is_front_page() && siteorigin_setting('home_slider') != 'none' ) {
      		$settings_slider = siteorigin_setting('home_slider');
      
      		if(!empty($settings_slider)) {
      			$slider = $settings_slider;
      		}
      	}
      
      	if( is_page() && get_post_meta(get_the_ID(), 'vantage_metaslider_slider', true) != 'none' ) {
      		$page_slider = get_post_meta(get_the_ID(), 'vantage_metaslider_slider', true);
      		if( !empty($page_slider) ) {
      			$slider = $page_slider;
      		}
      	}
      
      	if( empty($slider) ) return;
      
      	global $vantage_is_main_slider;
      	$vantage_is_main_slider = true;
      
      	?><div id="main-slider" <?php if( siteorigin_setting('home_slider_stretch') ) echo 'data-stretch="true"' ?>><?php
      
      	if($slider == 'demo') get_template_part('slider/demo');
      	elseif( substr($slider, 0, 5) == 'meta:' ) {
      		list($null, $slider_id) = explode(':', $slider);
      		$slider_id = intval($slider_id);
      
      		echo do_shortcode("[metaslider id=" . $slider_id . "]");
      	}
      
      	?></div><?php
      	$vantage_is_main_slider = false;
      }
      
      function vantage_post_class_filter($classes){
      	$classes[] = 'post';
      
      	if( has_post_thumbnail() && !is_singular() ) {
      		$classes[] = 'post-with-thumbnail';
      		$classes[] = 'post-with-thumbnail-' . siteorigin_setting('blog_featured_image_type');
      	}
      
      	$classes = array_unique($classes);
      	return $classes;
      }
      add_filter('post_class', 'vantage_post_class_filter');
      
      /**
       * Filter the posted on parts to remove the ones disabled in settings.
       *
       * @param $parts
       * @return mixed
       */
      function vantage_filter_vantage_post_on_parts($parts){
      	if(!siteorigin_setting('blog_post_author')) $parts['by'] = '';
      	if(!siteorigin_setting('blog_post_date')) $parts['on'] = '';
      
      	return $parts;
      }
      add_filter('vantage_post_on_parts', 'vantage_filter_vantage_post_on_parts');
      
      /**
       * Get the site width.
       *
       * @return int The side width in pixels.
       */
      function vantage_get_site_width(){
      	return apply_filters('vantage_site_width', !empty($GLOBALS['vantage_site_width']) ? $GLOBALS['vantage_site_width'] : 1080);
      }
      
      /**
       * Add the responsive header
       */
      function vantage_responsive_header(){
      	if( siteorigin_setting('layout_responsive') ) {
      		?><meta name="viewport" content="width=device-width, initial-scale=1" /><?php
      	}
      	else {
      		?><meta name="viewport" content="width=1280" /><?php
      	}
      }
      add_action('wp_head', 'vantage_responsive_header');

      Quisiera saber si hay algo que está funcionando mal o algo qeu pueda hacer para solucionar este problema. Es urgente, gracias!!!

    Iniciador del debate adrianmontero17

    (@adrianmontero17)

    este es mi archivo header.php , podriais decirme donde tengo que cambiar la url del logo de la cabecera porfavor:

    <!DOCTYPE html>
    <html xmlns=»http<?php echo (is_ssl())? ‘s’ : »; ?>://www.w3.org/1999/xhtml» <?php language_attributes(); ?>>
    <head>
    <meta http-equiv=»X-UA-Compatible» content=»IE=edge,chrome=1″ />

    <meta http-equiv=»Content-Type» content=»text/html; charset=utf-8″/>

    <title>
    <?php
    if ( defined(‘WPSEO_VERSION’) ) {
    wp_title(»);
    } else {
    bloginfo(‘name’); ?> <?php wp_title(‘ – ‘, true, ‘left’);
    }
    ?>
    </title>

    <?php global $data; ?>

    <?php $theme_info = wp_get_theme();
    if ($theme_info->parent_theme) {
    $template_dir = basename(get_template_directory());
    $theme_info = wp_get_theme($template_dir);
    }
    ?>
    <style type=»text/css»><?php echo $theme_info->get( ‘Name’ ) . «_» . $theme_info->get( ‘Version’ ); ?>{color:green;}</style>

    <?php $GLOBALS[‘backup_wp_query’] = $wp_query; ?>

    <?php if($data[‘google_body’] && $data[‘google_body’] != ‘Select Font’): ?>
    <?php $gfont[urlencode($data[‘google_body’])] = ‘»‘ . urlencode($data[‘google_body’]) . ‘:400,400italic,700,700italic:latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese»‘; ?>
    <?php endif; ?>

    <?php if($data[‘google_nav’] && $data[‘google_nav’] != ‘Select Font’ && $data[‘google_nav’] != $data[‘google_body’]): ?>
    <?php $gfont[urlencode($data[‘google_nav’])] = ‘»‘ . urlencode($data[‘google_nav’]) . ‘:400,400italic,700,700italic:latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese»‘; ?>
    <?php endif; ?>

    <?php if($data[‘google_headings’] && $data[‘google_headings’] != ‘Select Font’ && $data[‘google_headings’] != $data[‘google_body’] && $data[‘google_headings’] != $data[‘google_nav’]): ?>
    <?php $gfont[urlencode($data[‘google_headings’])] = ‘»‘ . urlencode($data[‘google_headings’]) . ‘:400,400italic,700,700italic:latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese»‘; ?>
    <?php endif; ?>

    <?php if($data[‘google_footer_headings’] && $data[‘google_footer_headings’] != ‘Select Font’ && $data[‘google_footer_headings’] != $data[‘google_body’] && $data[‘google_footer_headings’] != $data[‘google_nav’] && $data[‘google_footer_headings’] != $data[‘google_headings’]): ?>
    <?php $gfont[urlencode($data[‘google_footer_headings’])] = ‘»‘ . urlencode($data[‘google_footer_headings’]) . ‘:400,400italic,700,700italic:latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese»‘; ?>
    <?php endif; ?>

    <?php if($gfont): ?>
    <?php
    if(is_array($gfont) && !empty($gfont)) {
    $gfonts = implode($gfont, ‘, ‘);
    }
    ?>
    <?php endif; ?>
    <script type=»text/javascript»>
    WebFontConfig = {
    <?php if(!empty($gfonts)): ?>google: { families: [ <?php echo $gfonts; ?> ] },<?php endif; ?>
    custom: { families: [‘FontAwesome’], urls: [‘<?php bloginfo(‘template_directory’); ?>/fonts/fontawesome.css’] }
    };
    (function() {
    var wf = document.createElement(‘script’);
    wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’) +
    ‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’;
    wf.type = ‘text/javascript’;
    wf.async = ‘true’;
    var s = document.getElementsByTagName(‘script’)[0];
    s.parentNode.insertBefore(wf, s);
    })();
    </script>

    <?php
    wp_deregister_style( ‘style-css’ );
    wp_register_style( ‘style-css’, get_stylesheet_uri() );
    wp_enqueue_style( ‘style-css’ );
    ?>
    <!–[if lte IE 8]>
    <link rel=»stylesheet» href=»<?php bloginfo(‘template_directory’); ?>/css/ie8.css» />
    <![endif]–>

    <!–[if IE]>
    <link rel=»stylesheet» href=»<?php bloginfo(‘template_directory’); ?>/css/ie.css» />
    <![endif]–>

    <?php global $data,$woocommerce; ?>

    <?php
    if(is_page(‘header-2’)) {
    $data[‘header_right_content’] = ‘Social Links’;
    if($data[‘scheme_type’] == ‘Dark’) {
    $data[‘header_top_bg_color’] = ‘#29292a’;
    $data[‘header_icons_color’] = ‘Light’;
    $data[‘snav_color’] = ‘#ffffff’;
    $data[‘header_top_first_border_color’] = ‘#3e3e3e’;
    } else {
    $data[‘header_top_bg_color’] = ‘#ffffff’;
    $data[‘header_icons_color’] = ‘Dark’;
    $data[‘snav_color’] = ‘#747474’;
    $data[‘header_top_first_border_color’] = ‘#efefef’;

    }
    } elseif(is_page(‘header-3’)) {
    $data[‘header_right_content’] = ‘Social Links’;
    } elseif(is_page(‘header-4’)) {
    $data[‘header_left_content’] = ‘Social Links’;
    $data[‘header_right_content’] = ‘Navigation’;
    } elseif(is_page(‘header-5’)) {
    $data[‘header_right_content’] = ‘Social Links’;
    }
    ?>

    <?php if($data[‘responsive’]): ?>
    <?php $isiPad = (bool) strpos($_SERVER[‘HTTP_USER_AGENT’],’iPad’);
    if(!$isiPad || !$data[‘ipad_potrait’]): ?>
    <meta name=»viewport» content=»width=device-width, initial-scale=1, maximum-scale=1″ />
    <?php endif; ?>
    <?php
    wp_deregister_style( ‘media-css’ );
    wp_register_style( ‘media-css’, get_bloginfo(‘template_directory’).’/css/media.css’, array(), null, ‘all’);
    wp_enqueue_style( ‘media-css’ );
    ?>
    <?php if(!$data[‘ipad_potrait’]): ?>
    <?php
    wp_deregister_style( ‘ipad-css’ );
    wp_register_style( ‘ipad-css’, get_bloginfo(‘template_directory’).’/css/ipad.css’, array(), null, ‘all’);
    wp_enqueue_style( ‘ipad-css’ );
    ?>
    <?php if (is_tablet($_SERVER[‘HTTP_USER_AGENT’])): ?>
    <style type=»text/css»>
    .mobile-topnav-holder {
    padding-top: 10px!important;
    padding-bottom: 10px!important;
    }
    </style>
    <?php endif; ?>
    <?php else: ?>
    <style type=»text/css»>
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
    #wrapper .ei-slider{width:100% !important;}
    }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape){
    #wrapper .ei-slider{width:100% !important;}
    }
    </style>
    <?php endif; ?>
    <?php else: ?>
    <style type=»text/css»>
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px){
    #wrapper .ei-slider{width:100% !important;}
    }
    </style>
    <?php $isiPhone = (bool) strpos($_SERVER[‘HTTP_USER_AGENT’],’iPhone’);
    if($isiPhone):
    ?>
    <style type=»text/css»>
    @media only screen and (min-device-width : 320px) and (max-device-width : 480px){
    #wrapper .ei-slider{width:100% !important;}
    }
    </style>
    <?php endif; ?>
    <?php endif; ?>

    <?php if(!$data[‘use_animate_css’]): ?>
    <?php if(wp_is_mobile()): ?>
    <?php if(!$data[‘disable_mobile_animate_css’]):
    wp_deregister_style( ‘animate-css’ );
    wp_register_style( ‘animate-css’, get_bloginfo(‘template_directory’).’/css/animate-custom.css’, array(), null, ‘all’);
    wp_enqueue_style( ‘animate-css’ );
    ?>
    <style type=»text/css»>
    .animated { visibility:hidden;}
    </style>
    <?php else: ?>
    <style type=»text/css»>
    .animated { visibility:visible;}
    </style>
    <?php endif; ?>
    <?php else:
    wp_deregister_style( ‘animate-css’ );
    wp_register_style( ‘animate-css’, get_bloginfo(‘template_directory’).’/css/animate-custom.css’, array(), null, ‘all’);
    wp_enqueue_style( ‘animate-css’ );
    ?>
    <style type=»text/css»>
    .animated { visibility:hidden;}
    </style>
    <?php endif; ?>
    <?php else: ?>
    <style type=»text/css»>
    .animated { visibility:visible;}
    </style>
    <?php endif; ?>

    <!–[if lt IE 10]>
    <style type=»text/css»>
    .animated { visibility:visible;}
    </style>
    <![endif]–>

    <?php if (is_tablet($_SERVER[‘HTTP_USER_AGENT’])): ?>
    <style type=»text/css»>
    #wrapper {overflow: hidden !important;}
    </style>
    <?php endif; ?>

    <?php if (is_tablet($_SERVER[‘HTTP_USER_AGENT’]) && !$data[‘header_sticky_tablet’]): ?>
    <style type=»text/css»>
    body #header-sticky.sticky-header,body #header-sticky.sticky-header.sticky{display:none !important;}
    </style>
    <?php endif; ?>

    <?php if(wp_is_mobile()): ?>
    <style type=»text/css»>
    .fullwidth-box { background-attachment: scroll !important; }
    </style>
    <?php if(!$data[‘status_totop_mobile’]): ?>
    <style type=»text/css»>
    #toTop {display: none !important;}
    </style>
    <?php else: ?>
    <style type=»text/css»>
    #toTop {bottom: 30px !important; border-radius: 4px !important; height: 28px; padding-bottom:10px !important; line-height:28px; z-index: 10000;}
    #toTop:hover {background-color: #333333 !important;}
    </style>
    <?php endif; ?>
    <?php endif; ?>

    <?php if(wp_is_mobile() && $data[‘mobile_slidingbar_widgets’]): ?>
    <style type=»text/css»>
    #slidingbar-area{display:none !important;}
    </style>
    <?php endif; ?>
    <?php if(wp_is_mobile() && !$data[‘header_sticky_mobile’] && !is_tablet($_SERVER[‘HTTP_USER_AGENT’])): ?>
    <style type=»text/css»>
    body #header-sticky.sticky-header,body #header-sticky.sticky-header.sticky{display:none !important;}
    </style>
    <?php endif; ?>

    <?php if(wp_is_mobile() && !is_tablet($_SERVER[‘HTTP_USER_AGENT’])): ?>
    <style type=»text/css»>
    .header-v5 #header .logo { float: none !important; }
    </style>
    <?php endif; ?>

    <?php if($data[‘favicon’]): ?>
    <link rel=»shortcut icon» href=»<?php echo $data[‘favicon’]; ?>» type=»image/x-icon» />
    <?php endif; ?>

    <?php if($data[‘iphone_icon’]): ?>
    <!– For iPhone –>
    <link rel=»apple-touch-icon-precomposed» href=»<?php echo $data[‘iphone_icon’]; ?>»>
    <?php endif; ?>

    <?php if($data[‘iphone_icon_retina’]): ?>
    <!– For iPhone 4 Retina display –>
    <link rel=»apple-touch-icon-precomposed» sizes=»114×114″ href=»<?php echo $data[‘iphone_icon_retina’]; ?>»>
    <?php endif; ?>

    <?php if($data[‘ipad_icon’]): ?>
    <!– For iPad –>
    <link rel=»apple-touch-icon-precomposed» sizes=»72×72″ href=»<?php echo $data[‘ipad_icon’]; ?>»>
    <?php endif; ?>

    <?php if($data[‘ipad_icon_retina’]): ?>
    <!– For iPad Retina display –>
    <link rel=»apple-touch-icon-precomposed» sizes=»144×144″ href=»<?php echo $data[‘ipad_icon_retina’]; ?>»>
    <?php endif; ?>

    <?php if($data[‘status_totop’]): ?>
    <style type=»text/css»>
    #toTop {display: none !important;}
    </style>
    <?php endif; ?>

    <?php wp_head(); ?>

    <?php
    if((get_option(‘show_on_front’) && get_option(‘page_for_posts’) && is_home()) ||
    (get_option(‘page_for_posts’) && is_archive() && !is_post_type_archive()) && !(is_tax(‘product_cat’) || is_tax(‘product_tag’)) || (get_option(‘page_for_posts’) && is_search())) {
    $c_pageID = get_option(‘page_for_posts’);
    } else {
    if(isset($post)) {
    $c_pageID = $post->ID;
    }

    if(class_exists(‘Woocommerce’)) {
    if(is_shop() || is_tax(‘product_cat’) || is_tax(‘product_tag’)) {
    $c_pageID = get_option(‘woocommerce_shop_page_id’);
    }
    }
    }
    ?>

    <!–[if lte IE 8]>
    <script type=»text/javascript»>
    jQuery(document).ready(function() {
    var imgs, i, w;
    var imgs = document.getElementsByTagName( ‘img’ );
    for( i = 0; i < imgs.length; i++ ) {
    w = imgs[i].getAttribute( ‘width’ );
    imgs[i].removeAttribute( ‘width’ );
    imgs[i].removeAttribute( ‘height’ );
    }
    });
    </script>
    <![endif]–>
    <script type=»text/javascript»>
    /*@cc_on
    @if (@_jscript_version == 10)
    document.write(‘<style type=»text/css»>.avada-select-parent .avada-select-arrow,.select-arrow{height:33px;<?php if($data[‘form_bg_color’]): ?>background-color:<?php echo $data[‘form_bg_color’]; ?> !important;<?php endif; ?>}.search input{padding-left:5px;}header .tagline{margin-top:3px !important;}.star-rating span:before {letter-spacing: 0;}.avada-select-parent .avada-select-arrow,.gravity-select-parent .select-arrow,.wpcf7-select-parent .select-arrow,.select-arrow{background: #fff;}.star-rating{width: 5.2em!important;}.star-rating span:before {letter-spacing: 0.1em!important;}</style>’);
    @*/

    var doc = document.documentElement;
    doc.setAttribute(‘data-useragent’, navigator.userAgent);

    <?php
    $lang = »;
    if(defined(‘ICL_LANGUAGE_CODE’)) {
    global $sitepress;
    if(ICL_LANGUAGE_CODE != ‘en’ && ICL_LANGUAGE_CODE != ‘all’) {
    $lang = ‘_’.ICL_LANGUAGE_CODE;
    if(!get_option($theme_name.’_options’.$lang)) {
    update_option($theme_name.’_options’.$lang, get_option($theme_name.’_options’));
    }
    } elseif( ICL_LANGUAGE_CODE == ‘all’ ) {
    $lang = ‘_’ . $sitepress->get_default_language();
    } else {
    $lang = »;
    }
    }

    ob_start();
    include_once get_template_directory() . ‘/framework/dynamic_js.php’;
    $dynamic_js = ob_get_contents();
    ob_get_clean();

    echo $dynamic_js;

    ?>
    </script>

    <?php
    //IE11
    if (strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Trident/7.0; rv:11.0’) !== false): ?>
    <style type=»text/css»>
    .post-content p {white-space:pre-wrap!important;}
    .avada-select-parent .avada-select-arrow,.select-arrow, .gravity-select-parent .select-arrow{height:33px;<?php if($data[‘form_bg_color’]): ?>background-color:<?php echo $data[‘form_bg_color’]; ?> !important;<?php endif; ?>}
    </style>
    <?php endif; ?>

    <?php
    //IE10
    ?>
    <style type=»text/css»>
    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .avada-select-parent .avada-select-arrow, .select-arrow, .gravity-select-parent .select-arrow{height:33px;<?php if($data[‘form_bg_color’]): ?>background-color:<?php echo $data[‘form_bg_color’]; ?> !important;<?php endif; ?>}
    }
    </style>

    <style type=»text/css»>
    <?php
    ob_start();
    include_once get_template_directory() . ‘/framework/dynamic_css.php’;
    $dynamic_css = ob_get_contents();
    ob_get_clean();

    if( is_page(‘header-2’) || is_page(‘header-3’) || is_page(‘header-4’) || is_page(‘header-5’) ) {
    $header_demo = true;
    } else {
    $header_demo = false;
    }

    echo $dynamic_css;
    ?>
    <?php if($data[‘layout’] == ‘Boxed’): ?>
    body{
    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_color’, true)): ?>
    background-color:<?php echo get_post_meta($c_pageID, ‘pyre_page_bg_color’, true); ?>;
    <?php else: ?>
    background-color:<?php echo $data[‘bg_color’]; ?>;
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg’, true)): ?>
    background-image:url(<?php echo get_post_meta($c_pageID, ‘pyre_page_bg’, true); ?>);
    background-repeat:<?php echo get_post_meta($c_pageID, ‘pyre_page_bg_repeat’, true); ?>;
    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_full’, true) == ‘yes’): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php elseif($data[‘bg_image’]): ?>
    background-image:url(<?php echo $data[‘bg_image’]; ?>);
    background-repeat:<?php echo $data[‘bg_repeat’]; ?>;
    <?php if($data[‘bg_full’]): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php endif; ?>

    <?php if($data[‘bg_pattern_option’] && $data[‘bg_pattern’] && !(get_post_meta($c_pageID, ‘pyre_page_bg_color’, true) || get_post_meta($c_pageID, ‘pyre_page_bg’, true))): ?>
    background-image:url(«<?php echo get_bloginfo(‘template_directory’) . ‘/images/patterns/’ . $data[‘bg_pattern’] . ‘.png’; ?>»);
    background-repeat:repeat;
    <?php endif; ?>
    }
    #wrapper{
    background:#fff;
    width:1000px;
    margin:0 auto;
    }
    .wrapper_blank { display: block; }
    @media only screen and (min-width: 801px) and (max-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    @media only screen and (min-device-width: 801px) and (max-device-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    <?php endif; ?>

    <?php if($data[‘layout’] == ‘Wide’): ?>
    #wrapper{
    width:100%;
    }
    //.wrapper_blank { display: block; }
    @media only screen and (min-width: 801px) and (max-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    @media only screen and (min-device-width: 801px) and (max-device-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_layout’, true) == ‘boxed’): ?>
    body{
    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_color’, true)): ?>
    background-color:<?php echo get_post_meta($c_pageID, ‘pyre_page_bg_color’, true); ?>;
    <?php else: ?>
    background-color:<?php echo $data[‘bg_color’]; ?>;
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg’, true)): ?>
    background-image:url(<?php echo get_post_meta($c_pageID, ‘pyre_page_bg’, true); ?>);
    background-repeat:<?php echo get_post_meta($c_pageID, ‘pyre_page_bg_repeat’, true); ?>;
    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_full’, true) == ‘yes’): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php elseif($data[‘bg_image’]): ?>
    background-image:url(<?php echo $data[‘bg_image’]; ?>);
    background-repeat:<?php echo $data[‘bg_repeat’]; ?>;
    <?php if($data[‘bg_full’]): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php endif; ?>

    <?php if($data[‘bg_pattern_option’] && $data[‘bg_pattern’] && !(get_post_meta($c_pageID, ‘pyre_page_bg_color’, true) || get_post_meta($c_pageID, ‘pyre_page_bg’, true))): ?>
    background-image:url(«<?php echo get_bloginfo(‘template_directory’) . ‘/images/patterns/’ . $data[‘bg_pattern’] . ‘.png’; ?>»);
    background-repeat:repeat;
    <?php endif; ?>
    }
    #wrapper{
    background:#fff;
    width:1000px;
    margin:0 auto;
    }
    .wrapper_blank { display: block; }
    @media only screen and (min-width: 801px) and (max-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    @media only screen and (min-device-width: 801px) and (max-device-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_bg_layout’, true) == ‘wide’): ?>
    #wrapper{
    width:100%;
    }
    //.wrapper_blank { display: block; }
    @media only screen and (min-width: 801px) and (max-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    @media only screen and (min-device-width: 801px) and (max-device-width: 1014px){
    #wrapper{
    width:auto;
    }
    }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_bar_bg’, true)): ?>
    .page-title-container{
    background-image:url(<?php echo get_post_meta($c_pageID, ‘pyre_page_title_bar_bg’, true); ?>) !important;
    }
    <?php elseif($data[‘page_title_bg’]): ?>
    .page-title-container{
    background-image:url(<?php echo $data[‘page_title_bg’]; ?>) !important;
    }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_color’, true)): ?>
    .page-title-container{
    background-color:<?php echo get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_color’, true); ?>;
    }
    <?php elseif($data[‘page_title_bg_color’]): ?>
    .page-title-container{
    background-color:<?php echo $data[‘page_title_bg_color’]; ?>;
    }
    <?php endif; ?>

    #header{
    <?php if($data[‘header_bg_image’]): ?>
    background-image:url(<?php echo $data[‘header_bg_image’]; ?>);
    <?php if($data[‘header_bg_repeat’] == ‘repeat-y’ || $data[‘header_bg_repeat’] == ‘no-repeat’): ?>
    background-position: center center;
    <?php endif; ?>
    background-repeat:<?php echo $data[‘header_bg_repeat’]; ?>;
    <?php if($data[‘header_bg_full’]): ?>
    background-attachment:scroll;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>

    <?php if($data[‘header_bg_parallax’]): ?>
    background-attachment: fixed;
    background-position:top center;
    <?php endif; ?>
    <?php endif; ?>
    }

    #header{
    <?php if(get_post_meta($c_pageID, ‘pyre_header_bg_color’, true)): ?>
    background-color:<?php echo get_post_meta($c_pageID, ‘pyre_header_bg_color’, true); ?> !important;
    <?php endif; ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_header_bg’, true)): ?>
    background-image:url(<?php echo get_post_meta($c_pageID, ‘pyre_header_bg’, true); ?>);
    <?php if(get_post_meta($c_pageID, ‘pyre_header_bg_repeat’, true) == ‘repeat-y’ || get_post_meta($c_pageID, ‘pyre_header_bg_repeat’, true) == ‘no-repeat’): ?>
    background-position: center center;
    <?php endif; ?>
    background-repeat:<?php echo get_post_meta($c_pageID, ‘pyre_header_bg_repeat’, true); ?>;
    <?php if(get_post_meta($c_pageID, ‘pyre_header_bg_full’, true) == ‘yes’): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php endif; ?>
    }

    #main{
    <?php if($data[‘content_bg_image’] && !get_post_meta($c_pageID, ‘pyre_wide_page_bg_color’, true)): ?>
    background-image:url(<?php echo $data[‘content_bg_image’]; ?>);
    background-repeat:<?php echo $data[‘content_bg_repeat’]; ?>;
    <?php if($data[‘content_bg_full’]): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php endif; ?>

    <?php if($data[‘main_top_padding’] && !get_post_meta($c_pageID, ‘pyre_main_top_padding’, true)): ?>
    padding-top: <?php echo $data[‘main_top_padding’]; ?> !important;
    <?php endif; ?>

    <?php if($data[‘main_bottom_padding’] && !get_post_meta($c_pageID, ‘pyre_main_bottom_padding’, true)): ?>
    padding-bottom: <?php echo $data[‘main_bottom_padding’]; ?> !important;
    <?php endif; ?>
    }

    #main{
    <?php if(get_post_meta($c_pageID, ‘pyre_wide_page_bg_color’, true)): ?>
    background-color:<?php echo get_post_meta($c_pageID, ‘pyre_wide_page_bg_color’, true); ?> !important;
    <?php endif; ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_wide_page_bg’, true)): ?>
    background-image:url(<?php echo get_post_meta($c_pageID, ‘pyre_wide_page_bg’, true); ?>);
    background-repeat:<?php echo get_post_meta($c_pageID, ‘pyre_wide_page_bg_repeat’, true); ?>;
    <?php if(get_post_meta($c_pageID, ‘pyre_wide_page_bg_full’, true) == ‘yes’): ?>
    background-attachment:fixed;
    background-position:center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_main_top_padding’, true)): ?>
    padding-top:<?php echo get_post_meta($c_pageID, ‘pyre_main_top_padding’, true); ?> !important;
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_main_bottom_padding’, true)): ?>
    padding-bottom:<?php echo get_post_meta($c_pageID, ‘pyre_main_bottom_padding’, true); ?> !important;
    <?php endif; ?>

    }

    .page-title-container{
    <?php if($data[‘page_title_bg_full’]): ?>
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_full’, true) == ‘yes’): ?>
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    <?php elseif(get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_full’, true) == ‘no’): ?>
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    <?php endif; ?>

    <?php if($data[‘page_title_bg_parallax’]): ?>
    background-attachment: fixed;
    background-position:top center;
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_bg_parallax’, true) == ‘yes’): ?>
    background-attachment: fixed;
    background-position:top center;
    <?php elseif(get_post_meta($c_pageID, ‘pyre_page_title_bg_parallax’, true) == ‘no’): ?>
    background-attachment: scroll;
    <?php endif; ?>

    }

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_height’, true)): ?>
    .page-title-container{
    height:<?php echo get_post_meta($c_pageID, ‘pyre_page_title_height’, true); ?> !important;
    }
    <?php elseif($data[‘page_title_height’]): ?>
    .page-title-container{
    height:<?php echo $data[‘page_title_height’]; ?> !important;
    }
    <?php endif; ?>

    <?php if(is_single() && get_post_meta($c_pageID, ‘pyre_fimg_width’, true)): ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_fimg_width’, true) != ‘auto’): ?>
    #post-<?php echo $c_pageID; ?> .post-slideshow {max-width:<?php echo get_post_meta($c_pageID, ‘pyre_fimg_width’, true); ?> !important;}
    <?php else: ?>
    .post-slideshow .flex-control-nav{position:relative;text-align:left;margin-top:10px;}
    <?php endif; ?>
    #post-<?php echo $c_pageID; ?> .post-slideshow img{max-width:<?php echo get_post_meta($c_pageID, ‘pyre_fimg_width’, true); ?> !important;}
    <?php if(get_post_meta($c_pageID, ‘pyre_fimg_width’, true) == ‘auto’): ?>
    #post-<?php echo $c_pageID; ?> .post-slideshow img{width:<?php echo get_post_meta($c_pageID, ‘pyre_fimg_width’, true); ?> !important;}
    <?php endif; ?>
    <?php endif; ?>

    <?php if(is_single() && get_post_meta($c_pageID, ‘pyre_fimg_height’, true)): ?>
    #post-<?php echo $c_pageID; ?> .post-slideshow, #post-<?php echo $c_pageID; ?> .post-slideshow img{max-height:<?php echo get_post_meta($c_pageID, ‘pyre_fimg_height’, true); ?> !important;}
    #post-<?php echo $c_pageID; ?> .post-slideshow .slides { max-height: 100%; }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_retina’, true)): ?>
    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-title-container {
    background-image: url(<?php echo get_post_meta($c_pageID, ‘pyre_page_title_bar_bg_retina’, true); ?>) !important;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    }
    }
    <?php elseif($data[‘page_title_bg_retina’]): ?>
    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-title-container {
    background-image: url(<?php echo $data[‘page_title_bg_retina’]; ?>) !important;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
    }
    }
    <?php endif; ?>

    <?php if(get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true)): ?>
    .width-100 .fullwidth-box, .width-100 .section-separator {
    margin-left: -<?php echo get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true); ?>; margin-right: -<?php echo get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true); ?>;
    }
    <?php elseif($data[‘hundredp_padding’]): ?>
    .width-100 .fullwidth-box {
    margin-left: -<?php echo $data[‘hundredp_padding’] ?>; margin-right: -<?php echo $data[‘hundredp_padding’] ?>;
    }
    <?php endif; ?>

    <?php if((float) $wp_version < 3.8): ?>
    #wpadminbar *{color:#ccc !important;}
    #wpadminbar .hover a, #wpadminbar .hover a span{color:#464646 !important;}
    <?php endif; ?>
    <?php echo $data[‘custom_css’]; ?>

    <?php if( ($data[‘header_transparent’] && get_post_meta($post->ID, ‘pyre_transparent_header’, true) != ‘no’) ||
    ( ! $data[‘header_transparent’] && get_post_meta($post->ID, ‘pyre_transparent_header’, true) == ‘yes’) ): ?>
    #header,#small-nav,.header-v4 #small-nav, .header-v5 #small-nav{background:none!important;}
    .header-social, #header, .header-v4 #small-nav, .header-v5 #small-nav,.header-v5 #header{border:none!important;}
    .header-wrapper{position: absolute;left:0;right:0;z-index: 10000;}
    #sliders-container{z-index:0;}
    <?php endif; ?>
    </style>

    <?php echo $data[‘google_analytics’]; ?>

    <?php echo $data[‘space_head’]; ?>

    <!–[if lte IE 8]>
    <script type=»text/javascript» src=»<?php bloginfo(‘template_directory’); ?>/js/respond.js»></script>
    <![endif]–>
    </head>
    <?php
    $body_class = »;
    $wrapper_class = »;
    if(is_page_template(‘blank.php’)):
    $body_class = ‘body_blank’;
    $wrapper_class = ‘ class=»wrapper_blank»‘;
    endif; ?>

    <body <?php body_class(array($avada_color_scheme,$body_class)); ?> data-spy=»scroll»>
    <div id=»wrapper» <?php echo $wrapper_class; ?>>
    <?php if($data[‘slidingbar_widgets’] && !is_page_template(‘blank.php’)): ?>
    <?php get_template_part(‘slidingbar’); ?>
    <?php endif; ?>
    <?php if( !$data[‘slider_position’] ||
    ($data[‘slider_position’] == «Below» && get_post_meta($c_pageID, ‘pyre_slider_position’, true) != ‘above’) ||
    ( $data[‘slider_position’] != «Below» && get_post_meta($c_pageID, ‘pyre_slider_position’, true) == ‘below’) ): ?>
    <?php if(!is_page_template(‘blank.php’)): ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_display_header’, true) != ‘no’): ?>
    <div class=»header-wrapper»>
    <?php
    if($data[‘header_layout’]) {
    if(is_page(‘header-2’)) {
    get_template_part(‘framework/headers/header-v2’);
    } elseif(is_page(‘header-3’)) {
    get_template_part(‘framework/headers/header-v3’);
    } elseif(is_page(‘header-4’)) {
    get_template_part(‘framework/headers/header-v4’);
    } elseif(is_page(‘header-5’)) {
    get_template_part(‘framework/headers/header-v5’);
    } else {
    get_template_part(‘framework/headers/header-‘.$data[‘header_layout’]);
    }
    } else {
    if(is_page(‘header-2’)) {
    get_template_part(‘framework/headers/header-v2’);
    } elseif(is_page(‘header-3’)) {
    get_template_part(‘framework/headers/header-v3’);
    } elseif(is_page(‘header-4’)) {
    get_template_part(‘framework/headers/header-v4’);
    } elseif(is_page(‘header-5’)) {
    get_template_part(‘framework/headers/header-v5’);
    } else {
    get_template_part(‘framework/headers/header-‘.$data[‘header_layout’]);
    }
    }
    ?>
    <div class=»init-sticky-header»></div>
    </div>
    <?php
    // sticky header
    get_template_part(‘framework/headers/sticky-header’);
    ?>
    <?php endif; ?>
    <?php endif; ?>
    <?php endif; ?>
    <div id=»sliders-container»>
    <?php
    if(is_search()) {
    $slider_page_id = »;
    }
    ?>
    <?php if(!is_search()): ?>
    <?php wp_reset_query(); ?>
    <?php
    // Layer Slider
    $slider_page_id = »;
    if(!is_home() && !is_front_page() && !is_archive() && isset($post)) {
    $slider_page_id = $post->ID;
    }
    if(!is_home() && is_front_page() && isset($post)) {
    $slider_page_id = $post->ID;
    }
    if(is_home() && !is_front_page()){
    $slider_page_id = get_option(‘page_for_posts’);
    }
    if(class_exists(‘Woocommerce’)) {
    if(is_shop()) {
    $slider_page_id = get_option(‘woocommerce_shop_page_id’);
    }
    }
    if(get_post_meta($slider_page_id, ‘pyre_slider_type’, true) == ‘layer’ && (get_post_meta($slider_page_id, ‘pyre_slider’, true) || get_post_meta($slider_page_id, ‘pyre_slider’, true) != 0)): ?>
    <?php
    // Get slider
    $ls_table_name = $wpdb->prefix . «layerslider»;
    $ls_id = get_post_meta($slider_page_id, ‘pyre_slider’, true);
    $ls_slider = $wpdb->get_row(«SELECT * FROM $ls_table_name WHERE id = «.(int)$ls_id.» ORDER BY date_c DESC LIMIT 1″ , ARRAY_A);
    $ls_slider = json_decode($ls_slider[‘data’], true);
    ?>
    <style type=»text/css»>
    #layerslider-container{max-width:<?php echo $ls_slider[‘properties’][‘width’] ?>;}
    </style>
    <div id=»layerslider-container»>
    <div id=»layerslider-wrapper»>
    <?php if($ls_slider[‘properties’][‘skin’] == ‘avada’): ?>
    <div class=»ls-shadow-top»></div>
    <?php endif; ?>
    <?php echo do_shortcode(‘[layerslider id=»‘.get_post_meta($slider_page_id, ‘pyre_slider’, true).'»]’); ?>
    <?php if($ls_slider[‘properties’][‘skin’] == ‘avada’): ?>
    <div class=»ls-shadow-bottom»></div>
    <?php endif; ?>
    </div>
    </div>
    <?php endif; ?>
    <?php
    // Flex Slider
    if(get_post_meta($slider_page_id, ‘pyre_slider_type’, true) == ‘flex’ && (get_post_meta($slider_page_id, ‘pyre_wooslider’, true) || get_post_meta($slider_page_id, ‘pyre_wooslider’, true) != 0)) {
    echo do_shortcode(‘[wooslider slide_page=»‘.get_post_meta($slider_page_id, ‘pyre_wooslider’, true).'» slider_type=»slides» limit=»‘.$data[‘flexslider_number’].'»]’);
    }
    ?>
    <?php
    if(get_post_meta($slider_page_id, ‘pyre_slider_type’, true) == ‘rev’ && get_post_meta($slider_page_id, ‘pyre_revslider’, true) && !$data[‘status_revslider’] && function_exists(‘putRevSlider’)) {
    putRevSlider(get_post_meta($slider_page_id, ‘pyre_revslider’, true));
    }
    ?>
    <?php
    if(get_post_meta($slider_page_id, ‘pyre_slider_type’, true) == ‘flex2’ && get_post_meta($slider_page_id, ‘pyre_flexslider’, true)) {
    include_once(get_template_directory().’/flexslider.php’);
    }
    ?>
    <?php
    // ThemeFusion Elastic Slider
    if(!$data[‘status_eslider’]) {
    if(get_post_meta($slider_page_id, ‘pyre_slider_type’, true) == ‘elastic’ && (get_post_meta($slider_page_id, ‘pyre_elasticslider’, true) || get_post_meta($slider_page_id, ‘pyre_elasticslider’, true) != 0)) {
    include_once(get_template_directory().’/elastic-slider.php’);
    }
    }
    ?>
    <?php endif; ?>
    </div>
    <?php if(get_post_meta($slider_page_id, ‘pyre_fallback’, true)): ?>
    <style type=»text/css»>
    @media only screen and (max-width: 940px){
    #sliders-container{display:none;}
    #fallback-slide{display:block;}
    }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
    #sliders-container{display:none;}
    #fallback-slide{display:block;}
    }
    </style>
    <div id=»fallback-slide»>
    <img src=»<?php echo get_post_meta($slider_page_id, ‘pyre_fallback’, true); ?>» alt=»» />
    </div>
    <?php endif; ?>
    <?php if( ($data[‘slider_position’] == «Above» && get_post_meta($c_pageID, ‘pyre_slider_position’, true) != ‘below’) ||
    ( $data[‘slider_position’] != «Above» && get_post_meta($c_pageID, ‘pyre_slider_position’, true) == ‘above’) ): ?>
    <?php if(!is_page_template(‘blank.php’)): ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_display_header’, true) != ‘no’): ?>
    <div class=»header-wrapper»>
    <?php
    if($data[‘header_layout’]) {
    if(is_page(‘header-2’)) {
    get_template_part(‘framework/headers/header-v2’);
    } elseif(is_page(‘header-3’)) {
    get_template_part(‘framework/headers/header-v3’);
    } elseif(is_page(‘header-4’)) {
    get_template_part(‘framework/headers/header-v4’);
    } elseif(is_page(‘header-5’)) {
    get_template_part(‘framework/headers/header-v5’);
    } else {
    get_template_part(‘framework/headers/header-‘.$data[‘header_layout’]);
    }
    } else {
    if(is_page(‘header-2’)) {
    get_template_part(‘framework/headers/header-v2’);
    } elseif(is_page(‘header-3’)) {
    get_template_part(‘framework/headers/header-v3’);
    } elseif(is_page(‘header-4’)) {
    get_template_part(‘framework/headers/header-v4’);
    } elseif(is_page(‘header-5’)) {
    get_template_part(‘framework/headers/header-v5’);
    } else {
    get_template_part(‘framework/headers/header-‘.$data[‘header_layout’]);
    }
    }
    ?>
    <div class=»init-sticky-header»></div>
    </div>
    <?php
    // sticky header
    get_template_part(‘framework/headers/sticky-header’);
    ?>
    <?php endif; ?>
    <?php endif; ?>
    <?php endif; ?>

    <?php wp_reset_query(); ?>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title’, true) == ‘yes’ || ($data[‘page_title_bar’] && get_post_meta($c_pageID, ‘pyre_page_title’, true) == ‘default’)): ?>
    <?php if(((is_page() || is_single() || is_singular(‘avada_portfolio’) || is_singular(‘event’))) && !is_woocommerce() && !is_bbpress()) : ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_text’, true) != ‘no’): ?>
    <h1 class=»entry-title»>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true) != »): ?>
    <?php echo get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true); ?>
    <?php else: ?>
    <?php the_title(); ?>
    <?php endif; ?>
    </h1>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true) != »): ?>
    <h3>
    <?php echo get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true); ?>
    </h3>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    <?php if($data[‘breadcrumb’]): ?>
    <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
    <?php themefusion_breadcrumb(); ?>
    <?php else: ?>
    <?php get_search_form(); ?>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php endif; ?>
    <?php if(get_post_meta($slider_page_id, ‘pyre_page_title’, true) == ‘yes’ || ($data[‘page_title_bar’] && get_post_meta($slider_page_id, ‘pyre_page_title’, true) == ‘default’)): ?>
    <?php if(is_home() && !is_front_page()): ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_text’, true) != ‘no’): ?>
    <h1 class=»entry-title»>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true) != »): ?>
    <?php echo get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true); ?>
    <?php else: ?>
    <?php echo $data[‘blog_title’]; ?>
    <?php endif; ?>
    </h1>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true) != »): ?>
    <h3>
    <?php echo get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true); ?>
    </h3>
    <?php elseif($data[‘blog_subtitle’]) : ?>
    <h3>
    <?php echo $data[‘blog_subtitle’]; ?>
    </h3>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    <?php if($data[‘breadcrumb’]): ?>
    <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
    <?php themefusion_breadcrumb(); ?>
    <?php else: ?>
    <?php get_search_form(); ?>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php endif; ?>
    <?php if($data[‘page_title_bar’]): ?>
    <?php if(is_search()): ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <h1 class=»entry-title»><?php echo __(‘Search results for:’, ‘Avada’); ?> <?php echo get_search_query(); ?></h1>
    </div>
    <?php if($data[‘breadcrumb’]): ?>
    <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
    <?php themefusion_breadcrumb(); ?>
    <?php else: ?>
    <?php get_search_form(); ?>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php if(is_404()): ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <h1 class=»entry-title»><?php echo __(‘Error 404 Page’, ‘Avada’); ?></h1>
    </div>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php if(is_archive() && !is_search() && !is_woocommerce() && !is_bbpress()): ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <h1 class=»entry-title»>
    <?php if ( is_day() ) : ?>
    <?php printf( __( ‘Daily Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date() . ‘</span>’ ); ?>
    <?php elseif ( is_month() ) : ?>
    <?php printf( __( ‘Monthly Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date( _x( ‘F Y’, ‘monthly archives date format’, ‘Avada’ ) ) . ‘</span>’ ); ?>
    <?php elseif ( is_year() ) : ?>
    <?php printf( __( ‘Yearly Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date( _x( ‘Y’, ‘yearly archives date format’, ‘Avada’ ) ) . ‘</span>’ ); ?>
    <?php elseif ( is_author() ) : ?>
    <?php
    $curauth = (isset($_GET[‘author_name’])) ? get_user_by(‘slug’, $author_name) : get_userdata(intval($author));
    ?>
    <?php echo $curauth->nickname; ?>
    <?php else : ?>
    <?php single_cat_title(); ?>
    <?php endif; ?>
    </h1>
    </div>
    <?php if($data[‘breadcrumb’]): ?>
    <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
    <?php themefusion_breadcrumb(); ?>
    <?php else: ?>
    <?php get_search_form(); ?>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php endif; ?>
    <?php
    if(class_exists(‘Woocommerce’)):
    if(get_post_meta($c_pageID, ‘pyre_page_title’, true) == ‘yes’ || ($data[‘page_title_bar’] && get_post_meta($c_pageID, ‘pyre_page_title’, true) == ‘default’)):
    if($woocommerce->version && is_woocommerce() && (is_product() || is_shop()) && !is_search()):
    ?>
    <div class=»page-title-container»>
    <div class=»page-title»>
    <div class=»page-title-wrapper»>
    <div class=»page-title-captions»>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_text’, true) != ‘no’): ?>
    <h1 class=»entry-title»>
    <?php
    if(is_product()) {
    if(get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true) != ») {
    echo get_post_meta($c_pageID, ‘pyre_page_title_custom_text’, true);
    } else {
    the_title();
    } ?>
    </h1>
    <?php if(get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true) != »): ?>
    <h3>
    <?php echo get_post_meta($c_pageID, ‘pyre_page_title_custom_subheader’, true); ?>
    </h3>
    <?php endif;
    } else {
    woocommerce_page_title();
    ?>
    </h1>
    <?php } ?>
    <?php endif; ?>
    </div>
    <?php if($data[‘breadcrumb’]): ?>
    <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
    <?php woocommerce_breadcrumb(array(
    ‘wrap_before’ => ‘<ul class=»breadcrumbs»>’,
    ‘wrap_after’ => »,
    ‘before’ => ‘

    • ‘,
      ‘after’ => ‘
    • ‘,
      ‘delimiter’ => »
      )); ?>
      <?php else: ?>
      <?php get_search_form(); ?>
      <?php endif; ?>
      <?php endif; ?>
      </div>
      </div>
      </div>
      <?php endif; ?>
      <?php endif; ?>
      <?php if($data[‘page_title_bar’]): ?>
      <?php if(is_tax(‘product_cat’) || is_tax(‘product_tag’)): ?>
      <div class=»page-title-container»>
      <div class=»page-title»>
      <div class=»page-title-wrapper»>
      <div class=»page-title-captions»>
      <h1 class=»entry-title»>
      <?php if ( is_day() ) : ?>
      <?php printf( __( ‘Daily Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date() . ‘</span>’ ); ?>
      <?php elseif ( is_month() ) : ?>
      <?php printf( __( ‘Monthly Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date( _x( ‘F Y’, ‘monthly archives date format’, ‘Avada’ ) ) . ‘</span>’ ); ?>
      <?php elseif ( is_year() ) : ?>
      <?php printf( __( ‘Yearly Archives: %s’, ‘Avada’ ), ‘<span>’ . get_the_date( _x( ‘Y’, ‘yearly archives date format’, ‘Avada’ ) ) . ‘</span>’ ); ?>
      <?php elseif ( is_author() ) : ?>
      <?php
      $curauth = (isset($_GET[‘author_name’])) ? get_user_by(‘slug’, $author_name) : get_userdata(intval($author));
      ?>
      <?php echo $curauth->nickname; ?>
      <?php else : ?>
      <?php single_cat_title(); ?>
      <?php endif; ?>
      </h1>
      </div>
      <?php if($data[‘breadcrumb’]): ?>
      <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
      <?php woocommerce_breadcrumb(array(
      ‘wrap_before’ => ‘<ul class=»breadcrumbs»>’,
      ‘wrap_after’ => »,
      ‘before’ => ‘

    • ‘,
      ‘after’ => ‘
    • ‘,
      ‘delimiter’ => »
      )); ?>
      <?php else: ?>
      <?php get_search_form(); ?>
      <?php endif; ?>
      <?php endif; ?>
      </div>
      </div>
      </div>
      <?php endif; ?>
      <?php endif; ?>
      <?php endif; // end class check if for woocommerce ?>
      <?php if($data[‘page_title_bar’]): ?>
      <?php
      if( class_exists(‘bbPress’)):
      if(is_bbpress()): ?>
      <div class=»page-title-container»>
      <div class=»page-title»>
      <div class=»page-title-wrapper»>
      <div class=»page-title-captions»>
      <?php if(get_post_meta($c_pageID, ‘pyre_page_title_text’, true) != ‘no’): ?>
      <h1 class=»entry-title»><?php the_title(); ?></h1>
      <?php endif; ?>
      </div>
      <?php if($data[‘breadcrumb’]): ?>
      <?php if($data[‘page_title_bar_bs’] == ‘Breadcrumbs’): ?>
      <?php bbp_breadcrumb( array ( ‘before’ => ‘<ul class=»breadcrumbs»>’, ‘after’ => », ‘sep’ => ‘ ‘, ‘crumb_before’ => ‘

    • ‘, ‘crumb_after’ => ‘
    • ‘, ‘home_text’ => __(‘Home’, ‘Avada’)) ); ?>
      <?php else: ?>
      <?php get_search_form(); ?>
      <?php endif; ?>
      <?php endif; ?>
      </div>
      </div>
      </div>
      <?php endif; ?>
      <?php endif; ?>
      <?php endif; ?>
      <?php if(is_page_template(‘contact.php’) && $data[‘recaptcha_public’] && $data[‘recaptcha_private’]): ?>
      <script type=»text/javascript»>
      var RecaptchaOptions = {
      theme : ‘<?php echo $data[‘recaptcha_color_scheme’]; ?>’
      };
      </script>
      <?php endif; ?>
      <?php if(is_page_template(‘contact.php’) && $data[‘gmap_address’] && !$data[‘status_gmap’]): ?>
      <style type=»text/css»>
      #gmap{
      width:<?php echo $data[‘gmap_width’]; ?>;
      margin:0 auto;
      <?php if($data[‘gmap_width’] != ‘100%’): ?>
      <?php if($data[‘gmap_topmargin’]): ?>
      margin-top:<?php echo $data[‘gmap_topmargin’]; ?>;
      <?php else: ?>
      margin-top:55px;
      <?php endif; ?>
      <?php endif; ?>

      <?php if($data[‘gmap_height’]): ?>
      height:<?php echo $data[‘gmap_height’]; ?>;
      <?php else: ?>
      height:415px;
      <?php endif; ?>
      }
      </style>
      <?php
      $data[‘gmap_address’] = addslashes($data[‘gmap_address’]);
      $addresses = explode(‘|’, $data[‘gmap_address’]);
      $markers = »;
      if($data[‘map_popup’]) {
      $map_popup = «false»;
      } else {
      $map_popup = «true»;
      }
      foreach($addresses as $address_string) {
      $markers .= «{
      address: ‘{$address_string}’,
      html: {
      content: ‘{$address_string}’,
      popup: {$map_popup}
      }
      },»;
      }
      ?>
      <script type=’text/javascript’>
      jQuery(document).ready(function($) {
      jQuery(‘#gmap’).goMap({
      address: ‘<?php echo $addresses[0]; ?>’,
      maptype: ‘<?php echo $data[‘gmap_type’]; ?>’,
      zoom: <?php echo $data[‘map_zoom_level’]; ?>,
      scrollwheel: <?php if($data[‘map_scrollwheel’]): ?>false<?php else: ?>true<?php endif; ?>,
      scaleControl: <?php if($data[‘map_scale’]): ?>false<?php else: ?>true<?php endif; ?>,
      navigationControl: <?php if($data[‘map_zoomcontrol’]): ?>false<?php else: ?>true<?php endif; ?>,
      <?php if(!$data[‘map_pin’]): ?>markers: [<?php echo $markers; ?>],<?php endif; ?>
      });
      });
      </script>
      <div class=»gmap» id=»gmap»>
      </div>
      <?php endif; ?>
      <?php if(is_page_template(‘contact-2.php’) && $data[‘gmap_address’] && !$data[‘status_gmap’]): ?>
      <style type=»text/css»>
      #gmap{
      width:940px;
      margin:0 auto;
      margin-top:55px;

      height:415px;
      }
      </style>
      <?php
      $data[‘gmap_address’] = addslashes($data[‘gmap_address’]);
      $addresses = explode(‘|’, $data[‘gmap_address’]);
      $markers = »;
      if($data[‘map_popup’]) {
      $map_popup = «false»;
      } else {
      $map_popup = «true»;
      }
      foreach($addresses as $address_string) {
      if(!$data[‘map_pin’]) {
      $markers .= «{
      address: ‘{$address_string}’,
      html: {
      content: ‘{$address_string}’,
      popup: {$map_popup}
      }
      },»;
      } else {
      $markers .= «{
      address: ‘{$address_string}’
      },»;
      }
      }
      ?>
      <script type=’text/javascript’>
      jQuery(document).ready(function($) {
      jQuery(‘#gmap’).goMap({
      address: ‘<?php echo $addresses[0]; ?>’,
      maptype: ‘<?php echo $data[‘gmap_type’]; ?>’,
      zoom: <?php echo $data[‘map_zoom_level’]; ?>,
      scrollwheel: <?php if($data[‘map_scrollwheel’]): ?>false<?php else: ?>true<?php endif; ?>,
      scaleControl: <?php if($data[‘map_scale’]): ?>false<?php else: ?>true<?php endif; ?>,
      navigationControl: <?php if($data[‘map_zoomcontrol’]): ?>false<?php else: ?>true<?php endif; ?>,
      <?php if(!$data[‘map_pin’]): ?>markers: [<?php echo $markers; ?>],<?php endif; ?>
      });
      });
      </script>
      <div class=»gmap» id=»gmap»>
      </div>
      <?php endif; ?>
      <?php
      $main_css = »;
      $row_css = »;
      $main_class = »;

      if (is_woocommerce()) {
      $custom_fields = get_post_custom_values(‘_wp_page_template’, $c_pageID);
      if(is_array($custom_fields) && !empty($custom_fields)) {
      $page_template = $custom_fields[0];
      } else {
      $page_template = »;
      }
      }

      if(is_page_template(‘100-width.php’) || is_page_template(‘blank.php’) ||get_post_meta($slider_page_id, ‘pyre_portfolio_width_100’, true) == ‘yes’ || $page_template == ‘100-width.php’) {
      $main_css = ‘padding-left:0px;padding-right:0px;’;
      if($data[‘hundredp_padding’] && !get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true)) {
      $main_css = ‘padding-left:’.$data[‘hundredp_padding’].’;padding-right:’.$data[‘hundredp_padding’];
      }
      if(get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true)) {
      $main_css = ‘padding-left:’.get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true).’;padding-right:’.get_post_meta($c_pageID, ‘pyre_hundredp_padding’, true);
      }
      $row_css = ‘max-width:100%;’;
      $main_class = ‘width-100’;
      }
      ?>
      <div id=»main» class=»clearfix <?php echo $main_class; ?>» style=»<?php echo $main_css; ?>»>
      <div class=»avada-row» style=»<?php echo $row_css; ?>»>
      <?php wp_reset_query(); ?>

    Tu login es el camina mas facil porque mi espanol is malo. 😉 Pero, Artisteer es la problema. Artisteer no usa el oficial menu function de WordPress. Entiendas Igles un poco? Esta un metodo por Artisteer: http://wordpress.org/support/topic/wp-menu-cart-artisteer-41-designed-theme?replies=7

    Y una otra posibilidad es usar un shortcode o widget. Shortcodes son disponible en Menu Cart Pro, y con un widget es posible que usas un ‘custom menu’ widget.

    Hola! Soy un autor de WP Menu Cart. Mi Espanol es malo, pero intiendo y hablo un poco. 😉 Es posible que envias un correo electrónico a support@wpovernight.com con sus informacion de login por tu website? Es posible que su tema es la problema, pero yo puedo mirar.

    • Hola a todos. primero que nada felicitarlos por esta gran comunidad.
      Estoy tratando de construir un pequeño sitio en wordpress desde mi localhost. Actualmente utilizo el tema Mordor ( http://www.web2feel.com/mordor/ ) . Quisiera si por favor me darian una mano intentando cambiar el texto del header por una imagen, he probado muchos codigos y busque mucho en internet y la verdad no me ha dado resultado.

      Aca les coloco el codigo del head:

      <?php
      /**
       * The Header for our theme.
       *
       * Displays all of the <head> section and everything up till <div id="main">
       *
       * @package web2feel
       * @since web2feel 1.0
       */
      ?><!DOCTYPE html>
      <html <?php language_attributes(); ?>>
      <head>
      <meta charset="<?php bloginfo( 'charset' ); ?>" />
      <meta name="viewport" content="width=device-width" />
      <title><?php
      	/*
      	 * Print the <title> tag based on what is being viewed.
      	 */
      	global $page, $paged;
      
      	wp_title( '|', true, 'right' );
      
      	// Add the blog name.
      	bloginfo( 'name' );
      
      	// Add the blog description for the home/front page.
      	$site_description = get_bloginfo( 'description', 'display' );
      	if ( $site_description && ( is_home() || is_front_page() ) )
      		echo " | $site_description";
      
      	// Add a page number if necessary:
      	if ( $paged >= 2 || $page >= 2 )
      		echo ' | ' . sprintf( __( 'Page %s', 'web2feel' ), max( $paged, $page ) );
      
      	?></title>
      <link rel="profile" href="http://gmpg.org/xfn/11" />
      <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
      
      <link href='http://fonts.googleapis.com/css?family=Fjalla+One' rel='stylesheet' type='text/css'>
      <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
      
      <!--[if lt IE 9]>
      <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
      <![endif]-->
      
      <?php wp_head(); ?>
      </head>
      
      <body <?php body_class(); ?>>
      <div id="page" class="hfeed site ">
      
      	<header id="masthead" class="site-header container_12 cf" role="banner">
      		<div class="grid_4">
      			<h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
      
      		</div>
      		<div class="grid_8">
      		<?php wp_nav_menu( array( 'container_id' => 'submenu','container_class' => 'clearfix','theme_location' => 'primary','menu_id'=>'web2feel' ,'menu_class'=>'sfmenu','fallback_cb'=> 'fallbackmenu' ) ); ?>
      		</div>
      	</header><!-- #masthead .site-header -->
      
      	<div id="main" class="site-main">

      Agradezco cualquier ayuda. Muchas gracias

    • a Continuacion explico que La plantilla principal de mi pagina permite la vista del reproductor jwplayer

      pero esta plantilla de paginad e captura no me permite la vista de dichos videos.

      Anexo escrito el codigo php de la plantilla la cual uso como atributo de pagina para que no me muestre el menu ni el sidebar ni la cabecera. espero ayuda algun codigo para que se vean los videos de jwplayer. y otros reproductores que tampoco me permite ver.

      <?php
      /**
      Template Name:*Pagina Captura – Una Columna
      */
      $image_url=get_bloginfo(‘stylesheet_directory’).’/wpoptins_images’;
      $blog_url=get_bloginfo(‘url’);

      $wpoptins_warning_text=get_post_meta($post->ID, «wpoptins_warning_text», true);
      $warning_text = wordwrap($wpoptins_warning_text, 38, «
      \n»);
      $wpoptins_add_border=get_post_meta($post->ID, «wpoptins_add_border», true);
      $wpoptins_form_code=get_post_meta($post->ID, «wpoptins_form_code», true);
      $wpoptins_bg_color=get_post_meta($post->ID, «wpoptins_bg_color», true);
      $wpoptins_table_color=get_post_meta($post->ID, «wpoptins_table_color», true);
      $wpoptins_page_width=get_post_meta($post->ID, «wpoptins_page_width», true);
      if(!$wpoptins_page_width){$wpoptins_page_width=700;}
      $wpoptins_round_border=get_post_meta($post->ID, «wpoptins_round_border», true);
      $wpoptins_add_shadow=get_post_meta($post->ID, «wpoptins_add_shadow», true);
      $wpoptins_add_arrows=get_post_meta($post->ID, «wpoptins_add_arrows», true);
      $wpoptins_add_arrow=get_post_meta($post->ID, «wpoptins_add_arrow», true);

      ?>
      <!DOCTYPE html PUBLIC «-//W3C//DTD XHTML 1.0 Transitional//EN» «http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd»>
      <head>
      <meta http-equiv=»Content-Language» content=»en-us»>
      <meta http-equiv=»Content-Type» content=»<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>» />
      <meta name=»distribution» content=»global» />
      <title><?php the_title(); ?></title>

      <? include «wpoptins-style.php»; ?>

      </head>

      <body>

      <div align=»center»>
      <table border=»0″ cellpadding=»15″ cellspacing=»0″ width=»<?=$wpoptins_page_width;?>» id=»wpoptins_border» bgcolor=»<?=$wpoptins_table_color;?>»>
      <tr>
      <td valign=»top»>

      <?if($wpoptins_warning_text):?>

      <div align=»center»>
      <table border=»0″ cellpadding=»0″ cellspacing=»0″ width=»600″ id=»warning» height=»92″>
      <tr>
      <td valign=»top»><div class=»warningText»><?=$wpoptins_warning_text?></div></td>
      </tr>
      </table>
      </div>

      <?endif;?>

      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

      <?php the_content(__(‘Read more..’));?><div style=»clear:both;»>

      <?php endwhile; else: ?>

      <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
      <?php endif; ?>

      <?if($wpoptins_add_arrow == ‘checked’):?>
      <p align=»center»>
      <img src=»<?=$image_url?>/arrowdown.gif» height=»114″ width=»273″>
      </p>
      <?php endif; ?>
      <?if($wpoptins_add_arrows == ‘checked’):?>
      <p align=»center»>
      <img src=»<?=$image_url?>/arrows.png» height=»277″ width=»107″>
      </p>
      <?php endif; ?>
      <?echo $wpoptins_form_code;?>

      <?
      $privacy_id = get_option(‘wpoptins_privacy_id’);
      $terms_id = get_option(‘wpoptins_terms_id’);
      $disclaimer_id = get_option(‘wpoptins_disclaimer_id’);
      $support_id = get_option(‘wpoptins_support_id’);
      $contact_id = get_option(‘wpoptins_contact_id’);

      if($privacy_id OR $terms_id OR $disclaimer_id):?>
      <?$privacy_url=get_post_permalink($privacy_id);?>
      <?$terms_url=get_post_permalink($terms_id);?>
      <?$disclaimer_url=get_post_permalink($disclaimer_id); ?>

      <p align=center><font size=2>

      » target=»_blank»>Politica de Privacidad | » target=»_blank»>Terminos de Servicio | » target=»_blank»>Descargo

      <?if($support_id):
      $support_url=get_post_permalink($support_id);
      ?>
      | » target=»_blank»>Soporte
      <?endif;?>
      <?if($support_id):
      $contact_url=get_post_permalink($contact_id);
      ?>
      | » target=»_blank»>Contacto
      <?endif;?>

      </font></p>
      <?endif;?>

      </td>
      </tr>
      </table>
      </div>
      <p> </p>

      </body>

      </html>

      Esta es mi web
      http://libertagialatina.com/breakcars/ Quisiera tenerla asi pero sin menu. o la plantilla que coloque arriba pero que me permita ver los reproductor de video flash como jwplayer

    • a Continuacion explico que La plantilla principal de mi pagina permite la vista del reproductor jwplayer

      pero esta plantilla de paginad e captura no me permite la vista de dichos videos.

      Anexo escrito el codigo php de la plantilla la cual uso como atributo de pagina para que no me muestre el menu ni el sidebar ni la cabecera. espero ayuda algun codigo para que se vean los videos de jwplayer. y otros reproductores que tampoco me permite ver.

      <?php
      /**
      Template Name:*Pagina Captura – Una Columna
      */
      $image_url=get_bloginfo(‘stylesheet_directory’).’/wpoptins_images’;
      $blog_url=get_bloginfo(‘url’);

      $wpoptins_warning_text=get_post_meta($post->ID, «wpoptins_warning_text», true);
      $warning_text = wordwrap($wpoptins_warning_text, 38, «
      \n»);
      $wpoptins_add_border=get_post_meta($post->ID, «wpoptins_add_border», true);
      $wpoptins_form_code=get_post_meta($post->ID, «wpoptins_form_code», true);
      $wpoptins_bg_color=get_post_meta($post->ID, «wpoptins_bg_color», true);
      $wpoptins_table_color=get_post_meta($post->ID, «wpoptins_table_color», true);
      $wpoptins_page_width=get_post_meta($post->ID, «wpoptins_page_width», true);
      if(!$wpoptins_page_width){$wpoptins_page_width=700;}
      $wpoptins_round_border=get_post_meta($post->ID, «wpoptins_round_border», true);
      $wpoptins_add_shadow=get_post_meta($post->ID, «wpoptins_add_shadow», true);
      $wpoptins_add_arrows=get_post_meta($post->ID, «wpoptins_add_arrows», true);
      $wpoptins_add_arrow=get_post_meta($post->ID, «wpoptins_add_arrow», true);

      ?>
      <!DOCTYPE html PUBLIC «-//W3C//DTD XHTML 1.0 Transitional//EN» «http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd»>
      <head>
      <meta http-equiv=»Content-Language» content=»en-us»>
      <meta http-equiv=»Content-Type» content=»<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>» />
      <meta name=»distribution» content=»global» />
      <title><?php the_title(); ?></title>

      <? include «wpoptins-style.php»; ?>

      </head>

      <body>

      <div align=»center»>
      <table border=»0″ cellpadding=»15″ cellspacing=»0″ width=»<?=$wpoptins_page_width;?>» id=»wpoptins_border» bgcolor=»<?=$wpoptins_table_color;?>»>
      <tr>
      <td valign=»top»>

      <?if($wpoptins_warning_text):?>

      <div align=»center»>
      <table border=»0″ cellpadding=»0″ cellspacing=»0″ width=»600″ id=»warning» height=»92″>
      <tr>
      <td valign=»top»><div class=»warningText»><?=$wpoptins_warning_text?></div></td>
      </tr>
      </table>
      </div>

      <?endif;?>

      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

      <?php the_content(__(‘Read more..’));?><div style=»clear:both;»>

      <?php endwhile; else: ?>

      <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
      <?php endif; ?>

      <?if($wpoptins_add_arrow == ‘checked’):?>
      <p align=»center»>
      <img src=»<?=$image_url?>/arrowdown.gif» height=»114″ width=»273″>
      </p>
      <?php endif; ?>
      <?if($wpoptins_add_arrows == ‘checked’):?>
      <p align=»center»>
      <img src=»<?=$image_url?>/arrows.png» height=»277″ width=»107″>
      </p>
      <?php endif; ?>
      <?echo $wpoptins_form_code;?>

      <?
      $privacy_id = get_option(‘wpoptins_privacy_id’);
      $terms_id = get_option(‘wpoptins_terms_id’);
      $disclaimer_id = get_option(‘wpoptins_disclaimer_id’);
      $support_id = get_option(‘wpoptins_support_id’);
      $contact_id = get_option(‘wpoptins_contact_id’);

      if($privacy_id OR $terms_id OR $disclaimer_id):?>
      <?$privacy_url=get_post_permalink($privacy_id);?>
      <?$terms_url=get_post_permalink($terms_id);?>
      <?$disclaimer_url=get_post_permalink($disclaimer_id); ?>

      <p align=center><font size=2>

      » target=»_blank»>Politica de Privacidad | » target=»_blank»>Terminos de Servicio | » target=»_blank»>Descargo

      <?if($support_id):
      $support_url=get_post_permalink($support_id);
      ?>
      | » target=»_blank»>Soporte
      <?endif;?>
      <?if($support_id):
      $contact_url=get_post_permalink($contact_id);
      ?>
      | » target=»_blank»>Contacto
      <?endif;?>

      </font></p>
      <?endif;?>

      </td>
      </tr>
      </table>
      </div>
      <p> </p>

      </body>

      </html>

    Tendrías que hacer algo así.

    En el head:
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    El menú:

    <nav class="tuclase">
    	<ul class="tuclase">
    		<li><a href="#">Inicio</a></li>
    		<li><a href="#">Empresa</a></li>
    		<li><a href="#">Servicios</a></li>
    		<li><a href="#">Contacto</a></li>
    	</ul>
    	<a href="#" id="pull">Menu</a>
    </nav>

    En tu CSS:

    nav {
    	height: 40px;
    	width: 100%;
    	background: #455868;
    	font-size: 11pt;
    	font-family: 'PT Sans', Arial, sans-serif;
    	font-weight: bold;
    	position: relative;
    	border-bottom: 2px solid #283744;
    }
    nav ul {
    	padding: 0;
    	margin: 0 auto;
    	width: 600px;
    	height: 40px;
    }
    nav li {
    	display: inline;
    	float: left;
    }
    nav a {
    	color: #fff;
    	display: inline-block;
    	width: 100px;
    	text-align: center;
    	text-decoration: none;
    	line-height: 40px;
    	text-shadow: 1px 1px 0px #283744;
    }
    nav li a {
    	border-right: 1px solid #576979;
    	box-sizing:border-box;
    	-moz-box-sizing:border-box;
    	-webkit-box-sizing:border-box;
    }
    nav li:last-child a {
    	border-right: 0;
    }
    nav a:hover, nav a:active {
    	background-color: #8c99a4;
    }
    nav a#pull {
    	display: none;
    }

    Ojo, solo es un ejemplo de como necesitas hacerlo y falta que agregues en el css las cosas específicas para cada resolución que necesitas. Mira este ejemplo, que te puede ayudar a terminar lo que necesitas.

    Iniciador del debate mfrajmowicz

    (@mfrajmowicz)

    This is my php:

    <?php

    /***************************************/

    /* Globalization $woptions

    /***************************************/

    GLOBAL $webnus_options;

    ?><!DOCTYPE html>

    <!–[if (gte IE 9)|!(IE)]><!–><html <?php language_attributes(); ?>> <!–<![endif]–>

    <head>

    <!– Basic Page Needs

    ================================================== –>

    <meta charset=»<?php bloginfo(‘charset’);?>»>

    <title><?php

    /***************************************/

    /* Title Generation Process

    /***************************************/

    global $page, $paged;

    wp_title( ‘|’, true, ‘right’ );

    bloginfo( ‘name’ );

    $site_description = get_bloginfo( ‘description’, ‘display’ );

    if ( $site_description && ( is_home() || is_front_page() ) )

    echo » | $site_description»;

    if ( $paged >= 2 || $page >= 2 )

    echo ‘ | ‘ . sprintf( __( ‘Page %s’ ,WEBNUS_TEXT_DOMAIN), max( $paged, $page ) );

    /***************************************/

    /* End Title Generation Process

    /***************************************/

    ?></title>

    <meta name=»description» content=»<?php

    /***************************************/

    /* Description Meta Tag Generator

    /***************************************/

    global $page_seo_meta;

    $seo_meta = !empty($page_seo_meta)?$page_seo_meta->the_meta():null;

    if( !empty( $seo_meta ) && !empty( $seo_meta[‘webnus_seo_options’][0][‘seo_desc’] ) )

    {

    echo($seo_meta[‘webnus_seo_options’][0][‘seo_desc’]);

    }else{

    if ( is_single() ) {

    single_post_title(», true);

    } else {

    bloginfo(‘name’); echo » – «; bloginfo(‘description’);

    }

    }

    /***************************************/

    /* End Description Meta Tag Generator

    /***************************************/

    ?>» />

    <meta name=»keywords» content=»<?php

    /***************************************/

    /* Keywords Meta Tag Generator

    /***************************************/

    global $page_seo_meta;

    $seo_meta = !empty($page_seo_meta)?$page_seo_meta->the_meta():null;

    if( !empty($seo_meta) && !empty($seo_meta[‘webnus_seo_options’][0][‘seo_keyword’]) )

    {

    echo($seo_meta[‘webnus_seo_options’][0][‘seo_keyword’]);

    }

    /***************************************/

    /* End Keywords Meta Tag Generator

    /***************************************/

    ?>» />

    <meta name=»author» content=»<?php echo get_bloginfo(‘name’); ?>»>

    <!– Mobile Specific Metas

    ================================================== –>

    <meta name=»viewport» content=»width=device-width, initial-scale=1, maximum-scale=1″>

    <!– JS

    ================================================== –>

    <?php wp_enqueue_script(«jquery»); ?>

    <!–[if lt IE 9]>

    <script src=»<?php echo get_template_directory_uri(); ?>/js/modernizr.custom.11889.js» type=»text/javascript»></script>

    <![endif]–>

    <!– HTML5 Shiv events (end)–>

    <!– Favicons ================================================== –>

    <?php if($webnus_options->webnus_fav_icon()): ?>

    <link rel=»shortcut icon» href=»<?php echo $webnus_options->webnus_fav_icon(); ?>»>

    <?php else: ?>

    <link rel=»shortcut icon» href=»<?php echo get_template_directory_uri(); ?>/images/favicon.ico»>

    <?php endif; ?>

    <?php

    /***************************************/

    /* Apple Device Icons

    /***************************************/

    $iphone_icon = $webnus_options->webnus_apple_iphone_icon();

    $ipad_icon = $webnus_options->webnus_apple_ipad_icon();

    ?>

    <?php if(!empty($iphone_icon)) { ?>

    <link rel=»apple-touch-icon-precomposed» href=»<?php echo $iphone_icon ?>»/>

    <?php } ?>

    <?php if(!empty($ipad_icon)) { ?>

    <link rel=»apple-touch-icon-precomposed» sizes=»72×72″ href=»<?php echo $ipad_icon; ?>»>

    <?php }

    /***************************************/

    /* End Apple Device Icons

    /***************************************/

    /***************************************

    All function that change the page appearance is located in function.php

    webnus_wphead_action hook wp_head action and attach codes to that

    Particular Page Background, Theme option page background and so on…

    /***************************************/

    /***********************************************************************************/

    /* wp_head() CALL to load default initialization of wordpress

    /***********************************************************************************/

    wp_head();

    ?>

    </head>

    <body <?php body_class(‘default-header’); ?>>

    <!– Primary Page Layout

    ================================================== –>

    <div id=»<?php echo $webnus_options->webnus_get_layout(); ?>» class=»colorskin-<?php echo $webnus_options->webnus_color_skin(); ?>»>

    <?php

    /******************/

    /** Load Topbar Template

    /******************/

    get_template_part(‘parts/topbar’);

    /******************/

    /** End Load Topbar Template

    /******************/

    $menu_type = $webnus_options->webnus_header_menu_type();

    switch($menu_type)

    {

    case 1:

    get_template_part(‘parts/header1’);

    break;

    case 2:

    case 3:

    case 4:

    case 5:

    get_template_part(‘parts/header2’);

    break;

    default:

    get_template_part(‘parts/header1’);

    break;

    }

    /***************************************/

    /* If woocommerce available add page headline section.

    /***************************************/

    if( ‘product’ == get_post_type( $post->ID ))

    {

    if( (function_exists(‘is_product’) && $webnus_options->webnus_woo_product_title_enable()) ){

    ?>

    <section id=»headline»>

    <div class=»container»>

    <h3><?php

    if( function_exists(‘is_product’) ){

    if( is_product() )

    echo $webnus_options->webnus_woo_product_title() ;

    }

    ?></h3>

    </div>

    </section><?php

    }

    if((function_exists(‘is_product’) && !is_product()) && $webnus_options->webnus_woo_shop_title_enable())

    {?>

    <section id=»headline»>

    <div class=»container»>

    <h3><?php

    echo $webnus_options->webnus_woo_shop_title() ;

    ?></h3>

    </div>

    </section>

    <?php }

    /***************************************/

    /* End woocommerce section

    /***************************************/

    ?>

    <section class=»container» >

    <!– Start Page Content –>

    <hr class=»vertical-space»>

    <?php

    }

    ?>

    • hola,
      hice una pagina template,
      estoy tomando las imagenes de los post de una categoria.

      quisiera saber como puedo hacer para que me la imagen tenga un link a una pagina externa, por ejemplo, sacándolo de «Relación del enlace» o «link rel»

      <?php
      /**
       *
       * Template Name: Residentes actuales
       *
       * Sólo para la sección historial de actividad o que pasó.
       *
       * @package dsframework
       * @since dsframework 1.0
       *
       */
      get_header(); ?>
      		<div id="primary" class="site-content">
      			<div id="content" role="main">
                    <?php
      					$page_num = $paged;
      					if ($pagenum='') $pagenum =1;
      					query_posts('cat=12&showposts=20&paged='.$page_num); ?>
      				<?php while ( have_posts() ) : the_post(); ?>
      
      					<?php if ( $images = get_posts(array(
      		'post_parent' => $post->ID,
      		'post_type' => 'attachment',
      		'numberposts' => -1,
      		'post_mime_type' => 'image',)))
      	{
      		foreach( $images as $image ) {
      			$attachmenturl=wp_get_attachment_url($image->ID);
      			$attachmentimage=wp_get_attachment_image_src( $image->ID, full );
      			$imageDescription = apply_filters( 'the_description' , $image->post_content );
      			$imageTitle = apply_filters( 'the_title' , $image->post_title );
      
      			if (!empty($imageDescription)) {
      				echo '<a href="'.$imageDescription .'"><img src="' . $attachmentimage[0] . '" alt=""  /></a>';
      				} else { echo '<img src="' . $attachmentimage[0] . '" alt="" />'; }
      					}
      				} else {
      					echo "No Image";
      				}?>
                    		<div id="extracto-historial"><?php the_excerpt() ?></div>
      
      				<?php endwhile; ?>
      				<?php wp_pagenavi(); ?>
      			</div>
      		</div>
      <?php get_sidebar(); ?>
      <?php get_footer(); ?>
    • ¡Hola!

      Estoy instalando el tema «Siren» en mi blog pero el header no me convence.

      Le quiero meter un logo centrado (que enlace con la home del blog) y que aparezcan debajo los items del menú (y cambiarles el color).

      No sé si alguien me puede ayudar con esto, os lo agradecería mucho.

      Este es el código del archivo header.php:

      <?php
      /**
      * The Header for our theme.
      *
      * Displays all of the <head> section and everything up till <div id=»main»>
      *
      * @package web2feel
      * @since web2feel 1.0
      */
      ?><!DOCTYPE html>
      <html <?php language_attributes(); ?>>
      <head>
      <meta charset=»<?php bloginfo( ‘charset’ ); ?>» />
      <meta name=»viewport» content=»width=device-width» />
      <title><?php
      /*
      * Print the <title> tag based on what is being viewed.
      */
      global $page, $paged;

      wp_title( ‘|’, true, ‘right’ );

      // Add the blog name.
      bloginfo( ‘name’ );

      // Add the blog description for the home/front page.
      $site_description = get_bloginfo( ‘description’, ‘display’ );
      if ( $site_description && ( is_home() || is_front_page() ) )
      echo » | $site_description»;

      // Add a page number if necessary:
      if ( $paged >= 2 || $page >= 2 )
      echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘web2feel’ ), max( $paged, $page ) );

      ?></title>
      <link rel=»profile» href=»http://gmpg.org/xfn/11″ />
      <link rel=»pingback» href=»<?php bloginfo( ‘pingback_url’ ); ?>» />

      <link href=’http://fonts.googleapis.com/css?family=Lato:400,300,700,900&#8242; rel=’stylesheet’ type=’text/css’>

      <!–[if lt IE 9]>
      <script src=»<?php echo get_template_directory_uri(); ?>/js/html5.js» type=»text/javascript»></script>
      <![endif]–>

      <?php wp_head(); ?>
      </head>

      <body <?php body_class(); ?>>

      <div id=»page» class=»hfeed site container-12″>

      <header id=»masthead» class=»site-header container-12″ role=»banner»>
      <div class=»top cf «>

      <div class=»logo grid-4″>
      <h1><img src=»http://s515597928.mialojamiento.es/trial1392652602/wp-content/uploads/2014/02/mrs_roberts_barbie_collector_poppy_parker_lover_logo1.png»</h1>
      </div>

      <div id=»botmenu» class=»grid-8″>
      <?php wp_nav_menu( array( ‘container_id’ => ‘submenu’, ‘theme_location’ => ‘primary’,’menu_id’=>’web2feel’ ,’menu_class’=>’sfmenu’,’fallback_cb’=> ‘fallbackmenu’ ) ); ?>
      </div>
      </div>

      </header><!– #masthead .site-header –>

      <div id=»main» class=»site-main cf»>

      Y este el del archivo style.css:

      /*
      Theme Name: Siren
      Theme URL: http://www.fabthemes.com/siren/
      Description: Free WordPress theme released by fabthemes.com
      Author: Fabthemes
      Author URI: http://www.fabthemes.com
      Version: 1.0.0

      Resetting and rebuilding styles have been helped along thanks to the fine work of
      Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
      along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
      and Blueprint http://www.blueprintcss.org/
      */

      /* =Reset
      ————————————————————– */

      html, body, div, span, applet, object, iframe,
      h1, h2, h3, h4, h5, h6, p, blockquote, pre,
      a, abbr, acronym, address, big, cite, code,
      del, dfn, em, font, ins, kbd, q, s, samp,
      small, strike, strong, sub, sup, tt, var,
      dl, dt, dd, ol, ul, li,
      fieldset, form, label, legend,
      table, caption, tbody, tfoot, thead, tr, th, td {
      border: 0;
      font-family: inherit;
      font-size: 100%;
      font-style: inherit;
      font-weight: inherit;
      margin: 0;
      outline: 0;
      padding: 0;
      vertical-align: baseline;
      }
      html {
      font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
      overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
      -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
      -ms-text-size-adjust: 100%; /* http://www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
      }
      body {
      background: #fff;
      }
      article,
      aside,
      details,
      figcaption,
      figure,
      footer,
      header,
      hgroup,
      nav,
      section {
      display: block;
      }
      ol, ul {
      list-style: none;
      }
      table { /* tables still need ‘cellspacing=»0″‘ in the markup */
      border-collapse: separate;
      border-spacing: 0;
      }
      caption, th, td {
      font-weight: normal;
      text-align: left;
      }
      blockquote:before, blockquote:after,
      q:before, q:after {
      content: «»;
      }
      blockquote, q {
      quotes: «» «»;
      }
      a:focus {
      outline: none;
      }
      a:hover,
      a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
      outline: 0;
      }
      a img {
      border: 0;
      }

      /* =Global
      ———————————————– */

      body,
      button,
      input,
      select,
      textarea {
      color: #666666;
      font-family: Lato, sans-serif;
      font-size: 13px;
      font-size: 1.3rem;
      line-height: 1.6;
      }

      body{
      background:#fff url(http://s515597928.mialojamiento.es/trial1392652602/wp-content/uploads/2014/02/patter-fondo-dorado.jpg) top center repeat;
      }

      /* Headings */
      h1,h2,h3,h4,h5,h6 {
      clear: both;
      margin:0px 0px 10px 0px;
      }

      h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
      h1 { font-size: 24px; line-height: 30px; }
      h2 { font-size: 22px; line-height: 26px; }
      h3 { font-size: 18px; line-height: 24px; }
      h4 { font-size: 16px; line-height: 20px; }
      h5 { font-size: 14px; line-height: 18px; }
      h6 { font-size: 14px; line-height: 18px; }

      hr {
      background-color: #ccc;
      border: 0;
      height: 1px;
      margin-bottom: 1.5em;
      }

      /* Text elements */
      p {
      margin-bottom: 1.5em;
      }
      ul, ol {
      margin: 0 0 1.5em 3em;
      }
      ul {
      list-style: disc;
      }
      ol {
      list-style: decimal;
      }
      ul ul, ol ol, ul ol, ol ul {
      margin-bottom: 0;
      margin-left: 1.5em;
      }
      dt {
      font-weight: bold;
      }
      dd {
      margin: 0 1.5em 1.5em;
      }
      b, strong {
      font-weight: bold;
      }
      dfn, cite, em, i {
      font-style: italic;
      }
      blockquote {
      margin: 0 1.5em;
      }
      address {
      margin: 0 0 1.5em;
      }
      pre {
      background: #eee;
      font-family: «Courier 10 Pitch», Courier, monospace;
      font-size: 15px;
      font-size: 1.5rem;
      line-height: 1.6;
      margin-bottom: 1.6em;
      padding: 1.6em;
      overflow: auto;
      max-width: 100%;
      }
      code, kbd, tt, var {
      font: 15px Monaco, Consolas, «Andale Mono», «DejaVu Sans Mono», monospace;
      }
      abbr, acronym {
      border-bottom: 1px dotted #666;
      cursor: help;
      }
      mark, ins {
      background: #fff9c0;
      text-decoration: none;
      }
      sup,
      sub {
      font-size: 75%;
      height: 0;
      line-height: 0;
      position: relative;
      vertical-align: baseline;
      }
      sup {
      bottom: 1ex;
      }
      sub {
      top: .5ex;
      }
      small {
      font-size: 75%;
      }
      big {
      font-size: 125%;
      }
      figure {
      margin: 0;
      }
      table {
      margin: 0 0 1.5em;
      width: 100%;
      }
      th {
      font-weight: bold;
      }
      button,
      input,
      select,
      textarea {
      font-size: 100%; /* Corrects font size not being inherited in all browsers */
      margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
      vertical-align: baseline; /* Improves appearance and consistency in all browsers */
      *vertical-align: middle; /* Improves appearance and consistency in all browsers */
      }
      button,
      input {
      line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
      *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
      }
      button,
      html input[type=»button»],
      input[type=»reset»],
      input[type=»submit»] {
      border: 1px solid #ccc;
      border-color: #ccc #ccc #bbb #ccc;
      border-radius: 3px;
      background: #fafafa; /* Old browsers */
      background: -moz-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,#fafafa), color-stop(100%,#e6e6e6)); /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* IE10+ */
      background: linear-gradient(top, #fafafa 60%,#e6e6e6 100%); /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#fafafa’, endColorstr=’#e6e6e6′,GradientType=0 ); /* IE6-9 */
      box-shadow: inset 0 2px 1px #fff;
      color: rgba(0,0,0,.8);
      cursor: pointer; /* Improves usability and consistency of cursor style between image-type ‘input’ and others */
      -webkit-appearance: button; /* Corrects inability to style clickable ‘input’ types in iOS */
      font-size: 12px;
      font-size: 1.2rem;
      padding: 8px 20px;;
      text-shadow: 0 1px 0 rgba(255,255,255,.5);
      }
      button:hover,
      html input[type=»button»]:hover,
      input[type=»reset»]:hover,
      input[type=»submit»]:hover {
      background: #f5f5f5; /* Old browsers */
      background: -moz-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,#f5f5f5), color-stop(100%,#dcdcdc)); /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* IE10+ */
      background: linear-gradient(top, #f5f5f5 60%,#dcdcdc 100%); /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#f5f5f5′, endColorstr=’#dcdcdc’,GradientType=0 ); /* IE6-9 */
      border-color: #bbb #bbb #aaa #bbb;
      }
      button:focus,
      html input[type=»button»]:focus,
      input[type=»reset»]:focus,
      input[type=»submit»]:focus,
      button:active,
      html input[type=»button»]:active,
      input[type=»reset»]:active,
      input[type=»submit»]:active {
      border-color: #aaa #bbb #bbb #bbb;
      box-shadow: inset 0 2px 3px rgba(0,0,0,.15);
      box-shadow: inset 0 2px 2px rgba(0,0,0,.15);
      }
      input[type=»checkbox»],
      input[type=»radio»] {
      box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
      padding: 0; /* Addresses excess padding in IE8/9 */
      }
      input[type=»search»] {
      -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
      -moz-box-sizing: content-box;
      -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
      box-sizing: content-box;
      }
      input[type=»search»]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
      -webkit-appearance: none;
      }
      button::-moz-focus-inner,
      input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 http://www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
      border: 0;
      padding: 0;
      }
      input[type=text],
      input[type=email],
      textarea {
      color: #666;
      border: 1px solid #ccc;
      border-radius: 3px;
      }
      input[type=text]:focus,
      input[type=email]:focus,
      textarea:focus {
      color: #111;
      }
      input[type=text],
      input[type=email] {
      padding: 7px 10px;
      }
      textarea {
      overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
      padding-left: 8px 10px;
      vertical-align: top; /* Improves readability and alignment in all browsers */
      width: 98%;
      }

      /* Links */
      a {
      color: #FC541F;
      text-decoration: none;
      }
      a:visited {
      color: #FC541F;
      }
      a:hover,
      a:focus,
      a:active {
      color: #A05C03;
      }

      /* Alignment */
      .alignleft {
      display: inline;
      float: left;
      margin-right: 1.5em;
      }
      .alignright {
      display: inline;
      float: right;
      margin-left: 1.5em;
      }
      .aligncenter {
      clear: both;
      display: block;
      margin: 0 auto;
      }

      .clear{
      clear:both;
      }
      /* Text meant only for screen readers */
      .assistive-text {
      clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
      clip: rect(1px, 1px, 1px, 1px);
      position: absolute !important;
      }

      /* Clearfix */
      .cf:before,
      .cf:after {
      content: » «; /* 1 */
      display: table; /* 2 */
      }

      .cf:after {
      clear: both;
      }

      /* =Content
      ———————————————– */

      .sticky {
      }
      .hentry {
      margin: 0 0 2em;
      }
      .entry-meta {
      clear: both;
      }
      .byline {
      display: none;
      }
      .single .byline,
      .group-blog .byline {
      display: inline;
      }
      .entry-content,
      .entry-summary {
      margin: 1.5em 0 0;
      }
      .page-links {
      clear: both;
      margin: 0 0 1.5em;
      }

      /* =Asides
      ———————————————– */

      .blog .format-aside .entry-title,
      .archive .format-aside .entry-title {
      display: none;
      }

      /* =Media
      ———————————————– */

      .site-header img,
      .entry-content img,
      .comment-content img,
      .widget img {
      max-width: 100%; /* Fluid images for posts, comments, and widgets */
      }
      .site-header img,
      .entry-content img,
      img[class*=»align»],
      img[class*=»wp-image-«] {
      height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
      }
      .site-header img,
      .entry-content img,
      img.size-full {
      max-width: 100%;
      width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
      }
      .entry-content img.wp-smiley,
      .comment-content img.wp-smiley {
      border: none;
      margin-bottom: 0;
      margin-top: 0;
      padding: 0;
      }
      .wp-caption {
      border: 1px solid #ccc;
      max-width: 100%;
      }
      .wp-caption.aligncenter,
      .wp-caption.alignleft,
      .wp-caption.alignright {
      margin-bottom: 1.5em;
      }
      .wp-caption img {
      display: block;
      margin: 1.2% auto 0;
      max-width: 98%;
      }
      .wp-caption-text {
      text-align: center;
      }
      .wp-caption .wp-caption-text {
      margin: 0.8075em 0;
      }
      .site-content .gallery {
      margin-bottom: 1.5em;
      }
      .gallery-caption {
      }
      .site-content .gallery a img {
      border: none;
      height: auto;
      max-width: 90%;
      }
      .site-content .gallery dd {
      margin: 0;
      }
      .site-content .gallery-columns-4 .gallery-item {
      }
      .site-content .gallery-columns-4 .gallery-item img {
      }

      /* Make sure embeds and iframes fit their containers */
      embed,
      iframe,
      object {
      max-width: 100%;
      }

      /* =Navigation
      ———————————————– */

      .site-content .site-navigation {
      margin: 0 0 1.5em;
      overflow: hidden;
      background:#fafafa;
      border:1px solid #ddd;
      }
      .site-content .nav-previous {
      float: left;
      width: 50%;
      color:#aaa;

      }

      .site-content .nav-next {
      float: right;
      text-align: right;
      width: 50%;
      color:#aaa;

      }

      .site-content .nav-previous a , .site-content .nav-next a{
      margin:20px;
      display:block;
      color:#aaa;
      font-weight:bold;
      }

      /* =Head
      ———————————————– */

      .top{
      background:#efefef;
      border-bottom:10px solid #FC541F;
      border-radius:3px 3px 0px 0px;
      }

      .logo{
      padding:25px 0px;
      }

      h1.site-title{
      font-weight:900;
      text-transform:uppercase;
      font-size:32px;
      line-height:100%;
      margin:10px 10px 0px 10px;
      }

      h1.site-title a:link, h1.site-title a:visited{
      font-family: Lato;
      color:#fff;
      text-decoration: none;
      }

      h2.site-description{
      font-size:16px;
      margin:0px 10px 0px 10px;

      }

      /* =Top menu
      ———————————————– */

      #botmenu{

      font-size: 14px;
      z-index:100;
      position:relative;
      }

      #submenu {
      margin: 0px 0px;
      padding:0px 0px;

      }

      #submenu ul {
      width: auto;
      float:left;
      list-style: none;
      margin: 24px 0px;
      padding: 0 0px;
      }

      #submenu li {
      float: left;
      list-style: none;
      margin: 0;
      padding: 0;
      color: #fff;
      font-weight:400;

      }

      #submenu li a {
      color: #fff;
      display: block;
      margin: 0;
      padding: 19px 10px 19px 10px;
      text-decoration: none;
      position: relative;
      }

      #submenu li a:hover, #submenu li a:active, #submenu .current_page_item a {
      color: #fff;

      }

      #submenu li a.sf-with-ul {
      padding-right: 10px;
      }

      #submenu li ul li a, #submenu li ul li a:link, #submenu li ul li a:visited,
      #submenu li ul li ul li a, #submenu li ul li ul li a:link, #submenu li ul li ul li a:visited,
      #submenu li ul li ul li ul li a, #submenu li ul li ul li ul li a:link, #submenu li ul li ul li ul li a:visited {
      color: #fff;
      width: 148px;
      margin: 0;
      padding: 10px 10px;
      border-top:1px solid rgba(255, 255, 255, 0.2);
      position: relative;
      font-weight:400;

      }

      #submenu ul li ul li:first-child a,#submenu ul li ul li ul li:first-child a,#submenu ul li ul li ul li ul li:first-child a {
      border-top:none;

      }

      #submenu li ul li a:hover ,#submenu li ul li ul li a:hover ,#submenu li ul li ul li ul li a:hover {
      color: #fff;
      }

      #submenu li ul {
      z-index: 9999;
      position: absolute;
      left: -999em;
      height: auto;
      width: 170px;
      margin: 0px 0px 0px 0px;
      padding: 5px 5px;
      background:#FC541F;

      }

      #submenu li ul a {
      width: 150px;
      }

      #submenu li ul a:hover, #submenu li ul a:active {
      }

      #submenu li ul ul {
      margin: -48px 0 0 181px;
      }

      #submenu li:hover ul ul, #submenu li:hover ul ul ul, #submenu li.sfHover ul ul, #submenu li.sfHover ul ul ul {
      left: -999em;
      }

      #submenu li:hover ul, #submenu li li:hover ul, #submenu li li li:hover ul, #submenu li.sfHover ul, #submenu li li.sfHover ul, #submenu li li li.sfHover ul {
      left: auto;
      }

      #submenu li:hover, #submenu li.sfHover {
      position: static;
      }

      select#mobileMenu_fabthemes{
      width:100%;
      padding:5px 5px;
      margin: 10px 0px ;
      border:1px solid #000;
      -webkit-border-radius:4px;
      -moz-border-radius:4px;
      border-radius:4px;
      box-shadow: none; ;
      background: #444;
      color:#ddd;
      outline:none;
      display: inline-block;
      -webkit-appearance:none;
      -moz-appearance:none;
      appearance:none;
      cursor:pointer;
      }

      /* =Layout
      ———————————————– */
      #page{
      margin:30px auto;
      }

      .site{
      background:#fff;
      margin:0px 0px;
      }
      #primary,#secondary{
      padding:30px 0px;
      }

      /* =Home
      ———————————————– */

      .article-box{
      padding:10px;
      margin:20px 10px 20px 10px;
      border:1px solid #ddd;
      background:#fafafa;
      }

      .homegallery{
      position:relative;

      }

      h2.hpost-title{
      position: absolute;
      left: 0px;
      bottom: 30px;
      background:#fafafa;
      color:#222;
      padding:10px 10px;
      margin:0px;
      font-weight:300;
      text-transform:uppercase;
      font-size:20px;
      }

      h2.hpost-title a:link,h2.hpost-title a:visited {
      color:#222;
      }

      .home-post{
      padding-top:10px;
      }

      .readon{
      background:#FC541F;
      color:#fff;
      padding:5px 10px;
      float:right;
      }

      .readon a:link, .readon a:visited{
      color:#fff;
      }

      /* =Articles
      ———————————————– */

      #content{
      margin:0px 10px;
      }

      .entry-header{
      padding-left:10px;
      }

      h1.page-title{
      font-size:16px;
      padding:0px 0px 0px 0px;
      }

      h2.entry-title{
      font-size:15px;
      font-weight:bold;
      color: #111;
      margin:10px 0px 0px 0px;
      }

      h2.entry-title a:link, h2.entry-title a:visited{
      color:#111;
      }

      h1.entry-title {
      padding:0px 0px 0px 0px;
      margin:0px 0px;
      color:#111;
      font-weight:bold;
      }

      h1.entry-title a:link, h1.entry-title a:visited{
      color:#111;

      }

      .postimg{
      margin-bottom: 20px;
      }

      .arcimg{
      float:left;
      margin:5px 20px 20px 0px
      }
      /* =Widgets
      ———————————————– */

      .widget {
      margin: 0 10px 1.5em 10px;
      }

      h1.widget-title, h3.sidetitl {
      font-size: 16px;
      padding:0px 20px 10px 0px;
      margin:0px;
      color:#111;
      font-weight: bold;
      }

      .widget ul {
      list-style-type: none;
      margin: 0px;
      padding: 0px 0px;
      }

      .widget li {
      list-style-type: none;
      margin: 0px;
      padding: 0px;
      }

      .widget ul ul {
      list-style-type: none;
      background-repeat: no-repeat;
      margin: 0px;
      padding: 0px;
      }

      .widget ul li {
      list-style-type: none;
      margin: 0px;
      margin: 0px 0px;
      color: #777;
      }

      .widget ul li a:link,.widget ul li a:visited {
      color: #777;
      text-decoration: none;
      }

      .widget ul li a:hover{
      color:#444;
      }

      .widget.widget_categories ul li,.widget.widget_pages ul li,.widget.widget_archive ul li,.widget.widget_links ul li,.widget.widget_meta ul li {
      border-bottom: 1px solid #eee;
      padding: 5px 0px;
      }

      .widget.widget_recent_entries ul li {
      padding: 5px 0px;
      border-bottom: 1px solid #eee;
      }

      ul#recentcomments li.recentcomments {
      border-bottom: 1px solid #eee;
      padding: 5px 0;
      }

      .widget .textwidget p {
      padding: 0px 0px;
      }

      .squarebanner{

      }

      .squarebanner ul{
      margin:0px 0px 0px 0px;
      padding:0px 0px 10px 0px !important;

      }

      .squarebanner ul li{
      margin:10px 20px 5px 0px;
      list-style:none;
      float:left;
      }

      li.rbanner{
      margin-right:0px!important;
      }

      /* Search form */

      input#s{
      width:90%;
      }

      input#searchsubmit{
      display:none;
      }

      /* COMMENTS */
      #comments {
      margin: 20px 0px 20px 0px;
      padding: 0px 0px;

      }

      h2.comments-title {
      padding: 0px 0px 0px 40px ;
      font-size: 16px;
      line-height: 30px;
      margin: 0px 0px 30px 0px;
      color: #111;
      font-weight:700;
      text-transform: uppercase;
      display:block;
      cursor: pointer;
      background:url(../Mis%20documentos/images/arrowdown.png) no-repeat;

      }

      h2.active{
      background:url(../Mis%20documentos/images/arrowup.png) no-repeat;

      }

      #comments ol.commentlist {
      clear: both;
      overflow: hidden;
      list-style: none;
      margin: 0;
      }
      .space{
      height:30px;
      display:block;
      }
      #comments ol.commentlist li.comment,#comments ol.commentlist li.pingback {
      margin: 0px 0px;
      padding: 0px 0px;

      }

      cite.fn {
      color: #fff;
      font-style:normal;
      font-weight:bold;
      font-size:13px;
      }

      cite.fn a:link,cite.fn a:visited {
      color:#fff;
      }
      span.says{
      display:none;
      }

      ol.commentlist li .comment-author .avatar {
      margin: 0px 10px 0px 0px;
      float:left;
      }

      ol.commentlist li .comment-meta .commentmetadata {
      color: #000;

      }

      ol.commentlist li .comment-meta a {
      color: #ddd;
      text-decoration: none!important;
      }

      footer.cometa{
      background: #292929;
      padding:10px 10px;
      }
      .comment-content{

      border: 1px solid #ddd;
      }
      ol.commentlist li p {

      margin: 10px 10px;
      padding: 10px 10px;
      }

      ol.commentlist li .reply {
      float:right;
      background: #FC541F;
      color: #fff;
      font-size: 12px;
      padding:3px 10px;
      }

      ol.commentlist li .reply a {
      color:#fff;
      }

      ol.commentlist li ul.children {
      list-style: none;
      text-indent: 0;
      margin: 0px 0 0 0px 50px;
      }

      .comment-nav {
      height: 20px;
      padding: 5px;
      }

      .comment-nav a:link,.comment-nav a:visited {
      color: #777;
      }

      #respond {
      margin: 30px 0;

      }

      #respond h3 {
      font-size: 16px;
      font-weight: 700;
      color: #222;
      padding: 5px 0px;
      margin:0px 0px;
      }

      #commentform {
      padding: 0px 0px;
      }

      #commentform p {
      color: #777;
      margin: 5px 0;
      }

      .form-allowed-tags{
      font-size:13px;
      }

      #respond label {
      display:inline;
      color: #777;
      padding: 5px 0;
      }

      #respond input {
      background: #fff;
      border: 1px solid #ddd;
      color: #777;
      margin: 0 10px 10px 0;
      padding: 5px;
      }

      #commentform input {
      width: 50%;
      display:block;
      margin-top:5px;
      }

      #respond input#submit {
      width:130px;
      background:#eee;
      color: #555;
      cursor: pointer;
      margin: 10px 0;
      padding: 5px 10px;
      border: 1px solid #bbb;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      }

      textarea#comment {
      display:block;
      margin-top:5px;
      background: #fff;
      border: 1px solid #ddd;
      width: 70%;
      color: #333;
      margin: 5px 0 0;
      padding: 10px 10px;
      }

      .form-allowed-tags{
      padding:20px 0px;

      }

      ol.commentlist li .comment-meta,#respond label small {
      font-size: 10px;
      }

      ol.commentlist li ul.children li.depth-2,ol.commentlist li ul.children li.depth-3,ol.commentlist li ul.children li.depth-4,ol.commentlist li ul.children li.depth-5 {
      margin: 0 0 0 50px;
      }

      /* Footer-widget */

      #bottom{
      background: #292929;
      }

      #bottom ul{
      margin:0px;
      padding:0px;
      }

      h3.bothead{
      font-size: 16px;
      margin-bottom: 20px;
      color:#fff;
      font-weight:bold;
      }

      .botwid{
      padding:30px 10px;
      color:#d8d8d8;
      list-style:none;

      }

      .botwid ul {
      list-style-type: none;
      margin: 0px;
      padding: 0px 0px 0px 0px ;

      }
      .botwid li{
      list-style-type: none;
      margin: 0 ;
      padding: 0px 0px;
      border-bottom:1px solid #444;
      }
      .botwid ul ul {
      list-style-type: none;
      margin: 0;
      padding: 0px 0px 0px 0px;
      background-repeat:no-repeat;
      }

      .botwid ul ul ul{
      list-style-type: none;
      margin: 0;
      padding: 0;
      border:0;
      }

      .botwid ul ul ul ul{
      list-style-type: none;
      margin: 0;
      padding: 0;
      border:0;

      }

      .botwid ul li {
      height:100%;
      line-height:18px;
      clear: left;
      list-style-type: none;
      }

      .botwid ul li a:link, .botwid ul li a:visited {

      color: #999;
      text-decoration: none;
      padding: 7px 0px 7px 0px;
      display:block;

      }

      .botwid ul li a:hover{

      color: #fff;
      }

      .botwid p{
      padding: 7px 0px;
      margin:0;
      line-height:150%;
      color: #bbb;
      }

      /* Footer */

      .site-footer{
      background:#272727;
      padding:25px;
      text-align:center;
      color:#eee;
      }

      .fcred{
      color:#eee;
      font-size:12px;

      }

      .fcred a:link, .fcred a:visited{
      color:#eee;
      }

    Iniciador del debate Deckart81

    (@deckart81)

    Gracias por la información Shinjiru_fred No, no tiene la función que mencionas. Y he visto la información del enlace que facilitas del Codex, pero no consigo descifrar dentro de header.php dónde y cómo introducir el fragmento de código necesario para activarlo…

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <main id="main">
     *
     * @package Coller
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<?php do_action( 'coller-before' ); ?>
    	<header id="masthead" class="site-header" role="banner">
    		<div class="site-branding">
    <?php if((of_get_option('logo', true) != "") && (of_get_option('logo', true) != 1) ) { ?>
    			<h1 class="site-title logo-container"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
          <?php
    			echo "<img class='main_logo' src='".of_get_option('logo', true)."' title='".esc_attr(get_bloginfo( 'name','display' ) )."'></a></h1>";
    			}
    		else { ?>
    			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    		<?php
    		}
    		?>
    		</div>
    Iniciador del debate brunopress

    (@brunopress)

    Efectivamente pegué mal el código original así que cuando pego el modificado, se sale el link del logo y aparece un caracter al lado, el codigo para sacarle el login es este:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
        <head>
            <meta charset="<?php bloginfo('charset'); ?>" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <title><?php kopa_print_page_title(); ?></title>
            <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
            <link rel="shortcut icon" type="image/x-icon"  href="<?php echo get_option('kopa_theme_options_favicon_url'); ?>">
            <link rel="apple-touch-icon" sizes="57x57" href="<?php echo get_option('kopa_theme_options_apple_iphone_icon_url'); ?>">
            <link rel="apple-touch-icon" sizes="72x72" href="<?php echo get_option('kopa_theme_options_apple_ipad_icon_url'); ?>">
            <link rel="apple-touch-icon" sizes="114x114" href="<?php echo get_option('kopa_theme_options_apple_iphone_retina_icon_url'); ?>">
            <link rel="apple-touch-icon" sizes="144x144" href="<?php echo get_option('kopa_theme_options_apple_ipad_retina_icon_url'); ?>">
            <?php wp_head(); ?>
        </head>
        <?php $layout = get_option('kopa_theme_options_layout', 'wide');
        $layout = ( $layout === 'box' ? 'kopa-boxed' : '' );
        $layout .= 'heavy-dark-footer';
        ?>
        <body <?php body_class($layout); ?>>
    
            <div class="kopa-wrapper">
    
                <div class="kopa-background"></div>
    
                <header id="page-header">
                    <div id="header-top">
                        <div class="wrapper">
                            <div class="row-fluid">
                                <div class="span12 clearfix">
                                    <p class="hot-line"><?php echo get_option('kopa_theme_options_left_header_description'); ?></p>
                                    <div class="top-box clearfix">
                                        <ul class="top-link clearfix">
                                        <?php
                                        include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
                                        $users_can_register = get_option('users_can_register');
                                        if ( is_plugin_active( 'jigoshop/jigoshop.php' ) ) : ?>
    
    <li><?php
                                                $jigoshop_options = get_option('jigoshop_options');
                                                if ( isset($jigoshop_options['jigoshop_myaccount_page_id']) &&
                                                     is_numeric($jigoshop_options['jigoshop_myaccount_page_id']) )
                                                    $my_account_page_id = $jigoshop_options['jigoshop_myaccount_page_id'];
    
                                                if ( ! is_user_logged_in() ) {
                                                    if ( $users_can_register ) {
                                                        wp_register('', '');
                                                        echo ' / ';
                                                    }
                                                    if ( isset( $my_account_page_id ) )
                                                        echo '<a href="'.get_page_link($my_account_page_id).'">'.__('Log in', kopa_get_domain()).'</a>';
                                                } else {
                                                    if ( isset( $my_account_page_id ) ) {
                                                        echo '<a href="'.get_page_link($my_account_page_id).'">'.__('My Account', kopa_get_domain()).'</a>';
                                                        echo ' / ';
                                                    }
                                                    echo '<a href="'.wp_logout_url( home_url() ).'" title="'.__('Logout', kopa_get_domain()).'">'.__('Logout', kopa_get_domain()).'</a>';
                                                }
                                            ?></li>
    <li>
                                            <?php
                                            $cart_contents = jigoshop_cart::$cart_contents;
                                            $total = 0;
                                            $currency = $jigoshop_options['jigoshop_currency'];
                                            $cart_page_id = $jigoshop_options['jigoshop_cart_page_id'];
    
                                            if ( ! empty( $cart_contents ) ) {
                                                foreach ( $cart_contents as $key => $values ) {
                                                    // Get product instance
                                                    $_product = $values['data'];
                                                    $total += $_product->get_price() * $values['quantity'];
                                                }
                                            }
    
                                            if ( ! empty( $cart_page_id ) )
                                                echo '<a href="'.get_page_link( $cart_page_id ).'">';
    
                                            _e('Shopping Cart', kopa_get_domain()); ?> - <?php echo jigoshop_price( $total ); ?>
    
                                            <?php if ( ! empty( $cart_page_id ) )
                                                echo '</a>';
                                            ?>
                                            </li>
                                        <?php else: ?>
    
    <li><?php if ( $users_can_register ) {
                                                    wp_register('', '');
                                                    echo ' / ';
                                            }
                                            wp_loginout();
                                            ?></li>
                                        <?php endif; ?>
    
                                        <div class="search clearfix">
                                            <a href="#" title="Search">Search</a>
                                            <?php get_search_form(); ?>
                                        </div><!--search-->
                                    </div><!--top=box-->
                                </div><!--span12-->
                            </div><!--row-fluid-->
                        </div><!--wrapper-->
                    </div><!--header-top-->
    
                    <div id="header-bottom" class="cbp-af-header">
                        <div class="wrapper">
                            <div class="row-fluid">
                                <div class="span12 clearfix">
                                    <div id="logo-image">
                                        <a>">
                                            <?php $logo = get_option( 'kopa_theme_options_logo_url' );
                                            if ($logo) :
                                            ?>
                                            <img src="<?php echo $logo; ?>" alt="<?php bloginfo('name'); ?> <?php _e( 'Logo', kopa_get_domain() ); ?>">
                                            <?php
                                            endif;
                                            ?>
                                        </a>
                                    </div><!--logo-image-->
                                    <nav id="main-nav">
                                        <?php 
    
                                        if ( has_nav_menu('main-nav') ) {
                                            $main_menu_walker = new kopa_main_menu();
                                            wp_nav_menu( array(
                                                'theme_location' => 'main-nav',
                                                'container'      => '',
                                                'items_wrap'     => '<ul id="main-menu" class="clearfix">%3$s',
                                                'walker'         => $main_menu_walker
                                            ) );
    
                                            $mobile_menu_walker = new kopa_mobile_menu();
                                            wp_nav_menu( array(
                                                'theme_location' => 'main-nav',
                                                'container'      => 'div',
                                                'container_id'   => 'mobile-menu',
                                                'items_wrap'     => '<span>'.__( 'Menu', kopa_get_domain() ).'</span><ul id="toggle-view-menu">%3$s',
                                                'walker'         => $mobile_menu_walker
                                            ) );
                                        }
                                        ?>
                                    </nav><!--main-nav-->
                                </div><!--span12-->
                            </div><!--row-fluid-->
                        </div><!--wrapper-->
                    </div><!--header-bottom-->
                </header><!--page-header-->
    Foro: WordPress Avanzado
    En respuesta a: loop con filtro

    Lo que hace es crear una consulta personalizada a la categoria: actualidad y muestra una entrada de dicha categoria.

    $my_query = new WP_Query('category_name=actualidad&showpost=1');

    Mientras exista una entrada imprime el titulo del blog.

    while($my_query->have_posts()):$my_query->the_post();$do_notduplicate = $post->ID;?>
    <h1 class="titulo_not"><?php bloginfo('the_title');?></h1>
    <h2><?php bloginfo('the_title');?></h2>

    Si la entrada tiene una imagen destacada mostrarla con una clasepersonalizada.

    the_post_thumbnail('thumbnail','class=miniatura_noticia');

    Al final imprime el extracto de la entrada, el autor y la categoria de la entrada en este caso: actualidad.

    <?php the_excerpt();?>
    <p>autor:<?php the_author();?></p>
    <p>categoria:<?php the_category() ?></p>
    • buenas no encuentro la manera de cambiar el codigo de color del submenu desplegable y necesito cambiarlo urgentemente para un cliente, pero por defecto biene en azul y en la plantilla no viene la opcion de cambiarlo, asi que me puse manos a la obra buscando concretamente ese codigo en «style.css y en header.php» pero no consigo dar con el y me estoy volviendo un poco loco. Para ayudar un poco mas a los que me ayuden…aqui les dejo mas informacion. Espero pronto una respuesta y mucha gracias.
      ————————————————————————
      NOMBRE DE LA PLANTILLA: Bootstrap Parallax, o Twitter Bootstrap Parallax

      CODIGO COMPLETO DE STYLE.CSS:
      ————————————————————————
      /*
      Theme Name: Bootstrap Parallax
      Theme URI: http://braginteractive.com
      Description: Parallax Twitter Bootstrap WordPress Theme

      Author: Brag Interactive
      Author URI: http://braginteractive.com
      Version: 2.3.1
      Tags: bootstrap, twitter

      Copyright (C) 2011-2013 Brag Interactive
      License: GNU General Public License, version 3 (GPLv3)
      License URI: license.txt

      CREATE CHILD THEME.
      See: http://codex.wordpress.org/Child_Themes
      */

      #intro {
      background: url(images/intro.png) 50% 0 fixed;
      height: auto;
      margin: 0 auto;
      width: 100%;
      position: relative;
      box-shadow: 0 0 50px rgba(0,0,0,0.8);
      padding: 100px 0;
      }
      #middle {
      background: url(images/home.jpg) 50% 0 fixed;
      height: auto;
      margin: 0 auto;
      width: 100%;
      position: relative;
      box-shadow: 0 0 50px rgba(0,0,0,0.8);
      padding: 200px 0;
      }
      #footer {
      background: url(images/about.png) 50% 0 fixed;
      height: auto;
      margin: 0 auto;
      width: 100%;
      position: relative;
      box-shadow: 0 0 50px rgba(0,0,0,0.8);
      padding: 100px 0;
      color: #fff;
      }

      /* Non-essential demo stuff */
      .hero-unit {
      background-color: #fff;
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
      }
      .media-object { width: 64px; height: 64px; padding-bottom: 30px }

      /* =Horizontal Rule
      ————————————————————– */
      hr {
      background:#ddd;
      border:none;
      clear:both;
      color:#ddd;
      float:none;
      height:.1em;
      margin:0 0 1.45em;
      width:100%;
      }

      hr.space {
      background:#fff;
      color:#fff;
      }

      hr.blog-break{
      margin: 55px 0;
      }

      /* =Base
      ————————————————————– */
      html {

      }

      body {
      }

      /* =Typography
      ————————————————————– */
      p {
      word-wrap:break-word;
      }

      cite, em, dfn {
      font-style:italic;
      }

      code, kbd, samp, pre, tt, var {
      font-family:Consolas, «Bitstream Vera Sans Mono», «Courier New», Courier, monospace !important;
      font-style:normal;
      }

      strong {
      font-weight:700;
      }

      pre {
      background:#fff;
      margin-top:20px;
      max-width:98%;
      padding-left:1em;
      height:auto;
      }

      del {
      color:#555;
      text-decoration:line-through;
      }

      ins, dfn {
      border-bottom:1px solid #ccc;
      }

      small, sup, sub {
      font-size:85%;
      }

      abbr, acronym {
      font-size:85%;
      letter-spacing:.1em;
      text-transform:uppercase;
      }

      a abbr, a acronym {
      border:none;
      }

      abbr[title], acronym[title], dfn[title] {
      border-bottom:1px solid #ccc;
      cursor:help;
      }

      sup {
      vertical-align:super;
      }

      sub {
      vertical-align:sub;
      }

      img {
      height:auto;
      max-width:100%;
      }

      /* =Forms
      ————————————————————– */
      fieldset {
      margin:0 0 1.5em;
      padding:1em 2em;
      }

      legend {
      padding:2px 5px;
      }

      label {
      display:block;
      font-weight:700;
      padding:2px 0;
      }

      select {
      height:auto;
      width:70%;
      }

      textarea, .area {
      height:auto;
      overflow:auto;
      margin:0;
      outline:none;
      padding:8px 10px;
      width:100%;
      }

      input, select {
      cursor:pointer;
      }

      input:focus, textarea:focus, area:focus {
      background:#fff;
      }

      input[type=’text’], input[type=’password’] {
      cursor:text;
      }

      span.error {
      color: #B94A48;
      }

      .form-search input {
      padding-right: 14px;
      padding-right: 4px 9;
      padding-left: 14px;
      padding-left: 4px 9;
      padding: 4px 6px;
      }

      .form-search .btn {
      margin: 0;
      }

      /* =Tables
      ————————————————————– */
      table {
      /*border-left:1px solid #ccc;*/
      /*border-top:1px solid #ccc;*/
      width:100%;
      }

      th, td {
      /*border-bottom:1px solid #ddd;*/
      /*border-right:1px solid #ccc;*/
      }

      /* =Lists
      ————————————————————– */
      ul {
      list-style-type:disc;
      }

      ul ul {
      list-style-type:square;
      }

      ul ul ul {
      list-style-type:circle;
      }

      ol {
      line-height:22px;
      list-style-position:outside;
      list-style-type:decimal;
      }

      dt {
      font-weight:400;
      }

      /* =Margins & Paddings
      ————————————————————– */
      blockquote:first-child {
      margin:.8em 0;
      }

      hr, p, ul, ol, dl, pre, blockquote, address, table, form {

      }

      h1 {

      }

      h2 {

      }

      h3 {

      }

      h4 {

      }

      h5 {

      }

      h6 {

      }

      th, td {

      }

      caption {
      padding-bottom:.8em;
      }

      blockquote {

      }

      fieldset {

      }

      legend {
      padding-left:.8em;
      padding-right:.8em;
      }

      legend+* {
      margin-top:1em;
      }

      textarea, input {

      }

      select {

      }

      option {
      padding:0 .4em;
      }

      a {

      }

      dt {

      }

      ul {

      }

      ol {

      }

      ol ol, ul ol {

      }

      form div {

      }

      /* =Globals
      ————————————————————– */
      #container {
      margin:0 auto;
      max-width:960px;
      padding:0px 25px;
      }

      #wrapper {

      }

      #header {
      margin:0;
      }

      #footer {

      }

      /* =Container IE Fixes (Modernizr)
      ————————————————————– */
      .ie7 #container {
      max-width:961px;
      }

      /* =Header
      ————————————————————– */
      #header #logo {
      float:left;
      margin:0;
      }

      #header #logo .site-name {
      display:block;
      font-size:2em;
      padding-top:20px;
      }

      #header #logo .site-name a {
      font-weight:700;
      }

      .navbar-fixed-top {
      margin-bottom: 18px !important;
      }

      .home .navbar-fixed-top {
      margin-bottom: 10 !important;
      }

      /* =Content
      ————————————————————– */
      #content {
      margin-bottom:100px;
      }

      #content-archive {
      margin-bottom:100px;
      }

      #content-blog {
      margin-bottom:100px;
      }

      #content-images {
      margin-bottom:100px;
      }

      #content-full {
      margin-bottom:100px;
      }

      #content-sitemap {
      margin-bottom:100px;
      }

      #content-sitemap a {
      font-size:12px;
      }

      #content .sticky {
      clear:both;
      }

      #content .sticky p {
      }

      #content .bypostauthor {
      }

      /* =Author Meta (Author’s Box)
      ————————————————————– */
      #author-meta {
      background:#f9f9f9;
      border:1px solid #d6d6d6;
      clear:both;
      display:block;
      margin-bottom:20px;
      overflow:hidden;
      }

      #author-meta img {
      float:left;
      padding:10px;
      }

      #author-meta p {
      margin-top:5px;
      padding:0 5px 0 0;
      }

      #author-meta .about-author {
      font-weight:700;
      margin:10px 0 0 0;
      }

      /* =Post
      ————————————————————– */
      .comments-link {
      font-size:12px;
      }

      #respond .form-allowed-tags {
      display:none !important;
      }

      #cancel-comment-reply-link {
      color:#900;
      }

      .post-data {
      clear:both;
      font-size:11px;
      margin-top:20px;
      }

      .post-entry {
      clear:both;
      }

      .post-meta {
      clear:both;
      color:#9f9f9f;
      font-size:13px;
      margin-bottom:10px;
      }

      .post-edit {
      clear:both;
      display:block;
      font-size:12px;
      margin:1.5em 0;
      }

      .post-search-terms {
      clear:both;
      }

      .read-more {
      clear:both;
      }

      .attachment-entry {
      clear:both;
      text-align:center;
      }

      /* =Symbols
      ————————————————————– */
      .ellipsis {
      color:#aaa;
      font-size:18px;
      margin-left:5px;
      }

      /* =Widgets
      ————————————————————– */
      .widget-wrapper {

      }

      .widget-wrapper-left {

      }

      #widgets {

      }

      .home #widgets {
      }

      #widgets a {
      display:inline-block;
      text-decoration:none;
      }

      #widgets ul, #widgets .textwidget, #widgets .tagcloud, #widgets #searchform, #widgets #calendar_wrap {

      font-size:13px;
      margin:0 0 20px;
      padding:10px 0 20px 0;
      list-style: none;
      }

      .home #widgets ul, .home #widgets .textwidget, .home #widgets .tagcloud, .home #widgets #searchform, .home #widgets #calendar_wrap {
      border-top:none;
      font-size:13px;
      margin:0 0 20px;
      padding:20px;
      border: none;
      }

      #widgets ul li {
      margin-left:15px;
      }

      #widgets ul li a {
      display:inline;
      text-decoration:none;
      }

      #widgets .widget-title img {
      float:right;
      height:11px;
      position:relative;
      top:4px;
      width:11px;
      }

      #widgets .rss-date {
      line-height:18px;
      padding:6px 12px;
      }

      #widgets .rssSummary {
      padding:10px;
      }

      #widgets cite {
      font-style:normal;
      line-height:18px;
      padding:6px 12px;
      }

      #widgets .textwidget, #widgets .tagcloud {
      display:block;
      line-height:1.5em;
      margin:0 0 20px;
      word-wrap:break-word;
      }

      #widgets .textwidget a {

      }

      #widgets ul .children {
      border:none;
      margin:0;
      padding:0;
      }

      #widgets .author {
      font-weight:700;
      padding-top:4px;
      }

      .widget_archive select, #cat {
      display:block;
      margin:20px 15px 0;
      }

      /* =Titles
      ————————————————————– */
      .widget-title, .widget-title-home h3 {
      display:block;
      font-size:20px;
      font-weight:700;
      line-height:23px;
      margin:0;
      padding:20px 0 0 0;
      text-align:left;
      }

      .home .widget-title-home h3 {
      border-bottom:none;
      display:block;
      font-size:24px;
      font-weight:700;
      line-height:23px;
      margin:0;
      padding:20px 20px 0 20px;
      text-align:left;
      border: none;
      }

      .widget-title a {
      border-bottom:none;
      padding:0!important;
      }

      .title-404 {
      color:#933;
      }

      /* =Pagination (pages)
      ————————————————————– */
      .pagination {
      clear:both;
      display:block;
      font-size:16px;
      font-weight:700;
      margin:10px 0;
      padding:5px 0;
      }

      .pagination a {
      text-decoration:none;
      }

      .pagination a:hover, .pagination a:active {
      }

      /* =Breadcrumb Lists
      ————————————————————– */
      .breadcrumb-list {
      font-size:12px;
      padding:40px 0 0 0;
      }

      /* =Comments
      ————————————————————– */
      #commentform {
      margin:0;
      }

      .commentlist {

      list-style:none;
      margin:0;
      padding:0;
      }

      .commentlist ol {
      list-style:decimal;
      }

      .commentlist li {
      -webkit-border-radius:4px;
      -moz-border-radius:4px;

      border-radius:4px;
      margin:0;
      padding:1em;
      }

      .commentlist li p {
      font-size:14px;
      }

      .commentlist p {
      margin:0;
      }

      .reply {
      margin:10px 0;
      }

      .commentlist li cite {
      color:#111;
      font-size:1.1em;
      font-style:normal;
      font-weight:400;
      }

      .commentlist li.alt {

      }

      .commentlist .children {
      list-style:none;
      margin:0;
      }

      .commentlist .avatar {
      -webkit-border-radius:2px;
      -moz-border-radius:2px;
      border-radius:2px;
      float:left;
      margin-right:10px;
      padding:0;
      vertical-align:middle;
      }

      .commentlist .children .avatar {
      height:33px;
      width:33px;
      }

      .comment-author .fn {
      }

      .comment-author .says {
      color:#999;
      }

      .comment-body .comment-meta {
      color:#999;
      display:inline-block;
      margin:0;
      padding:0;
      text-align:left;
      }

      .comment-body {
      clear:both;
      }

      .comment-body p {
      clear:both;
      padding-top:10px;
      }

      .comment-body .reply {
      }

      .pingback, .trackback {
      list-style:none;
      margin:20px 0;
      }

      .pingback cite, .trackback cite {
      font-style:normal;
      }

      #comments, #pings {
      text-align:left;
      }

      #respond {
      -moz-border-radius:2px;
      -webkit-border-radius:2px;
      border:1px solid #ccc;
      border-bottom-color:#aaa;
      border-radius:2px;
      clear:both;
      padding:10px 20px 50px;
      }

      #respond label {
      display:inline;
      }

      #respond .comment-form-author input, #respond .comment-form-email input, #respond .comment-form-url input, #respond .comment-form-comment textarea {
      display:block;
      }

      .nocomments {
      color:#999;
      font-size:.9em;
      text-align:center;
      }

      #commentform input.error, #commentform textarea.error {
      background-color:#f6cbca;
      }

      #commentform div.error, #commentform label.error {
      color:#cb2026;
      }

      #commentform div.errorlabels label {
      display:block;
      }

      #comment {
      width: 90%;
      }

      /* =WordPress Core
      ————————————————————– */
      .alignnone {
      margin:5px 20px 20px 0;
      }

      .aligncenter, div.aligncenter {
      display:block;
      margin:5px auto;
      }

      .alignright {
      float:right;
      margin:5px 0 20px 20px;
      }

      .alignleft {
      float:left;
      margin:5px 20px 20px 0;
      }

      .aligncenter {
      display:block;
      margin:5px auto;
      }

      a img.alignright {
      float:right;
      margin:5px 0 20px 20px;
      }

      a img.alignnone {
      margin:5px 20px 20px 0;
      }

      a img.alignleft {
      float:left;
      margin:5px 20px 20px 0;
      }

      a img.aligncenter {
      display:block;
      margin-left:auto;
      margin-right:auto;
      }

      .wp-caption {
      background:#fff;
      border:1px solid #f0f0f0;
      max-width:96%;
      padding:5px 3px 10px;
      text-align:center;
      }

      .wp-caption.alignnone {
      margin:5px 20px 20px 0;
      }

      .wp-caption.alignleft {
      margin:5px 20px 20px 0;
      }

      .wp-caption.alignright {
      margin:5px 0 20px 20px;
      }

      .wp-caption img {
      border:0 none;
      height:auto;
      margin:0;
      max-width:98.5%;
      padding:0;
      width:auto;
      }

      .wp-caption p.wp-caption-text {
      font-size:11px;
      line-height:17px;
      margin:0;
      padding:0 4px 5px;
      }

      img.wp-smiley {
      vertical-align:middle;
      }

      /* =Gallery
      ————————————————————– */
      .gallery {
      margin:0 auto 18px;
      }

      .gallery .gallery-item {
      float:left;
      margin-top:0;
      text-align:center;
      width:155px;
      }

      .gallery img {
      border:1px solid #ddd;
      }

      .gallery .gallery-caption {
      font-size:12px;
      margin:0 0 12px;
      }

      .gallery dl {
      margin:0;
      }

      .gallery br+br {
      display:none;
      }

      .attachment-gallery img {
      background:#fff;
      border:1px solid #f0f0f0;
      display:block;
      height:auto;
      margin:15px auto;
      max-width:96%;
      padding:5px;
      width:auto;
      }

      .gallery-meta .full-size, .gallery-meta .aperture, .gallery-meta .focal-length, .gallery-meta .iso, .gallery-meta .shutter, .gallery-meta .camera {
      display:block;
      }

      /* =Post Thumbnails
      ————————————————————– */
      img.wp-post-image, img.attachment-thumbnail, img.attachment-medium, img.attachment-large, img.attachment-full {
      display:block;
      margin:15px auto;
      width:auto;
      }

      /* =Footer
      ————————————————————– */
      #footer {
      }

      #footer a {
      }

      #footer a:hover {
      }

      .scroll-top {
      text-align:center;
      }

      .scroll-top a:hover{
      text-decoration: none;
      }

      .copyright {
      text-align:left;
      }

      .powered {
      text-align:right;
      float: right;
      }

      /* =Social Icons
      ————————————————————– */
      .social-icons {
      line-height:22px;
      margin:2px 0 0 0;
      padding: 0 0 30px 0;
      text-align:right;
      font-size: 32px;
      }

      #footer .social-icons{
      text-align: left;
      }

      .social-icons a, #header .social-icons a {
      text-decoration: none;
      padding: 0 3px;
      }

      .social-icons [class^=»icon-«], .social-icons [class*=» icon-«] {
      width: 30px;
      }

      #header .social-icons {
      line-height:normal;
      margin:3px 0 0 0;
      font-size: 32px;
      padding: 0;
      }

      /* =Alignments Extras
      ————————————————————– */
      .left {
      float:left;
      }

      .right {
      float:right;
      }

      .center {
      text-align:center;
      }

      /* =Clearfix
      ————————————————————– */
      .clearfix:after, #container:after {
      clear:both;
      content:»020″;
      display:block;
      height:0;
      max-height:0;
      overflow:hidden;
      visibility:hidden;
      }

      .clearfix, #container {
      display:inline-block;
      }

      *html .clearfix, *html #container {
      height:1%;
      }

      .clearfix, #container {
      display:block;
      }

      .clear {
      clear:both;
      }

      /* =Begin bidirectionality settings (do not change)
      ————————————————————– */
      BDO[DIR=»ltr»] {
      direction:ltr;
      unicode-bidi:bidi-override;
      }

      BDO[DIR=»rtl»] {
      direction:rtl;
      unicode-bidi:bidi-override;
      }

      [DIR=»ltr»] {
      direction:ltr;
      unicode-bidi:embed;
      }

      [DIR=»rtl»] {
      direction:rtl;
      unicode-bidi:embed;
      }

      /* =Media Print
      ————————————————————– */
      @media print {

      h1 {
      page-break-before:always;
      }

      h1, h2, h3, h4, h5, h6 {
      page-break-after:avoid;
      }

      ul, ol, dl {
      page-break-before:avoid;
      }
      }

      /*»The last 29 days of the month are the hardest.»- Nikola Tesla*/

      .more-link{
      float: right;
      margin:10px 0;
      }

      strong.search-excerpt { background: yellow; }

      /* ——- Fluid Columns ——- */
      .one_half{ width:48%; }
      .one_third{ width:30.66%; }
      .two_third{ width:65.33%; }
      .one_fourth{ width:22%; }
      .three_fourth{ width:74%; }
      .one_fifth{ width:16.8%; }
      .two_fifth{ width:37.6%; }
      .three_fifth{ width:58.4%; }
      .four_fifth{ width:67.2%; }
      .one_sixth{ width:13.33%; }
      .five_sixth{ width:82.67%; }
      .one_half,.one_third,.two_third,.three_fourth,.one_fourth,.one_fifth,.two_fifth,.three_fifth,.four_fifth,.one_sixth,.five_sixth{ position:relative; margin-right:4%; float:left; }
      .last{ margin-right:0 !important; clear:right; }
      .clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}

      /* =Media Queries
      If you’re working on a Child Theme, make sure that all
      media queries are included in your style.css
      ————————————————————– */
      @media screen and (max-width: 980px) {

      body {
      }

      #header .social-icons {
      text-align:left;
      }

      .widget-wrapper {
      padding-left:0;
      }

      .widget-wrapper-left {
      padding-left:0;
      }

      #footer{

      }

      .copyright {
      text-align:center;
      }

      .powered {
      text-align:center;
      }
      }

      @media (max-width: 767px) {

      #intro, #middle, #footer {
      margin-right: -20px;
      margin-left: -20px;
      padding: 0 20px;
      }
      }

      @media screen and (max-width: 650px) {

      body {
      }

      #header #logo {
      float:none;
      text-align:center;
      }

      .content-right, .sidebar-content {
      float:none;
      }

      #hero-image .fluid-width-video-wrapper {
      margin:20px 0 0 0;
      }

      #hero-image {
      margin:20px 10px;
      }

      .hero-unit h1 {
      font-size: 35px !important;
      }

      .menu li, .top-menu, .footer-menu li, .sub-header-menu li {
      float:none;
      text-align:center;
      }

      .widget-wrapper {
      padding-left:0;
      }

      .widget-wrapper-left {
      padding-left:0;
      }

      #footer {
      text-align:center;

      }

      #footer .social-icons {
      text-align:center;
      }

      .copyright {
      text-align:center;
      }

      .powered {
      text-align:center;
      }
      }

      @media screen and (max-width: 480px) {

      body {
      }

      .widget-wrapper {
      padding-left:0;
      }

      .widget-wrapper-left {
      padding-left:0;
      }

      #footer {
      text-align:center;
      }

      #footer .social-icons {
      text-align:center;
      }
      .copyright {
      text-align:center;

      }

      .powered {
      text-align:center;

      }
      }

      ———————————————————————–
      CODIGO COMPLETO DE HEADER.PHP
      ———————————————————————–
      <?php
      /**
      * Header Template
      *
      *
      * @file header.php
      * @package Bootstrap Parallax
      * @author Brad Williams
      * @copyright 2011 – 2013 Brag Interactive
      * @license license.txt
      * @version Release: 2.3.1
      * @link http://codex.wordpress.org/Theme_Development#Document_Head_.28header.php.29
      * @since available since Release 1.0
      */
      ?>
      <!doctype html>
      <!–[if lt IE 7 ]> <html class=»no-js ie6″ <?php language_attributes(); ?>> <![endif]–>
      <!–[if IE 7 ]> <html class=»no-js ie7″ <?php language_attributes(); ?>> <![endif]–>
      <!–[if IE 8 ]> <html class=»no-js ie8″ <?php language_attributes(); ?>> <![endif]–>
      <!–[if (gte IE 9)|!(IE)]><!–> <html class=»no-js» <?php language_attributes(); ?>> <!–<![endif]–>
      <head>

      <meta charset=»<?php bloginfo(‘charset’); ?>» />
      <meta name=»viewport» content=»width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0″>
      <meta http-equiv=»X-UA-Compatible» content=»IE=edge,chrome=1″ />

      <title><?php wp_title(‘|’, true, ‘right’); ?><?php bloginfo(‘name’); ?></title>

      <link rel=»profile» href=»http://gmpg.org/xfn/11″ />
      <link rel=»pingback» href=»<?php bloginfo(‘pingback_url’); ?>» />

      <!–[if IE 7]>
      <link rel=»stylesheet» href=»<?php get_template_directory_uri();?>/css/font-awesome-ie7.min.css»>
      <![endif]–>

      <?php wp_head(); ?>

      </head>

      </body>
      <body <?php body_class(); ?>>

      <?php responsive_container(); // before container hook ?>

      <?php responsive_header(); // before header hook ?>
      <div id=»header»>

      <?php responsive_in_header(); // header hook ?>

      <?php $nav_color = of_get_option(‘nav_color’);?>

      <div class=»navbar navbar-fixed-top <?php if($nav_color ==’inverse’) { echo ‘navbar-inverse’; } ?>»>
      <div class=»navbar-inner»>
      <div class=»container»>

      <span class=»icon-bar»></span>
      <span class=»icon-bar»></span>
      <span class=»icon-bar»></span>

      <?php if ( of_get_option(‘logo_upload’) ) { ?>
      <div id=»logo»>/» title=»<?php bloginfo( ‘name’ ) ?>» rel=»homepage»>
      <img src=»<?php echo of_get_option(‘logo_upload’); ?>» alt=»<?php bloginfo( ‘name’ ) ?>»/>
      </div><!– end of #logo –>
      <?php } else { ?>
      <?php if (is_front_page()) { ?>
      /» title=»<?php bloginfo( ‘name’ ) ?>» rel=»homepage»><?php bloginfo( ‘name’ ) ?>
      <?php } else { ?>
      /» title=»<?php bloginfo( ‘name’ ) ?>» rel=»homepage»><?php bloginfo( ‘name’ ) ?>
      <?php } } ?>

      <div class=»nav-collapse collapse»>
      <?php

      $args = array(
      ‘theme_location’ => ‘top-bar’,
      ‘depth’ => 2,
      ‘container’ => false,
      ‘menu_class’ => ‘nav’,
      ‘walker’ => new Bootstrap_Walker_Nav_Menu()
      );

      wp_nav_menu($args);

      ?>

      <?php if(of_get_option(‘search_bar’, ‘1’)) {?>
      <form class=»navbar-search pull-right» role=»search» method=»get» id=»searchform» action=»<?php echo home_url( ‘/’ ); ?>»>
      <input name=»s» id=»s» type=»text» class=»search-query» placeholder=»<?php _e(‘Search’,’responsive’); ?>»>
      </form>
      <?php } ?>

      <?php if(of_get_option(‘header_social’, ‘1’)) {?>

      <?php
      // First let’s check if any of this was set

      echo ‘<div class=»social-icons nav pull-right»>’;

      if (of_get_option(‘twitter_url’)) echo ‘
      .'<i class=»icon-twitter-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘fb_url’)) echo ‘
      .'<i class=»icon-facebook-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘pinterest_url’)) echo ‘
      .'<i class=»icon-pinterest-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘linkedin_url’)) echo ‘
      .'<i class=»icon-linkedin-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘google_url’)) echo ‘
      .'<i class=»icon-google-plus-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘github_url’)) echo ‘
      .'<i class=»icon-github-sign»></i>’
      .’
      ‘;

      if (of_get_option(‘rss_url’)) echo ‘
      .'<i class=»icon-rss»></i>’
      .’
      ‘;

      echo ‘</div><!– end of .social-icons –>’;
      ?>
      <?php } ?>
      </div>

      </div>
      </div>
      </div>

      </div><!– end of #header –>
      <?php responsive_header_end(); // after header hook ?>

      <?php responsive_wrapper(); // before wrapper ?>

      <div id=»wrapper» class=»clearfix»>

      <?php responsive_in_wrapper(); // wrapper hook ?>
      <body>

      ———————————————————————

Viendo 15 resultados - del 181 al 195 (de un total de 235)