Resultados de búsqueda para 'wpo'

Viendo 15 resultados - del 181 al 195 (de un total de 244)
  • El meta para mostrar la pagina a a resolución de los dispositivos, prueba esto:

    <meta name="viewport" content="width=device-width, initial-scale=1">

    De cualquier forma, si tu sitio no esta hecho para que se muestre bien en diferentes resoluciones, no te sirve de nada esa linea.

    Antes de probar, borra el cache del navegador con el que estas probando en tu móvil y mejor prueba con diferentes.

    Saludos.

    Iniciador del debate emi.camargo

    (@emicamargo)

    Si si, estuve realizando algunas pruebas en archivos html simples,y tengo entendido lo de las Medias Queries, mi consulta es que cuando agego :
    <meta name=»viewport» content=»width=device-width, initial-scale=1.0″>
    en el header.php, no me anda, hice un par de ajustes para distintas pantallas, eje cambiar tamaño de fuente etc. pero no se aplicacan, en wordpress yo calculo que porque no estoy usando la meta adecuada para wordpress o no lo estaré ubicando bien.. Saludos gracias por responder

    • Estoy buscando el modo de convertir mi theme en responsive, no quiero cambiarlo, estuve realizando pruebas que al parecer no se ejecutan agrego la etiqueta :
      <meta name=»viewport» content=»width=device-width, initial-scale=1.0″>
      en el header.php y no anda.
      De todos modos no sé si será el mismo modo de programar que en un archivo.html.
      Me ayudan? existe algún tutorial para seguir?
      Gracias!

    • Hola a todos:
      Les comento que me he bajado el tema «Reco», que es bastante sencillo y hasta el momento no tuve grandes inconveninentes… hasta ahora.
      El tema me permite agregar una barra de post Destacados en la parte inferior del sitio. El problema es que en los ajustes me permite elegir de qué categoría serán los post a mostrar. Mi problema es que quiero que se vean los destacados de TODAS LAS CATEGORÍAS.
      Por suerte no me costó encontrar el código, pero no me queda claro dónde tocar.
      Muchas gracias!

      <?php
      
      		$cat1 = get_option(SHORT_NAME . 'category_1');
      
      		$args = array(	'cat' => $cat1,
      						'showposts' => 4);
      
      		if ($duplicate != true) {
      			$args = array(	'cat' => $cat1,
      							'showposts' => 4,
      							'post__not_in' => $do_not_duplicate);
      		}
      
      		$recent = new WP_Query($args);
      		if ($recent->have_posts() && (! ($cat1 < 0))) {
      			while ($recent->have_posts()) : $recent->the_post();
      				$do_not_duplicate[] = $post->ID;
      				$image = get_post_meta($post->ID, "Image", $single = true); ?>
      							    <div class="portfolio-contenthm">
      									<?php if ($image !== '') { ?>
      								<a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo $image; ?>&h=95&w=226&zc=1&q=100" alt="<?php the_title(); ?>" style="border:none;" /></a>
      							<?php }
      							else {
      								echo '';
      							} ?>
      
      							<div class="m-blog-title2s"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></div>
      								 <div class="pdiinf"><?php the_time('F jS, Y') ?></div>
      								</div>
      
      							 <?php endwhile;
      		}
      		else {
      			print_emp_cat('1', $cat1);
      		}
      		?>

    Iniciador del debate temovalle

    (@temovalle)

    Hola Samuel,
    muchas gracias por tu apoyo

    no pude abrir la pagina de pastebin me marco error pero te pego aqui el codigo de mi home.php

    ——————–

    <?php get_header(); ?>

    <div id=»container»>
    <div id=»container2″>
    <div id=»left-div»>
    <?php if (get_option(‘quadro_featured’) == ‘on’) include(TEMPLATEPATH . ‘/includes/featured.php’); ?>

    <?php if (get_option(‘quadro_show_tabs’) == ‘on’) include(TEMPLATEPATH . ‘/includes/tabs.php’); ?>

    <div style=»clear: both;»></div>

    <?php if (get_option(‘quadro_duplicate’) == ‘false’) {
    $args=array(
    ‘showposts’=>get_option(‘quadro_homepage_posts’),
    ‘post__not_in’ => $ids,
    ‘paged’=>$paged,
    ‘category__not_in’ => get_option(‘quadro_exlcats_recent’),
    );
    } else {
    $args=array(
    ‘showposts’=>get_option(‘quadro_homepage_posts’),
    ‘paged’=>$paged,
    ‘category__not_in’ => get_option(‘quadro_exlcats_recent’),
    );
    };
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . ‘/includes/entry.php’); ?>
    <?php endwhile; ?>
    <div style=»clear: both;»></div>
    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . ‘/includes/navigation.php’); ?>
    <?php } ?>
    <?php else : ?>
    <?php include(TEMPLATEPATH . ‘/includes/no-results.php’); ?>
    <?php endif; wp_reset_query(); ?>
    </div> <!– end #left-div –>
    </div> <!– end #container2 –>

    <?php get_sidebar(); ?>

    </div> <!– end #container –>
    <?php get_footer(); ?>
    </body>
    </html>
    ————————–

    Gracias de nuevo

    • Hola, tengo instalado en host mi pagina estática y en un directorio mi blog en wordpress. Quiero colocar las ultimas entradas en el index de mi pagina estatica en una div que ya tengo separada.

      Encontre este codigo y que funciona

      <?php
      define(‘WP_USE_THEMES’, false);
      require_once($_SERVER[‘DOCUMENT_ROOT’] . ‘/directorio-blog/wp-blog-header.php’);
      query_posts(‘showposts=7’);
      echo ‘

      ‘;
      ?>

      Pero no incluye la imagen de mi post. Como puedo obtener esa parte del codigo que falta y que la imagen flote a la izquierda y el titulo asi como el resumen a la derecha?

    • Hola, me gustaría quitar mi player, no se que es lo que tengo que borrar exactamente de mi home para que no salga mas, me gustaría quitarlo porque en su lugar quiero poner otra cosa.

      Gracias.

      Aquí dejo el código:

      <?php
      /*
      Template Name: Home
      */
      ?>
      
      <?php get_header(); ?>
      
                  <!-- begin #full-width-slider -->
                  <div id="full-width-slider">
                      <div class="container clearfix">
                      <?php if(of_get_option('sc_displayslider') == '1') { ?>
                      <?php if(of_get_option('sc_slidertype') == 'rev') { ?>
                          <?php putRevSlider( "homepage" ) ?>
                          <?php } ?>
                      <?php if(of_get_option('sc_slidertype') == 'flex') { ?>
                          <?php get_template_part( 'homepage', 'slider' ); ?>
                          <?php } ?>
                      <?php } ?>
                      </div>
                  </div>
      
                  <!-- end #full-width-slider -->
                  <!-- begin #white-bg -->
                  <div id="white-background" >
                      <div id="content" class="clearfix" style="padding-bottom: 0;">
                          <?php if(of_get_option('sc_homecontent') == '1') { ?>
      
                          <!--begin cols content -->
                          <div id="home-content">
                              <div class="container clearfix">
                                  <div class="one-third">
                                      <div class="home-content-icon">
                                          <div class="icon-center">
                                              <img src="<?php echo of_get_option('sc_homecontent1img') ?>" class="img-align-left" alt="<?php echo of_get_option('sc_homecontent1title') ?>" />
                                          </div>
                                      </div>
                                      <h4><?php echo of_get_option('sc_homecontent1title') ?></h4>
                                      <p><?php echo of_get_option('sc_homecontent1') ?></p>
                                      <?php if (of_get_option('sc_homecontent1url')!='') { ?>
                                      <p class="readmore">
                                          <a href="<?php echo of_get_option('sc_homecontent1url') ?>"><?php _e('Read More', 'site5framework') ?></a>
                                      </p>
                                      <?php } ?>
                                  </div>
      
                                  <div class="one-third">
                                      <div class="home-content-icon">
                                          <div class="icon-center">
                                              <img src="<?php echo of_get_option('sc_homecontent2img') ?>" class="img-align-left" alt="<?php echo of_get_option('sc_homecontent2title') ?>" />
                                          </div>
                                      </div>
                                      <h4><?php echo of_get_option('sc_homecontent2title') ?></h4>
                                      <p><?php echo of_get_option('sc_homecontent2') ?></p>
                                      <?php if (of_get_option('sc_homecontent2url')!='') { ?>
                                      <p class="readmore">
                                          <a href="<?php echo of_get_option('sc_homecontent2url') ?>"><?php _e('Read More', 'site5framework') ?></a>
                                      </p>
                                      <?php } ?>
                                  </div>
      
                                  <div class="one-third last">
                                      <div class="home-content-icon">
                                          <div class="icon-center">
                                              <img src="<?php echo of_get_option('sc_homecontent3img') ?>" class="img-align-left" alt="<?php echo of_get_option('sc_homecontent3title') ?>" />
                                          </div>
                                      </div>
                                      <h4><?php echo of_get_option('sc_homecontent3title') ?></h4>
                                      <p><?php echo of_get_option('sc_homecontent3') ?></p>
                                      <?php if (of_get_option('sc_homecontent3url')!='') { ?>
                                      <p class="readmore">
                                          <a href="<?php echo of_get_option('sc_homecontent3url') ?>"><?php _e('Read More', 'site5framework') ?></a>
                                      </p>
                                      <?php } ?>
                                  </div>
                              </div>
                          </div>
                          <!-- end cols content -->
      
                          <?php } ?>
      
                          <div class="two-third" style="margin-bottom: 0;">
                          <?php if(of_get_option('sc_portfoliohome') == '1') : ?>
                              <div class="one-third">
                                  <h3 class="title-margin">
                                      <?php echo of_get_option('sc_portfoliohometitle') ?>
                                  </h3>
      
                                  <div class="title-border">
                                      <div class="title-block"></div>
                                  </div>
      
                                  <div class="one-third-block">
                                      <?php
                                          $args=array('post_type'=> 'audio', 'post_status'=> 'publish','orderby'=> 'menu_order','posts_per_page'=>8,'showposts'=>8,'caller_get_posts'=>1,'paged'=>$paged,); query_posts($args);
                                          if ( have_posts() ) :
                                              ?>
                                              <ul id="projects-carousel" class="loading">
                                                  <?php
                                                  while (have_posts()): the_post();
                                                      $categories = wp_get_object_terms( get_the_ID(), 'albums');
                                                      ?>
                                                      <!-- PROJECT ITEM STARTS -->
                                                      <li>
                                                          <div class="item-content">
                                                              <div class="link-holder">
                                                                  <div class="portfolio-item-holder">
                                                                      <div class="portfolio-item-hover-content">
                                                                          <?php
                                                                          $thumbId = get_image_id_by_link ( get_post_meta($post->ID, 'snbp_pitemlink', true) );
      
                                                                          $thumb = wp_get_attachment_image_src($thumbId, 'portfolio-thumbnail', false);
                                                                          $large = wp_get_attachment_image_src($thumbId, 'large', false);
      
                                                                          if (!$thumb == ''){ ?>
                                                                              <a href="<?php the_permalink() ?>" class="zoom">View Image</a>
                                                                              <img src="<?php echo $thumb[0] ?>" alt="<?php the_title(); ?>" width="270" class="portfolio-img" />
                                                                              <?php } else { ?>
                                                                              <img src="<?php echo get_template_directory_uri(); ?>/library/images/sampleimages/portfolio-img.jpg" alt="<?php the_title(); ?>" width="220"  class="portfolio-img" />
                                                                              <?php }?>
      
                                                                          <div class="hover-options">
                                                                              <div class="carousel-hover-title">
                                                                                  <h3>
                                                                                      <a href=" <?php echo $large[0] ?> " data-rel="prettyPhoto" title="<?php the_title(); ?>"> <?php the_title(); ?> </a>
                                                                                  </h3>
                                                                              </div>
                                                                          </div>
                                                                      </div>
                                                                  </div>
                                                              </div>
                                                          </div>
      
                                                          <?php
                                                          //check if pricing URL exists and show link
                                                          global $post;
                                                          $button1_url = get_post_meta($post->ID, 'snbp_button1_url', TRUE);
                                                          $button1 = get_post_meta($post->ID, 'snbp_button1', TRUE);
      
                                                          if($button1_url != '') { ?>
                                                              <div class="audio-buy-button"><a href="<?php echo $button1_url ?>" title="<?php echo $button1 ?>"><?php echo $button1 ?></a></div>
                                                              <?php } ?>
      
                                                          <?php
                                                          //check if pricing URL exists and show link
                                                          global $post;
                                                          $button2_url = get_post_meta($post->ID, 'snbp_button2_url', TRUE);
                                                          $button2 = get_post_meta($post->ID, 'snbp_button2', TRUE);
      
                                                          if($button2_url != '') { ?>
                                                              <div class="audio-buy-button"><a href="<?php echo $button2_url ?>" title="<?php echo $button2 ?>"><?php echo $button2 ?></a></div>
                                                              <?php } ?>
      
                                                          <?php
                                                          //check if pricing URL exists and show link
                                                          global $post;
                                                          $button3_url = get_post_meta($post->ID, 'snbp_button3_url', TRUE);
                                                          $button3 = get_post_meta($post->ID, 'snbp_button3', TRUE);
      
                                                          if($button3_url != '') { ?>
                                                              <div class="audio-buy-button"><a href="<?php echo $button3_url ?>" title="<?php echo $button3 ?>"><?php echo $button3 ?></a></div>
                                                              <?php } ?>
      
                                                          <?php
                                                          //check if pricing URL exists and show link
                                                          global $post;
                                                          $button4_url = get_post_meta($post->ID, 'snbp_button4_url', TRUE);
                                                          $button4 = get_post_meta($post->ID, 'snbp_button4', TRUE);
      
                                                          if($button4_url != '') { ?>
                                                              <div class="audio-buy-button"><a href="<?php echo $button4_url ?>" title="<?php echo $button4 ?>"><?php echo $button4 ?></a></div>
                                                              <?php } ?>
      
                                                          <?php
                                                          //check if pricing URL exists and show link
                                                          global $post;
                                                          $button5_url = get_post_meta($post->ID, 'snbp_button5_url', TRUE);
                                                          $button5 = get_post_meta($post->ID, 'snbp_button5', TRUE);
      
                                                          if($button5_url != '') { ?>
                                                              <div class="audio-buy-button"><a href="<?php echo $button5_url ?>" title="<?php echo $button5 ?>"><?php echo $button5 ?></a></div>
                                                              <?php } ?>
                                                      </li>
                                                      <!-- PROJECT ITEM ENDS -->
                                                      <?php
                                                  endwhile;
                                                  wp_reset_query();
                                                  ?>
                                              </ul>
                                              <?php
                                          else :
                                              ?>
      
                                              <?php
                                          endif;
                                          ?>
                                  </div>
                              </div>
                              <!-- LATEST ALBUMS CAROUSEL ENDS HERE -->
      
                               <!-- HOMEPAGE PLAYER BEGIN HERE -->
                              <div class="one-third last">
                                  <h3 class="title-margin">
                                      <?php echo of_get_option('sc_playerhometitle') ?>
                                  </h3>
      
                                  <div class="title-border">
                                      <div class="title-block"></div>
                                  </div>
      
                                  <div class="one-third-block">
                                      <div id="componentWrapper">
      
                                          <div class="playerHolder">
      
                                              <div class="player_controls">
                                                  <!-- pause/play -->
                                                  <div class="controls_toggle"><img src='<?php echo get_template_directory_uri(); ?>/library/images/html5-audio-player/set1/play.png' width='30' height='31' alt='controls_toggle'/></div>
                                              </div>
      
                                              <!-- progress -->
                                              <div class="player_progress">
                                                  <div class="progress_bg"></div>
                                                  <div class="load_progress"></div>
                                                  <div class="play_progress"></div>
                                              </div>
      
                                              <!-- song time -->
                                              <div class="player_mediaTime">
                                                  <!-- current time and total time are separated so you can change the design if needed. -->
                                                  <div class="player_mediaTime_current"></div><div class="player_mediaTime_total"></div>
                                              </div>
      
                                              <!-- volume tooltip -->
                                              <div class="player_volume_tooltip"><p></p></div>
      
                                              <!-- progress tooltip -->
                                              <div class="player_progress_tooltip"><p></p></div>
      
                                          </div>
      
                                          <div class="playlistHolder">
                                              <div class="componentPlaylist">
                                                  <div class="playlist_inner">
                                                      <!-- playlist items are appended here! -->
                                                  </div>
                                              </div>
                                              <!-- preloader -->
                                              <div class="preloader"></div>
                                          </div>
                                      </div>
      
                                      <!-- List of playlists -->
                                      <div id="playlist_list">
                                          <?php
                                          global $post;
                                          $term = get_query_var('term');
                                          $tax = get_query_var('taxonomy');
                                          $args=array('post_type'=> 'audio', 'post_status'=> 'publish', 'orderby'=> 'menu_order', 'name'=> of_get_option('sc_audio_post_id'), 'posts_per_page'=>1,);
                                          $taxargs = array($tax=>$term);
                                          if($term!='' && $tax!='') { $args  = array_merge($args, $taxargs); }
      
                                          query_posts($args);
      
                                          while ( have_posts()):the_post();
                                              $category = wp_get_object_terms( get_the_ID(), 'albums');
                                              ?>
      
                                              <!-- local playlist -->
                                          <ul id='playlist1'>
                                              <?php
                                              $player = null;
                                              $playlist = null;
                                              $args        = array(
                                                  'post_type' => 'attachment',
                                                  'numberposts' => -1,
                                                  'post_status' => null,
                                                  'post_parent' => $post->ID
                                              );
                                              $attachments = get_posts($args);
                                              $arrImages =& get_children('post_type=attachment&orderby=menu_order&order=DESC&post_mime_type=audio/mpeg&post_parent=' . get_the_ID());
      
                                              if ($arrImages) {
                                                  foreach ($arrImages as $attachment) {
                                              ?>
                                              <li class= "playlistItem" data-type='local'
                                                  data-mp3Path="<?php echo wp_get_attachment_url($attachment->ID) ?>"
                                                  data-oggPath="">
      
                                                  <a class="playlistNonSelected" href='#'><?php echo $attachment->post_title ?></a>
                                              </li>
      
                                              <?php
                                                  }
                                              }
                                              ?>
                                          </ul>
      
                                          <?php
                                          endwhile;
                                          wp_reset_query();
                                          ?>
      
                                      </div>
                                  </div>
                              </div>
                              <?php endif ?>
      
                              <!-- HOMEPAGE PLAYER END HERE -->
      
                              <!-- BLOG POST SECTION BEGIN HERE -->
                              <?php if(of_get_option('sc_bloghome') == '1') : ?>
                              <div class="two-third" style="margin-bottom: 0;">
                                  <h3 class="title-margin">
                                      <?php echo of_get_option('sc_bloghometitle') ?>
                                  </h3>
      
                                  <div class="title-border">
                                      <div class="title-block"></div>
                                  </div>
      
                                  <div class="two-third" style="margin-bottom: 0;">
                                      <ul id="home-blog-items"  class="two-third" style="margin: 0;">
                                          <?php
                                          global $post;
                                          $term = get_query_var('term');
                                          $tax = get_query_var('taxonomy');
                                          $args= array('post_type'=> 'post','post_status'=> 'publish', 'caller_get_posts'=>1, 'paged'=>$paged, 'posts_per_page'=>of_get_option('sc_blogpostsperpage'));
                                          $taxargs = array($tax=>$term);
                                          if($term!='' && $tax!='') { $args  = array_merge($args, $taxargs); }
      
                                          query_posts($args);
      
                                          while ( have_posts()):the_post();
                                              $categories = wp_get_object_terms( get_the_ID(), 'categories');
                                              ?>
      
                                              <!-- PROJECT ITEM STARTS -->
                                              <li class="two-third-block <?php foreach ($categories as $category) { echo $category->slug. ' '; } ?>" data-id="id-<?php the_ID(); ?>" data-type="<?php foreach ($categories as $category) { echo $category->slug. ' '; } ?>">
                                                  <!-- begin article -->
                                                  <?php if ( has_post_format( 'image' ) ) : { ?>
                                                  <article class="image-post">
                                                      <div class="entry-body">
                                                          <!-- image custom post-->
                                                          <div class="entry-content">
                                                              <?php  get_template_part( 'lib/post-formats/image' ); ?>
                                                              <!-- home custom excerpt -->
                                                              <div class="excerpt">
                                                                  <?php if (is_singular()): the_content();
                                                              else : ?>
                                                                  <?php echo excerpt(15); ?>
                                                                  <?php endif;?>
                                                              </div>
                                                              <!-- home custom excerpt -->
                                                          </div>
                                                          <!-- image custom post-->
                                                      </div> <!-- end article section -->
                                                  </article>
      
                                                  <?php }	elseif ( has_post_format( 'gallery' ) ) : { ?>
                                                  <article class="gallery-post">
                                                      <div class="entry-body">
                                                          <!-- gallery custom post-->
                                                          <div class="entry-content">
                                                              <?php  get_template_part( 'lib/post-formats/gallery' ); ?>
                                                              <!-- home custom excerpt -->
                                                              <div class="excerpt">
                                                                  <?php if (is_singular()): the_content();
                                                                  else : ?>
                                                                  <?php echo excerpt(15); ?>
                                                                  <?php endif;?>
                                                              </div>
                                                              <!-- home custom excerpt -->
                                                          </div>
                                                          <!-- gallery custom post-->
                                                      </div> <!-- end article section -->
                                                  </article>
                                                  <?php }	elseif ( has_post_format( 'video' ) ) : { ?>
                                                  <article class="video-post">
                                                      <?php  get_template_part( 'lib/post-formats/video' ); ?>
                                                  </article>
                                                  <?php }	elseif ( has_post_format( 'link' ) ) : { ?>
                                                  <article class="link-post">
                                                      <?php  get_template_part( 'lib/post-formats/link' ); ?>
                                                  </article>
                                                  <?php }	elseif ( has_post_format( 'quote' ) ) : { ?>
                                                  <article class="quote-post">
                                                      <?php  get_template_part( 'lib/post-formats/quote' ); ?>
                                                  </article>
                                                  <?php }	elseif ( has_post_format( 'aside' ) ) : { ?>
                                                  <article class="aside-post">
                                                      <?php  get_template_part( 'lib/post-formats/aside' ); ?>
                                                  </article>
                                                  <?php }	else : { ?>
                                                  <article class="standard-post">
                                                      <div class="entry-body">
                                                          <!-- standard post-->
                                                          <div class="entry-content">
                                                              <?php  get_template_part( 'lib/post-formats/standard' ); ?>
                                                              <!-- home custom excerpt -->
                                                              <div class="excerpt">
                                                                  <?php if (is_singular()): the_content();
                                                                  else : ?>
                                                                  <?php echo excerpt(15); ?>
                                                                  <?php endif;?>
                                                              </div>
                                                              <!-- home custom excerpt -->
                                                          </div>
                                                          <!-- standard post-->
                                                      </div> <!-- end article section -->
                                                  </article>
                                                  <?php }	endif; ?>
                                                  <!-- end article -->
                                              </li>
                                              <!-- EVENTS ITEM ENDS -->
                                              <?php endwhile;
                                          wp_reset_query();
                                          ?>
                                      </ul>
                                  </div>
                              </div>
                              <?php endif ?>
                          </div>
                          <!-- BLOG POST SECTION END HERE -->
      
                          <div class="one-third last" style="margin-bottom: 5px;">
                          <?php if(of_get_option('sc_eventshome') == '1') : ?>
                          <!-- UPCOMING EVENTS SECTION BEGIN HERE -->
                          <div class="one-third">
                              <h3 class="title-margin">
                                  <?php echo of_get_option('sc_eventshometitle') ?>
                              </h3>
      
                              <div class="title-border">
                                  <div class="title-block"></div>
                              </div>
      
                              <div class="one-third-block">
                                  <ul id="home-event-items"  class="one-third" style="margin: 0;">
                                      <?php
                                      global $post;
                                      $term = get_query_var('term');
                                      $tax = get_query_var('taxonomy');
                                      $args=array('post_type'=> 'event','post_status'=> 'publish', 'orderby'=> 'menu_order', 'caller_get_posts'=>1, 'paged'=>$paged, 'posts_per_page'=>of_get_option('sc_eventhomeitemsperpage'));
                                      $taxargs = array($tax=>$term);
                                      if($term!='' && $tax!='') { $args  = array_merge($args, $taxargs); }
      
                                      query_posts($args);
      
                                      while ( have_posts()):the_post();
                                          $categories = wp_get_object_terms( get_the_ID(), 'event_types');
                                          ?>
      
                                      <!-- PROJECT ITEM STARTS -->
                                      <li class="event-home-item <?php foreach ($categories as $category) { echo $category->slug. ' '; } ?>" data-id="id-<?php the_ID(); ?>" data-type="<?php foreach ($categories as $category) { echo $category->slug. ' '; } ?>">
                                          <div class="event-date">
                                              <?php
                                              global $post;
                                              $date = get_post_meta( $post->ID, 'snbp_event_date', true );
                                              echo $date
                                              ?>
                                          </div>
      
                                          <div class="event-title">
                                              <h5>
                                                  <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?> </a>
                                              </h5>
                                          </div>
      
                                          <div class="event-venue">
                                              <?php
                                              global $post;
                                              $venue = get_post_meta( $post->ID, 'snbp_event_venue', true );
                                              echo $venue;
                                              ?>
                                          </div>
      
                                          <div class="ticket-button">
                                              <?php
      
                                              if (get_post_meta($post->ID, 'snbp_ticket_sold_out', true)) {
                                                  echo '
                                                          <div class="event-cancel-out"><p>Sold Out</p></div><!-- end #event-cancel-out -->';
                                              } elseif (get_post_meta($post->ID, 'snbp_ticket_canceled', true)) {
                                                  echo '
                                                          <div class="event-cancel-out"><p>Canceled</p></div><!-- end #event-cancel-out -->';
                                              } elseif (get_post_meta($post->ID, 'snbp_ticket_free', true)) {
                                                  echo '
                                                          <div class="event-cancel-out"><p>Free Entry</p></div><!-- end #event-cancel-out -->';
                                              } else {
                                                  global $post;
                                                  $event_ticket = get_post_meta( $post->ID, 'snbp_event_ticket', true );
                                                  echo '
                                                          <div class="event-ticket"><a href="' . $event_ticket . '" >Buy Tickets</a></div><!-- end .event-tickets -->';
                                              }
      
                                              ?>
                                          </div>
                                      </li>
                                      <!-- EVENTS ITEM ENDS -->
                                      <?php endwhile;
                                      wp_reset_query();
                                      ?>
                                  </ul>
                              </div>
                          </div>
                          <?php endif ?>
                          <!-- UPCOMING EVENTS SECTION END HERE -->
      
                          <!-- LATEST VIDEO SECTION BEGIN HERE -->
                          <?php if(of_get_option('sc_videohome') == '1') : ?>
                              <h3 class="title-margin">
                                  <?php echo of_get_option('sc_videohometitle') ?>
                              </h3>
      
                              <div class="title-border">
                                  <div class="title-block"></div>
                              </div>
      
                              <div class="one-third">
                                  <?php
                                  $args=array('post_type'=> 'video', 'post_status'=> 'publish', 'orderby'=> 'menu_order', 'name'=> of_get_option('sc_video_post_id'), 'posts_per_page'=>of_get_option('sc_videopostsperhomepage')); query_posts($args);
                                  if ( have_posts() ) :
                                      ?>
                                      <ul id="video-wrapper" class="homepage-video">
                                          <?php
                                          while (have_posts()): the_post();
                                              $categories = wp_get_object_terms( get_the_ID(), 'collections');
                                              ?>
                                              <!-- PROJECT ITEM STARTS -->
                                              <li>
                                                  <div class="one-third-block">
                                                      <div class="item-content">
                                                          <div class="link-holder">
                                                              <div class="portfolio-item-holder">
                                                                  <div class="portfolio-item-hover-content">
                                                                      <?php
                                                                      $thumbId = get_image_id_by_link ( get_post_meta($post->ID, 'snbp_pitemlink', true) );
                                                                      $thumb = wp_get_attachment_image_src($thumbId, 'portfolio-thumbnail', false);
                                                                      $large = wp_get_attachment_image_src($thumbId, 'large', false);
      
                                                                      global $post;
                                                                      $video = get_post_meta( $post->ID, 'snbp_video_link', true );
      
                                                                      if (!$thumb == ''){ ?>
                                                                          <a href="<?php echo $video ?>" title="<?php the_title(); ?>" data-rel="prettyPhoto" class="zoom video">View Image</a>
                                                                          <img src="<?php echo $thumb[0] ?>" alt="<?php the_title(); ?>" width="270" class="portfolio-img" />
                                                                          <?php } else { ?>
                                                                          <img src="<?php echo get_template_directory_uri(); ?>/library/images/sampleimages/portfolio-img.jpg" alt="<?php the_title(); ?>" width="220"  class="portfolio-img" />
                                                                          <?php }?>
      
                                                                      <div class="hover-options">
                                                                          <div class="carousel-hover-title">
                                                                              <h3>
                                                                                  <a href=" <?php echo $large[0] ?> " data-rel="prettyPhoto" title="<?php the_title(); ?>"> <?php the_title(); ?> </a>
                                                                              </h3>
                                                                          </div>
                                                                      </div>
                                                                  </div>
                                                              </div>
                                                          </div>
                                                      </div>
                                                  </div>
                                              </li>
                                              <!-- PROJECT ITEM ENDS -->
                                              <?php
                                          endwhile;
                                          wp_reset_query();
                                          ?>
                                      </ul>
                                      <?php
                                  else :
                                      ?>
      
                                      <?php
                                  endif;
                                  ?>
                              </div>
                          <?php endif ?>
                          <!-- LATEST VIDEO SECTION END HERE -->
      
                          <?php if(of_get_option('sc_soundcloudhome') == '1') : ?>
                              <h3 class="title-margin">
                                  <?php echo of_get_option('sc_soundcloudhometitle') ?>
                              </h3>
      
                              <div class="title-border">
                                  <div class="title-block"></div>
                              </div>
      
                              <div class="one-third-block">
                                  <?php echo of_get_option('sc_soundcloud') ?>
                              </div>
                          <?php endif; ?>
      
                          </div>
      
                          <!--<div class="sound-cloud-widget">
                              <?php /*above_footer_widget(); //Action hook */?>
                          </div>-->
      
                      </div><!-- end #content -->
                  </div>
                  <!-- end #white-background -->
      <?php get_footer(); ?>
    Iniciador del debate lainsausti

    (@lainsausti)

    Esto es lo que viene en el header:
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=»<?php bloginfo( ‘charset’ ); ?>» />
    <meta name=»viewport» content=»width=device-width» />

    <?php if (get_phogra_theme_option(‘site_favicon’)): ?>
    <link rel=»shortcut icon» href=»<?php echo get_phogra_theme_option(‘site_favicon’); ?>» />
    <?php endif; ?>

    <title><?php wp_title(); ?></title>

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

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

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

    <!– WEB PAGE –>
    <section id=»page»<?php if (is_page_template(‘template-contact.php’)): ?> class=»full-size»<?php endif; ?>>

    <!– SIDEBAR –>
    <section id=»sidebar»>
    <?php _e(«Expand/Collapse», «templaty»); ?>

    <section class=»sidebar-inside»>
    <section class=»sidebar-content»>

    <!– LOGO –>
    <h1 id=»logo»>
    «>
    <span class=»image»>
    <?php if (get_phogra_theme_option(‘logo_image’)): ?>
    <img src=»<?php echo get_phogra_theme_option(‘logo_image’); ?>» alt=»<?php bloginfo(«title»); ?>» />
    <?php endif; ?>
    </span>

    </h1>
    <!– END LOGO –>

    <!– NAVIGATION –>
    <nav id=»navigation» class=»clearfix»>
    <?php wp_nav_menu(array(‘theme_location’ => ‘header_menu’, ‘container’ => false, ‘menu_id’ => ‘navigation-menu’, ‘depth’ => 1, ‘link_before’ => ‘› ‘)); ?>
    </nav>
    <!– END NAVIGATION –>

    <!– FOOTER –>
    <footer id=»footer» class=»clearfix»>

    <ul id=»social-links» class=»clearfix»>
    <?php
    $socialLinks = array(
    «facebook» => «Facebook»,
    «twitter» => «Twitter»,
    «flickr» => «Flickr»,
    «google» => «Google»,
    «rss» => «RSS»,
    «dribble» => «Dribble»,
    «vimeo» => «Vimeo»,
    «forrst» => «Forrst»,
    «youtube» => «Youtube»,
    «digg» => «Digg»,
    «pinterest» => «Pinterest»
    );
    ?>
    <?php foreach($socialLinks as $key => $value): ?>
    <?php $optionKey = sprintf(«%s_link», $key); ?>
    <?php if (get_phogra_theme_option($optionKey)): ?>
    <li class=»<?php echo $key; ?>»>
    <?php printf(‘Link‘, get_phogra_theme_option($optionKey)); ?>

    <?php endif; ?>
    <?php endforeach; ?>

    <div class=»copyright»>
    <?php if (get_phogra_theme_option(«site_copyright»)): ?>
    <?php echo get_phogra_theme_option(«site_copyright»); ?>
    <?php else: ?>
    <?php echo TemplatyThemeOptionsDefaults::Get(«site_copyright»); ?>
    <?php endif; ?>
    </div>
    </footer>
    <!– END FOOTER –>

    </section>
    </section>
    </section>
    <!– END SIDEBAR –>

    <!– CONTENT –>
    <section id=»content»>

    • Hola a todos:
      Les comento que me he bajado el tema «Reco», que es bastante sencillo y hasta el momento no tuve grandes inconveninentes… hasta ahora.
      El tema me permite agregar una barra de post Destacados en la parte inferior del sitio. El problema es que en los ajustes me permite elegir de qué categoría serán los post a mostrar. Mi problema es que quiero que se vean los destacados de TODAS LAS CATEGORÍAS.
      Por suerte no me costó encontrar el código, pero no me queda claro dónde tocar.
      Muchas gracias!

      <?php
      
      		$cat1 = get_option(SHORT_NAME . 'category_1');
      
      		$args = array(	'cat' => $cat1,
      						'showposts' => 4);
      
      		if ($duplicate != true) {
      			$args = array(	'cat' => $cat1,
      							'showposts' => 4,
      							'post__not_in' => $do_not_duplicate);
      		}
      
      		$recent = new WP_Query($args);
      		if ($recent->have_posts() && (! ($cat1 < 0))) {
      			while ($recent->have_posts()) : $recent->the_post();
      				$do_not_duplicate[] = $post->ID;
      				$image = get_post_meta($post->ID, "Image", $single = true); ?>
      							    <div class="portfolio-contenthm">
      									<?php if ($image !== '') { ?>
      								<a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo $image; ?>&h=95&w=226&zc=1&q=100" alt="<?php the_title(); ?>" style="border:none;" /></a>
      							<?php }
      							else {
      								echo '';
      							} ?>
      
      							<div class="m-blog-title2s"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></div>
      								 <div class="pdiinf"><?php the_time('F jS, Y') ?></div>
      								</div>
      
      							 <?php endwhile;
      		}
      		else {
      			print_emp_cat('1', $cat1);
      		}
      		?>
    • 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

    • dihcarlosruiz

      (@dihcarlosruiz)


      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

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