Resultados de búsqueda para 'wpo'

Viendo 15 resultados - del 196 al 210 (de un total de 244)
    • 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>

    Peter Olle

    (@peterolle)

    Tendrías que hacer algo así.

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

    El menú:

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

    En tu CSS:

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

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

    Iniciador del debate mfrajmowicz

    (@mfrajmowicz)

    This is my php:

    <?php

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

    /* Globalization $woptions

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

    GLOBAL $webnus_options;

    ?><!DOCTYPE html>

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

    <head>

    <!– Basic Page Needs

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

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

    <title><?php

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

    /* Title Generation Process

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

    global $page, $paged;

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

    bloginfo( ‘name’ );

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

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

    echo » | $site_description»;

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

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

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

    /* End Title Generation Process

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

    ?></title>

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

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

    /* Description Meta Tag Generator

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

    global $page_seo_meta;

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

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

    {

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

    }else{

    if ( is_single() ) {

    single_post_title(», true);

    } else {

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

    }

    }

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

    /* End Description Meta Tag Generator

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

    ?>» />

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

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

    /* Keywords Meta Tag Generator

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

    global $page_seo_meta;

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

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

    {

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

    }

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

    /* End Keywords Meta Tag Generator

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

    ?>» />

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

    <!– Mobile Specific Metas

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

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

    <!– JS

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

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

    <!–[if lt IE 9]>

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

    <![endif]–>

    <!– HTML5 Shiv events (end)–>

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

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

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

    <?php else: ?>

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

    <?php endif; ?>

    <?php

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

    /* Apple Device Icons

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

    $iphone_icon = $webnus_options->webnus_apple_iphone_icon();

    $ipad_icon = $webnus_options->webnus_apple_ipad_icon();

    ?>

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

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

    <?php } ?>

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

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

    <?php }

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

    /* End Apple Device Icons

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

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

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

    webnus_wphead_action hook wp_head action and attach codes to that

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

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

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

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

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

    wp_head();

    ?>

    </head>

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

    <!– Primary Page Layout

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

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

    <?php

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

    /** Load Topbar Template

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

    get_template_part(‘parts/topbar’);

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

    /** End Load Topbar Template

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

    $menu_type = $webnus_options->webnus_header_menu_type();

    switch($menu_type)

    {

    case 1:

    get_template_part(‘parts/header1’);

    break;

    case 2:

    case 3:

    case 4:

    case 5:

    get_template_part(‘parts/header2’);

    break;

    default:

    get_template_part(‘parts/header1’);

    break;

    }

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

    /* If woocommerce available add page headline section.

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

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

    {

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

    ?>

    <section id=»headline»>

    <div class=»container»>

    <h3><?php

    if( function_exists(‘is_product’) ){

    if( is_product() )

    echo $webnus_options->webnus_woo_product_title() ;

    }

    ?></h3>

    </div>

    </section><?php

    }

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

    {?>

    <section id=»headline»>

    <div class=»container»>

    <h3><?php

    echo $webnus_options->webnus_woo_shop_title() ;

    ?></h3>

    </div>

    </section>

    <?php }

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

    /* End woocommerce section

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

    ?>

    <section class=»container» >

    <!– Start Page Content –>

    <hr class=»vertical-space»>

    <?php

    }

    ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Y este el del archivo style.css:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      .cf:after {
      clear: both;
      }

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

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

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

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

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

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

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

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

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

      }

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

      }

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

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

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

      .logo{
      padding:25px 0px;
      }

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

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

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

      }

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

      #botmenu{

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

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

      }

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

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

      }

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

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

      }

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

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

      }

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

      }

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

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

      }

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

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

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

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

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

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

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

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

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

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

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

      .homegallery{
      position:relative;

      }

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

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

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

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

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

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

      #content{
      margin:0px 10px;
      }

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

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

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

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

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

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

      }

      .postimg{
      margin-bottom: 20px;
      }

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

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

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

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

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

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

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

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

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

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

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

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

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

      .squarebanner{

      }

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

      }

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

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

      /* Search form */

      input#s{
      width:90%;
      }

      input#searchsubmit{
      display:none;
      }

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

      }

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

      }

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

      }

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

      }

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

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

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

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

      }

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

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

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

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

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

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

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

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

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

      #respond {
      margin: 30px 0;

      }

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

      #commentform {
      padding: 0px 0px;
      }

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

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

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

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

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

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

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

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

      }

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

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

      /* Footer-widget */

      #bottom{
      background: #292929;
      }

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

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

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

      }

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

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

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

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

      }

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

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

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

      }

      .botwid ul li a:hover{

      color: #fff;
      }

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

      /* Footer */

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

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

      }

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

    Iniciador del debate Deckart81

    (@deckart81)

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

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

    (@brunopress)

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

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

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

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

    Mientras exista una entrada imprime el titulo del blog.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      }

      body {
      }

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

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

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

      strong {
      font-weight:700;
      }

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

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

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

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

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

      a abbr, a acronym {
      border:none;
      }

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

      sup {
      vertical-align:super;
      }

      sub {
      vertical-align:sub;
      }

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

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

      legend {
      padding:2px 5px;
      }

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

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

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

      input, select {
      cursor:pointer;
      }

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

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

      span.error {
      color: #B94A48;
      }

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

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

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

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

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

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

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

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

      dt {
      font-weight:400;
      }

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

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

      }

      h1 {

      }

      h2 {

      }

      h3 {

      }

      h4 {

      }

      h5 {

      }

      h6 {

      }

      th, td {

      }

      caption {
      padding-bottom:.8em;
      }

      blockquote {

      }

      fieldset {

      }

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

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

      textarea, input {

      }

      select {

      }

      option {
      padding:0 .4em;
      }

      a {

      }

      dt {

      }

      ul {

      }

      ol {

      }

      ol ol, ul ol {

      }

      form div {

      }

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

      #wrapper {

      }

      #header {
      margin:0;
      }

      #footer {

      }

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

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

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

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

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

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

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

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

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

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

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

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

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

      #content .sticky {
      clear:both;
      }

      #content .sticky p {
      }

      #content .bypostauthor {
      }

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

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

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

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

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

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

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

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

      .post-entry {
      clear:both;
      }

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

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

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

      .read-more {
      clear:both;
      }

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

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

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

      }

      .widget-wrapper-left {

      }

      #widgets {

      }

      .home #widgets {
      }

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

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

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

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

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

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

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

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

      #widgets .rssSummary {
      padding:10px;
      }

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

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

      #widgets .textwidget a {

      }

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

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

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

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

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

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

      .title-404 {
      color:#933;
      }

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

      .pagination a {
      text-decoration:none;
      }

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

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

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

      .commentlist {

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

      .commentlist ol {
      list-style:decimal;
      }

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

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

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

      .commentlist p {
      margin:0;
      }

      .reply {
      margin:10px 0;
      }

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

      .commentlist li.alt {

      }

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

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

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

      .comment-author .fn {
      }

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

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

      .comment-body {
      clear:both;
      }

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

      .comment-body .reply {
      }

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

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

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

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

      #respond label {
      display:inline;
      }

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

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

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

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

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

      #comment {
      width: 90%;
      }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      .gallery dl {
      margin:0;
      }

      .gallery br+br {
      display:none;
      }

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

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

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

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

      #footer a {
      }

      #footer a:hover {
      }

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

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

      .copyright {
      text-align:left;
      }

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

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

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

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

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

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

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

      .right {
      float:right;
      }

      .center {
      text-align:center;
      }

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

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

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

      .clearfix, #container {
      display:block;
      }

      .clear {
      clear:both;
      }

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

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

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

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

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

      h1 {
      page-break-before:always;
      }

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

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

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

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

      strong.search-excerpt { background: yellow; }

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

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

      body {
      }

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

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

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

      #footer{

      }

      .copyright {
      text-align:center;
      }

      .powered {
      text-align:center;
      }
      }

      @media (max-width: 767px) {

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

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

      body {
      }

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

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

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

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

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

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

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

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

      #footer {
      text-align:center;

      }

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

      .copyright {
      text-align:center;
      }

      .powered {
      text-align:center;
      }
      }

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

      body {
      }

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

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

      #footer {
      text-align:center;
      }

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

      }

      .powered {
      text-align:center;

      }
      }

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

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

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

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

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

      <?php wp_head(); ?>

      </head>

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

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

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

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

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

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

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

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

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

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

      wp_nav_menu($args);

      ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • hola queria saber como funciona realmente el codigo para un slider dinamico, en pocas palabras que es lo que pasa aqui? de antemano gracias 🙂

      codigo:

      <div id=»slider»>
      <div class=»coda-slider-wrapper»>
      <div class=»coda-slider preload» id=»coda-slider-1″>
      <!————-panel 1————–>
      <?php $my_query = new WP_Query(‘category_name=destacados&showposts=3’);
      while ($my_query->have_posts()):$my_query->the_post();$do_not_duplicate = $post->ID;?>

      <div class=»panel» style=»background:url(<?php echo get_post_meta($post->ID,’banner’,true);?>)»>
      <div class=»panel-wrapper»>
      <h3><?php the_title();?></h3>
      <p><?php the_excerpt();?></p>
      </div>
      </div>

      <?php endwhile; ?>
      <!————panel 1————–>
      </div>
      </div>
      </div>

    Foro: WordPress Avanzado
    Como el debate: loop con filtro
    • hola queria saber para que sirve este loop que le enseñaron a unos compañeros hace algunos dias en clases y me lo perdi :/, este es el codigo:

      <?php
      /*se define una variable llamada mi consulta y se asigna dos parametros el primero
      nombre de la categoria y el segundo la cantidad de post que deseo que se vean*/

      $my_query = new WP_Query(‘category_name=actualidad&showpost=1’);
      while($my_query->have_posts()):$my_query->the_post();$do_notduplicate = $post->ID;?>
      <!–Article–>
      <article>
      «><h1 class=»titulo_not»><?php bloginfo(‘the_title’);?></h1>
      <h2><?php bloginfo(‘the_title’);?></h2>

      <!–llamada a la imagen atraves del panel de imagenes destacadas–>
      <?php
      if(has_post_thumbnail())
      {
      the_post_thumbnail(‘thumbnail’,’class=miniatura_noticia’);
      }
      ;?>

      <!–llamamos el contenido con un extracto–>
      <?php the_excerpt();?>
      <p>autor:<?php the_author();?></p>
      <p>categoria:<?php the_category() ?></p>

      </article>
      <?php endwhile;?>

      pd: lo unico que se es que se trata de categorias :/

    • <?php
      $my_query = new WP_Query(‘category_name=actualidad&showpost=
      1′);
      while($my_query->have_posts()):$my_query->the_post();$do_not_
      duplicate = $post->ID;?>
      <?php
      if(has_post_tumbnail())
      {
      //miniatura incertada
      the_post_tumbnail(‘tumbnail’,’class=miniatura_noticia’);
      }
      ;?>
      <?php the_the_exerpt();?>
      <p class=»destacado»>Escrito por <?php the_author(); ?> /
      <?php the_category(‘, ‘); ?> / <?php the_time(‘F jS, Y’) ?>
      «>LEER MAS ++
      <?php endwhile; ?>

      este es el que uso yo

    • Hola,
      Agradecería si alguién me puede ayudar, yaq ue mis conocimientos son muy limitados. Deseo eliminar del header el título del sitio que he añadido en ajustes, pero de forma que no me penalice en los buscadores.

      por lo que he visto he de modificar el código del header. php, pero no acabo de ver claro.

      Adjunto el código, a ver si alguien me rescata de aquí 😉

      muchas gracias

      <!DOCTYPE html>
      <!–[if IE 8]>
      <html id=»ie8″ <?php language_attributes(); ?>>
      <![endif]–>
      <!–[if !(IE 8) ]><!–>
      <html <?php language_attributes(); ?>>
      <!–<![endif]–>
      <head>
      <meta charset=»<?php bloginfo( ‘charset’ ); ?>» />
      <meta name=»viewport» content=»width=device-width, initial-scale=1″ />
      <?php
      // check if Yoast SEO plugin is active
      if ( of_get_option(‘seo_plugin’) ){
      echo ‘<title>’;
      wp_title(»);
      echo ‘</title>’;
      }else{

      global $page, $paged;

      // add title tag
      echo ‘<title>’;
      bloginfo(‘name’);
      wp_title(‘ – ‘, true, ‘left’);
      echo ‘</title>’;

      if (is_single() || is_page() ){
      if ( have_posts() ) {
      while ( have_posts() ){
      the_post();
      echo ‘<meta name=»description» content=»‘;
      echo strip_tags( get_the_excerpt() );
      echo ‘» />’;
      }
      }
      }elseif(is_home()){
      echo ‘<meta name=»description» content=»‘;
      bloginfo(‘description’);
      echo ‘» />’;
      }
      }

      /* Apple touch icon */
      echo of_get_option(‘apple_touch_icon’) ? ‘<link rel=»apple-touch-icon» href=»‘ . of_get_option(‘apple_touch_icon’) . ‘» />’ : »; ?>
      <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(); ?>/assets/js/html5.js» type=»text/javascript»></script>
      <![endif]–>

      <?php

      //render google tracking code if present
      $google_analytics = of_get_option(‘google_analytics’, false);
      if($google_analytics){
      echo (strpos($google_analytics, ‘<script’) === false) ? ‘<script>’.of_get_option(‘google_analytics’).'</script>’ : of_get_option(‘google_analytics’);
      }

      wp_head();
      global $css_options;
      // var_dump($css_options);
      ?>
      </head>
      <body <?php body_class(); ?>>
      <div class=»bl_search_overlay»></div>
      <script type=»text/javascript»>
      <?php if(!of_get_option(‘disable_fixed_header’)){ ?>

      var y;
      y = jQuery(window).scrollTop();
      if(jQuery(window).width() > 979){
      // Shrink menu on scroll
      var didScroll = false;
      jQuery(window).scroll(function() {
      didScroll = true;
      });
      setInterval(function() {
      if ( didScroll ) {
      didScroll = false;
      y = jQuery(window).scrollTop();
      if(y > jQuery(‘#masthead .top-banner’).height() ){
      jQuery(‘#masthead .bluth-navigation’).addClass(‘fixed’);
      jQuery(‘#main’).css(‘padding-top’, 71);
      }else{
      jQuery(‘#masthead .bluth-navigation’).removeClass(‘fixed’);
      jQuery(‘#main’).css(‘padding-top’, »);
      }
      if(y > ( jQuery(‘#masthead .top-banner’).height()+100 ) ){
      jQuery(‘#masthead .bluth-navigation’).addClass(‘shrunk’);
      }else{
      jQuery(‘#masthead .bluth-navigation’).removeClass(‘shrunk’);
      }

      changeHeader();
      }
      }, 50);
      }

      <?php } ?>
      jQuery(function() {
      // if the page is in mobile mode, then don’t make the header transparent!
      if( jQuery(window).width() > 979 )
      changeHeader();
      else{
      jQuery(‘#masthead .bluth-navigation .navbar .nav > li > a, #masthead .searchform a’).animate({ color: ‘<?php echo $css_options[«header_font_color»]; ?>’}, 10);
      jQuery(‘#masthead .bluth-navigation’).animate({ backgroundColor: ‘<?php echo $css_options[«header_color»]; ?>’}, 100);
      }

      // listen to resize!
      var didresize = false;
      jQuery(window).resize( function() {

      // if the user refreshes the page while the sticky header is active, then add some padding for a friend.
      // if( y > jQuery(‘#masthead’).height() )
      // jQuery(‘#main’).css(‘padding-top’, (/*jQuery(‘#masthead’).height()+*/25));
      // else
      // jQuery(‘#main’).css(‘padding-top’, (/*jQuery(‘#masthead’).height()+*/25));
      // didresize = true;
      });
      setInterval(function() {
      if ( didresize ) {
      didresize = false;
      }
      }, 3000);

      <?php if( of_get_option(‘menu_hover’) ){ ?>

      jQuery(‘.navbar .nav li’).mouseover(function(){
      jQuery( this ).addClass(‘open’);
      });
      jQuery(‘.navbar .nav li’).mouseout(function(){
      jQuery( this ).removeClass(‘open’);
      });
      <?php } ?>
      resetNavLine(250);

      jQuery(‘#masthead .nav li’).mouseover(function(){
      jQuery(‘.nav-line’).stop();
      jQuery(‘.nav-line’).animate({
      left : jQuery(this).offset().left-jQuery(‘.bluth-navigation .container .navbar’).offset().left,
      width: jQuery(this).width()
      }, 250);
      });
      jQuery(‘#masthead .nav li’).mouseout(function(){
      resetNavLine(250);
      });
      });

      // change the color of the header if it’s transparent
      function changeHeader(){
      var y;
      y = jQuery(window).scrollTop();

      jQuery(‘#masthead .bluth-navigation’).stop();
      <?php if( of_get_option(‘header_background’) == ‘image’ ){ ?>
      if(y > 30){
      jQuery(‘#masthead .bluth-navigation .navbar .nav > li > a, #masthead .searchform a’).animate({ color: ‘<?php echo $css_options[«header_font_color»]; ?>’}, 10);
      jQuery(‘#masthead .bluth-navigation’).animate({ backgroundColor: ‘<?php echo $css_options[«header_color»]; ?>’}, 100);
      }else if(y < 500){
      jQuery(‘#masthead .bluth-navigation .navbar .nav > li > a, #masthead .searchform a’).animate({ color: ‘#FFFFFF’ }, 10);
      jQuery(‘#masthead .bluth-navigation’).animate({ backgroundColor: ‘rgba(0,0,0,0.3)’ }, 100);
      }
      <?php } ?>
      }
      function resetNavLine(time){
      // didScroll = true;
      jQuery(‘.nav-line’).stop();
      if(jQuery(‘.nav’).children(‘li’).hasClass(‘current-menu-item’)){
      jQuery(‘.nav-line’).animate({
      left : jQuery(‘.current-menu-item’).offset().left-jQuery(‘.bluth-navigation .container .navbar’).offset().left,
      width: jQuery(‘.current-menu-item’).width()
      }, time);
      }else if(jQuery(‘.nav’).children(‘li’).hasClass(‘current-menu-ancestor’)){
      jQuery(‘.nav-line’).animate({
      left : jQuery(‘.current-menu-ancestor’).offset().left-jQuery(‘.bluth-navigation .container .navbar’).offset().left,
      width: jQuery(‘.current-menu-ancestor’).width()
      }, time);
      }else{
      jQuery(‘.nav-line’).animate({
      width : 0
      });
      }
      }
      </script>
      <?php

      // Facebook Javascript SDK
      if(of_get_option(‘facebook_app_id’)){ ?>
      <div id=»fb-root»></div>
      <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = «//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<?php echo of_get_option(‘facebook_app_id’); ?>»;
      fjs.parentNode.insertBefore(js, fjs);
      }(document, ‘script’, ‘facebook-jssdk’));</script>
      <?php }

      // background image or pattern
      switch (of_get_option(‘background_mode’)) {
      case ‘image’:
      if(of_get_option(‘background_image’)){

      echo ‘<div class=»bl_background»>’.(of_get_option(‘show_stripe’) ? ‘<div id=»stripe»></div>’ : »). ‘<img src=»‘.of_get_option(‘background_image’).'»></div>’;
      }
      break;
      case ‘pattern’:
      if( of_get_option(‘background_pattern_custom’) ){

      echo ‘<div style=»background-image: url(\».of_get_option(‘background_pattern_custom’).’\’)» id=»background_pattern»></div>’;

      }elseif (of_get_option(‘background_pattern’)) {

      echo ‘<div style=»background-image: url(\».get_template_directory_uri() . ‘/assets/img/pattern/large/’.of_get_option(‘background_pattern’).’\’)» id=»background_pattern»></div>’;
      }
      break;
      }
      ?>
      <?php
      // Advert above header
      $ad_header_mode = of_get_option(‘ad_header_mode’, ‘none’);

      if($ad_header_mode != ‘none’){
      echo ‘<div class=»above_header»>’;
      if($ad_header_mode == ‘image’){
      echo ‘<img src=»‘.of_get_option(‘ad_header_image’).'»>‘;
      }elseif($ad_header_mode == ‘html’){
      echo apply_filters(‘shortcode_filter’,do_shortcode(of_get_option(‘ad_header_code’)));
      }
      echo ‘</div>’;
      }
      ?>

      <div id=»page» class=»site»>
      <?php do_action( ‘before’ ); ?>
      <header id=»masthead» role=»banner» class=»<?php echo !of_get_option( ‘header_type’ ) ? ‘header_normal’ : of_get_option( ‘header_type’ ); ?>»>
      <div class=»image-overflow»>
      <div class=»header-background-image»><?php
      // if the background image is selected as the background then display it
      if( of_get_option( ‘header_background’ ) == ‘image’ ){
      echo ‘<img src=»‘ . of_get_option( ‘header_background_image’ ) . ‘»>’;
      }?>
      </div>
      </div>

      <div class=»row-fluid top-banner»>
      <div class=»container»>
      <div class=»banner-overlay»></div>
      <?php
      $logo = of_get_option(‘logo’, » );
      if ( !empty( $logo ) ) { ?>
      » title=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>» rel=»home»><img src=»<?php echo $logo; ?>» alt=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>»><h1><?php if(!of_get_option(‘disable_description’)){ ?><small><?php bloginfo( ‘description’ ); ?></small><?php } ?></h1>
      <?php }else{ ?>
      » title=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>» rel=»home»><h1><?php bloginfo( ‘name’ ); ?><?php if(!of_get_option(‘disable_description’)){ ?><small><?php bloginfo( ‘description’ ); ?></small><?php } ?></h1>
      <?php }
      if(of_get_option(‘disable_description’)){ $top_banner_fix = ‘style=»top:15px;»‘; }else{ $top_banner_fix = »; }
      ?>
      <div class=»top-banner-social pull-right» <?php echo $top_banner_fix; ?>><?php
      echo (!of_get_option(‘social_facebook’)) ? » : ‘<i class=»icon-facebook-1″></i>‘;
      echo (!of_get_option(‘social_twitter’)) ? » : ‘<i class=»icon-twitter-1″></i>‘;
      echo (!of_get_option(‘social_google’)) ? » : ‘<i class=»icon-gplus-1″></i>‘;
      echo (!of_get_option(‘social_linkedin’)) ? » : ‘<i class=»icon-linkedin-1″></i>‘;
      echo (!of_get_option(‘social_youtube’)) ? » : ‘<i class=»icon-youtube»></i>‘;
      echo (!of_get_option(‘social_rss’)) ? » : ‘<i class=»icon-rss-1″></i>‘;
      echo (!of_get_option(‘social_flickr’)) ? » : ‘<i class=»icon-flickr-1″></i>‘;
      echo (!of_get_option(‘social_vimeo’)) ? » : ‘<i class=»icon-vimeo-1″></i>‘;
      echo (!of_get_option(‘social_pinterest’)) ? » : ‘<i class=»icon-pinterest-1″></i>‘;
      echo (!of_get_option(‘social_dribbble’)) ? » : ‘<i class=»icon-dribbble-1″></i>‘;
      echo (!of_get_option(‘social_tumblr’)) ? » : ‘<i class=»icon-tumblr-1″></i>‘;
      echo (!of_get_option(‘social_instagram’)) ? » : ‘<i class=»icon-instagram-1″></i>‘;
      echo (!of_get_option(‘social_viadeo’)) ? » : ‘<i class=»icon-viadeo»></i>‘; ?>
      </div>
      </div>
      </div>
      <div class=»row-fluid bluth-navigation»>
      <div class=»container»>
      <div class=»mini-logo»>
      <?php
      $minilogo = of_get_option(‘minilogo’, » );
      if ( !empty( $minilogo ) ) { ?>
      » title=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>» rel=»home»><img src=»<?php echo $minilogo; ?>» alt=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>»>
      <?php }else{ ?>
      » title=»<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>» rel=»home»><h1><?php bloginfo( ‘name’ ); ?></h1>
      <?php } ?>
      </div>
      <div class=»navbar navbar-inverse»>
      <div class=»navbar-inner»>
      <?php if(of_get_option(‘show_search_header’)){ ?>
      <div class=»visible-tablet visible-phone bl_search»>
      <?php echo get_search_form(); ?>
      </div>
      <?php } ?>
      <!– Responsive Navbar Part 1: Button for triggering responsive navbar (not covered in tutorial). Include responsive CSS to utilize. –>
      <!– <label for=»mobile-menu»><button data-target=».nav-collapse» data-toggle=»collapse» class=»btn btn-navbar» type=»button»><i class=»icon-menu-1″></i></button></label> –>
      <?php
      if ( has_nav_menu( ‘primary’ ) ) {
      wp_nav_menu( array(
      ‘container’ => ‘div’,
      ‘container_class’ => ‘nav-collapse collapse’,
      ‘theme_location’ => ‘primary’,
      ‘menu_class’ => ‘nav visible-desktop’,
      ‘walker’ => new Bootstrap_Walker(),
      ) );
      }
      if ( has_nav_menu( ‘primary’ ) ) {
      wp_nav_menu( array(
      ‘walker’ => new Walker_Nav_Menu_Dropdown(),
      ‘theme_location’ => ‘primary’,
      ‘items_wrap’ => ‘<div id=»mobile-menu» class=»pull-right visible-tablet visible-phone mobile-menu»><form style=»margin-top: 15px; margin-bottom: 5px;»><select style=»max-width:150px;» onchange=»if (this.value) window.location.href=this.value»><option>– Menu –</option>%3$s</select></form></div>’,
      ) );
      }
      ?>
      </div><!– /.navbar-inner –>
      <div class=»nav-line»></div>
      </div>
      <?php if(of_get_option(‘show_search_header’)){ ?>
      <div class=»bl_search visible-desktop nav-collapse collapse»>
      <?php echo get_search_form(); ?>
      </div>
      <?php } ?>

      </div>
      </div>

      <!– This file is part of a WordPress theme for sale at ThemeForest.net.
      See: http://themeforest.net/item/bliss-personal-minimalist-wordpress-blog-theme/5423780
      Copyright 2013 Bluthemes –>

      </header><!– #masthead .site-header –>
      <div id=»main» class=»container»>

    Moderador Mariano Perez

    (@mpcdigital)

    Te pego el código con la parte quitada.

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=»<?php bloginfo(‘charset’); ?>» />
    <meta name=»viewport» content=»width=device-width, initial-scale=1.0″ />
    <title><?php kopa_print_page_title(); ?></title>
    <link rel=»pingback» href=»<?php bloginfo(‘pingback_url’); ?>» />
    <link rel=»shortcut icon» type=»image/x-icon» href=»<?php echo get_option(‘kopa_theme_options_favicon_url’); ?>»>
    <link rel=»apple-touch-icon» sizes=»57×57″ href=»<?php echo get_option(‘kopa_theme_options_apple_iphone_icon_url’); ?>»>
    <link rel=»apple-touch-icon» sizes=»72×72″ href=»<?php echo get_option(‘kopa_theme_options_apple_ipad_icon_url’); ?>»>
    <link rel=»apple-touch-icon» sizes=»114×114″ href=»<?php echo get_option(‘kopa_theme_options_apple_iphone_retina_icon_url’); ?>»>
    <link rel=»apple-touch-icon» sizes=»144×144″ href=»<?php echo get_option(‘kopa_theme_options_apple_ipad_retina_icon_url’); ?>»>
    <?php wp_head(); ?>
    </head>
    <?php $layout = get_option(‘kopa_theme_options_layout’, ‘wide’);
    $layout = ( $layout === ‘box’ ? ‘kopa-boxed’ : » );
    $layout .= ‘heavy-dark-footer’;
    ?>
    <body <?php body_class($layout); ?>>

    <div class=»kopa-wrapper»>

    <div class=»kopa-background»></div>

    <header id=»page-header»>
    <div id=»header-top»>
    <div class=»wrapper»>
    <div class=»row-fluid»>
    <div class=»span12 clearfix»>
    <p class=»hot-line»><?php echo get_option(‘kopa_theme_options_left_header_description’); ?></p>
    <div class=»top-box clearfix»>
    <div class=»search clearfix»>
    Search
    <?php get_search_form(); ?>
    </div><!–search–>
    </div><!–top=box–>
    </div><!–span12–>
    </div><!–row-fluid–>
    </div><!–wrapper–>
    </div><!–header-top–>

    <div id=»header-bottom» class=»cbp-af-header»>
    <div class=»wrapper»>
    <div class=»row-fluid»>
    <div class=»span12 clearfix»>
    <div id=»logo-image»>
    «>
    <?php $logo = get_option( ‘kopa_theme_options_logo_url’ );
    if ($logo) :
    ?>
    <img src=»<?php echo $logo; ?>» alt=»<?php bloginfo(‘name’); ?> <?php _e( ‘Logo’, kopa_get_domain() ); ?>»>
    <?php
    endif;
    ?>

    </div><!–logo-image–>
    <nav id=»main-nav»>
    <?php

    if ( has_nav_menu(‘main-nav’) ) {
    $main_menu_walker = new kopa_main_menu();
    wp_nav_menu( array(
    ‘theme_location’ => ‘main-nav’,
    ‘container’ => »,
    ‘items_wrap’ => ‘<ul id=»main-menu» class=»clearfix»>%3$s’,
    ‘walker’ => $main_menu_walker
    ) );

    $mobile_menu_walker = new kopa_mobile_menu();
    wp_nav_menu( array(
    ‘theme_location’ => ‘main-nav’,
    ‘container’ => ‘div’,
    ‘container_id’ => ‘mobile-menu’,
    ‘items_wrap’ => ‘<span>’.__( ‘Menu’, kopa_get_domain() ).'</span><ul id=»toggle-view-menu»>%3$s’,
    ‘walker’ => $mobile_menu_walker
    ) );
    }
    ?>
    </nav><!–main-nav–>
    </div><!–span12–>
    </div><!–row-fluid–>
    </div><!–wrapper–>
    </div><!–header-bottom–>
    </header><!–page-header–>

    Iniciador del debate brunopress

    (@brunopress)

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