?> <a href="<?php print_ot('gp_url', ''); ?> " title="Google Plus" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a> <?php } ?> </div><!-- #social-contacto --> </div><!-- .contacto-datos --> <div class="formulario"> <?php echo do_shortcode(get_ot('formulario')); ?> </div><!-- .entry-content --> <div class="mapa"> <?php print_ot('mapa', ''); ?> </div> <?php the_social_share(); ?>
" alt="<?php echo $datos['title']; ?> "> </a> <?php } ?> </section> <!-- Artículos en portada --> <section class="articulos"> <?php //Obtengo valores de configuración en OT $catid = get_ot('categoria_en_portada', ''); $post_per_page = get_ot('numero_categoria_portada', ''); //Consulta $args = array('cat' => $catid, 'posts_per_page' => $post_per_page, 'paged' => get_query_var('paged')); $consulta = new WP_Query($args); ?> <?php if ($consulta->have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <?php
<a href="<?php print_ot('tw_url', ''); ?> "title="Twitter" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a> <?php } ?> <!-- Youtube --> <?php if (get_ot('yt_url') != '') { ?> <a href="<?php print_ot('yt_url', ''); ?> " title="Youtube" target="_blank"><i class="fa fa-youtube-square fa-3x"></i></a> <?php } ?> <!-- Google Plus --> <?php if (get_ot('gp_url') != '') { ?> <a href="<?php print_ot('gp_url', ''); ?> " title="Google Plus" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a> <?php } ?> </div><!-- #social -->
?> </h1> <?php the_content(); ?> <?php } // end of the loop. ?> <!-- Artículos en portada --> <?php $catid = get_ot('categoria_portada', ''); $post_per_page = 2; //Consulta $args = array('cat' => $catid, 'posts_per_page' => $post_per_page, 'paged' => get_query_var('paged')); $consulta = new WP_Query($args); ?> <?php if ($consulta->have_posts()) { ?> <section class="articulos"> <h2 class="subtitulo"> <?php print_ot('titulo_categoria_portada', ''); ?>
?> <?php //Carga opciones del rotario vía OT $slider_animation = get_ot('slider_animation'); $slider_direction = get_ot('slider_direction'); $slider_reverse = get_ot('slider_reverse'); $slider_animationloop = get_ot('slider_animationloop'); $slider_slideshow = get_ot('slider_slideshow'); $slider_slideshowspeed = get_ot('slider_slideshowspeed'); $slider_animationspeed = get_ot('slider_animationspeed'); $slider_randomize = get_ot('slider_randomize'); $slider_pauseonaction = get_ot('slider_pauseonaction'); $slider_pauseonhover = get_ot('slider_pauseonhover'); $slider_controlnav = get_ot('slider_controlnav'); $slider_directionnav = get_ot('slider_directionnav'); $slider_carrusel_slider_navigation = get_ot('slider_carrusel_slider_navigation'); ?> <!-- Place in the <head>, after the three links --> <script type="text/javascript" charset="utf-8"> jQuery(document).ready(function($) { <?php if ($slider_carrusel_slider_navigation == 'true') { $slider_directionnav = 'true'; $slider_animationloop = 'false'; $slider_controlnav = 'false'; ?> <!-- MINIATURAS DEL ROTATORIO --> $(window).load(function() { $('#home-carrusel').flexslider({
<div class="wrapper"> <figure class="imagen"> <img src="<?php echo get_ot('imagen_cuarta'); ?> " alt=""> </figure> <div class="texto"> <?php echo get_ot('texto_cuarta'); ?> <a href="<?php echo get_ot('url_btn_cuarta', ''); ?> " class="boton"><?php echo get_ot('boton_cuarta', ''); ?> </a> </div> </div> </section> --> <?php } // end of the loop. ?> </section> <!-- Galería en portafa (Formato filmstrip) --> <?php get_template_part('inc/content', 'galeria-filmstrip-slider');
<!-- Galería en portada en filmstrip --> <?php pretty_photo_sh(); ?> <?php $galeria_medios = get_ot('galeria_medios_portada', array()); ?> <?php if (!empty($galeria_medios)) { ?> <script type="text/javascript" charset="utf-8"> jQuery(document).ready(function($) { <!-- ROTATORIO REGULAR --> $(window).load(function() { $('#galeria-medios').flexslider({ //FLEXSLIDER SETTINGS animation: "slide", //String: Select your animation type, "fade" or "slide" direction: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical" reverse: false, //{NEW} Boolean: Reverse the animation direction animationLoop: false, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: false, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: false, //Boolean: Animate slider automatically slideshowSpeed: 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: 500, //Integer: Set the speed of animations, in milliseconds initDelay: 0, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: false, //Boolean: Randomize slide order // Usability features