WordPress.org

Ready to get started?Download WordPress

Forums

P2
How to enable plugin Infinite Scroll or similar? (2 posts)

  1. FiOrE75
    Member
    Posted 2 years ago #

    I'd really want my p2 theme with endless scroll to previous posts.
    I try Infinite Scroll but it's not compatible with it.

    That's my p2 site http://www.asromanews.com

    That's some of plugin configuration:

    Content CSS Selector:
    The selector of the content div on the main page.
    Post CSS Selector:
    The selector of the post block.
    Examples:
    #content > *
    #content div.post
    div.primary div.entry
    Navigation Links CSS Selector:
    The selector of the navigation div (the one that includes the next and previous links).
    Previous posts CSS Selector:
    The selector of the previous posts (next page) A tag.
    Examples:
    div.navigation a:first
    div.navigation a:contains(Previous)

    I try all examples... any ideas? Other plugins? Modify theme?

    Thanks

    http://wordpress.org/extend/themes/p2/

  2. htrex
    Member
    Posted 1 year ago #

    Hello FiOrE75,
    I've been able to make infinite scrolling work with P2 with the following parameters:

    Content Selector: #postlist
         Posts Selector: #postlist li.post
    Navigation Selector: div.navigation
     Next Page Selector: div.navigation a:first

    it seems to be working fine, but I haven't tested it deeply.

    Forza Magica Roma, sempre!
    Ciao

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic