WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack Infinite Scroll won't work con custom taxonomy archive page (11 posts)

  1. g10r3
    Member
    Posted 1 year ago #

    Hi,

    i've activate the Infinite Scroll plugin on my dev site. It's based on a custom theme i'm developing and everything works quite fine with Infinite Scroll, but it doesen't seem to work with the archive page of a custom taxonomy.

    When i reach the end of the page, i can see the spinner, but after that it goes away without loading any order post

    It works fine on my home page and other archive page (built-in category archive page and authors archive page) (wich are rendered by the same index.php + content.php).

    Is there something i have to add to my function.php to make IS works also with custom taxonomies?

    Thanks,
    LG

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you give me more details about how you created the custom taxonomy, so I can try to reproduce the issue?

    Thanks!

  3. g10r3
    Member
    Posted 1 year ago #

    Hi Jeremy,

    i use this code into my function.php:

    function fco_create_taxonomies() {
    
    	$labels = array(
    	    'name' => _x( 'Piattaforme', 'taxonomy general name' ),
    	    'singular_name' => _x( 'Piattaforma', 'taxonomy singular name' )
    	    );
    	register_taxonomy( 'piattaforme', array ('post', 'fco_edizioni'), array(
    		'hierarchical' => true,
    		'labels' => $labels,
    		'show_ui' => true,
    	    )
    	);
    
    }
    
    add_action( 'init', 'fco_create_taxonomies' );
  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks! Do you use a custom template page to display the taxonomies, or does it rely on the archives.php template?

  5. g10r3
    Member
    Posted 1 year ago #

    No, i don't have any custom template for the taxonomies. It relys just on index.php

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks!

    Could you post a link to your site so we can have a look and see if we can do something to fix the issue?

  7. g10r3
    Member
    Posted 1 year ago #

    Hi Jeremy, sorry for the late reply.

    Here's the site: http://fuorigio.co/

    Thank u!

    LG

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks. We'll have a look, and I will get back to you as soon as I have some news.

  9. Erick Hitter
    Member
    Plugin Author

    Posted 1 year ago #

    The next release of Jetpack will address this problem. A modification to WordPress' SQL query that Infinite Scroll makes was resulting in invalid SQL under certain conditions.

    We corrected this problem in http://plugins.trac.wordpress.org/changeset/698826.

  10. nayan87
    Member
    Posted 1 year ago #

    I want to use Infinite scroll, but it doesn't work on my theme.
    this my url http://www.picturetoshare.com/
    I used:

    Content Selector: #content

    Navigation Selector: #pagination loop-pagination

    Next Selector: #next page-numbers

    Item Selector: #hfeed

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @nayan87 You can follow the instructions here to add Infinite Scroll to your theme:
    http://jetpack.me/support/infinite-scroll/
    http://ottopress.com/2012/jetpack-and-the-infinite-scroll/

    If that doesn't help, could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic