Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have same issue… load 2 post, only the first, pagination not working.

    functions.php

    function yogobierno_infinite_scroll_init() {
    	add_theme_support( 'infinite-scroll', array(
    	    'container'  => 'content',
    	    'type' => 'scroll',
    	    'footer' => false,
    	    'render' => 'render_function',
    	    'wrapper' => false,
    	    'posts_per_page' => false,
    	) );
    }
    add_action( 'init', 'yogobierno_infinite_scroll_init' );
    
    function render_function() {
        get_template_part('content', get_post_format());
    }

    index.php

    get_template_part( 'content', get_post_format() );

    content.php

    <?php // Posts
    $paises = wp_get_post_terms( $post->ID, 'pais' , array("fields" => "all") );
    $pais = $paises[0];
    $term_name = $pais->name;
    
    $categories = get_the_category( $post->ID);
    $cat = $categories[0];
    $catEng = get_field('traducciontopico', 'category_'.$cat->term_id);
    ?>
    <div class="historia-box" onclick="window.location = '<?php get_permalink() ?>';">
    	<div class="historia-excerpt">
    		<p><?php echo limit_string_char(get_the_excerpt()); ?></p>
    	</div>
    	<div class="historia-content">
    <span class="historia-categoria"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span> <?php _ts($cat->name, $catEng); ?> | <?php _ts( get_the_date( 'd M' ) , get_the_date( 'm / d  / y' ) ); ?></span>
    		<h1><?php echo limit_string_char(get_the_title(),56); ?></h1>
    
    <ul>
    			<?php
    			$posttags = get_the_tags();
    			if ($posttags) {
    			  foreach($posttags as $tag) { ?>
    
    <li><a href="#"><?php echo $tag->name; ?></a></li>
    			    <?php }
    			}
    			?>
    		</ul>
    	</div>
    </div>

    Thread Starter dgwoodstock

    (@dgwoodstock)

    I could debugging man!
    qtranslate_core.php reach, and comment line 242

    / / $ Hide_untranslated = get_option (‘qtranslate_hide_untranslated’);

    I hope it was useful, hugggg!

    Regards,
    Sebastian, Argentina
    http://www.woodstockdg.com.ar

    Thread Starter dgwoodstock

    (@dgwoodstock)

    I found a little path!, jajja, something is bothering here:
    qtranslate_hooks.php

    Regards,
    Sebastian, Argentina

    Thread Starter dgwoodstock

    (@dgwoodstock)

    Well, the error is in the “qTraslate” … disable it and the slideshow works beautifully … I became a little crazy trying to debugging but still do not give the key. If you got some help that could guide me it would be fantastic.
    Again thank you very much!

    Regards,
    Sebastian, Argentina

    Thread Starter dgwoodstock

    (@dgwoodstock)

    Hi Leuze!
    I tried disabling and deleting the plugins that could cause problems and activating the widget with the 2010 theme, but I still do not see anything, with the firebug tells me the following: “[cycle] terminating, too FEW slides: 0.”
    I’m using multiple slideshow, load a single call “home” and I’m not sending metadata.
    What else I can try? because this slideshow is the one that most suits what I need.

    Thanks again!
    Sebastian, Argentina.

    Thread Starter dgwoodstock

    (@dgwoodstock)

    Hi Leuze!
    thanks for responding so quickly!!
    Disable the plugins related to Galleria, uninstall meteor slides, reinstalled it, delete the contents of the galleries I had in the db, set back the slide and generate options. Unfortunately I still have the same error. As I can do?

    Again, thank you very much!
    Sebastian, Argentina.

Viewing 6 replies - 1 through 6 (of 6 total)