Hello, is there a way to set infinite scroll for categories instead of pagination?
have a look at this – maybe it is still working:
https://kriesi.at/support/topic/quick-way-to-add-infinite-scroll/#post-681490
May I ask which file in the theme is for the category page so i can try to add some code?
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