Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1427488

    Hello, is there a way to set infinite scroll for categories instead of pagination?

    #1427490

    have a look at this – maybe it is still working:
    https://kriesi.at/support/topic/quick-way-to-add-infinite-scroll/#post-681490

    #1427501

    Hi,
    Thanks for your suggestion and link Guenni007

    Best regards,
    Mike

    #1427809

    May I ask which file in the theme is for the category page so i can try to add some code?

    #1427822

    Hi,
    The theme uses the archive.php template for the category archive and other archive pages, if you want to create a custom Category Template you can copy the archive.php and rename it category.php and add it to your child theme directory.
    If you want to change the layout for your custom category page look for this around line 52:
    $avia_config['blog_style'] = apply_filters( 'avf_blog_style', avia_get_option( 'blog_style', 'multi-big' ), 'archive' );
    and change to:
    $avia_config['blog_style'] = 'blog-grid';
    for a grid layout, or you can choose one from one of these:

    
    blog-grid
    single-big
    single-small
    multi-small
    multi-big
    bloglist-excerpt
    bloglist-simple
    bloglist-compact
    

    But I don’t know how you would add infinite scroll to it, so you will need to experiment with it, perhaps the WordPress Codex will help.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.