simooo
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Can't set max_pages valueThis is the page:
https://boscomattel.com/blogAh, thanks! Now that you mentioned CSS I started wondering if it had to do with there not being enough “air” beneath the load more button so that the scroll event doesn’t get triggered. i started messing with the window size and it seems this was indeed the case.
The fact that it stopped after 5 pages was weirdly enough a coincidence that had to with the fact I’m using two columns that are loading independently and after 5 pages they happened to be of the same height.
Is there a setting which controls how far from the bottom of the window the scroll event is triggered?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Can't set max_pages valueGreat to know – I couldn’t see that under Shortcode Parameters on the plugin’s page here on www.ads-software.com. I didn’t look further into it because I never got past the main hurdle of getting the max_pages parameter to actually take effect. Any thoughts on what could be going wrong?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Can't set max_pages valueThanks for the quick reply! What I really want is to set it to infinity, but I wasn’t sure if there was an infinity setting (e.g. -1) so I started by trying some high numbers like 999 and 99, then I tried low numbers like 2. But it just doesn’t seem to have any effect, instead the default 5 pages are loaded.
This is the code. I didn’t include it originally because it’s a bit messy to read on account of the php.
echo do_shortcode( '[ajax_load_more tag__not_in="'.$sidebarTagId.'" offset="3" max_pages="99" scroll="true" posts_per_page="3" exclude="'.$sticky.'"]' );
Forum: Fixing WordPress
In reply to: Index.php loaded instead of category.phpPS – permalinks work, and single.php and error page are both routed correctly. It’s just the routing of category pages that don’t seem to work from what I can tell.