This is something i’m trying to work out… Stay tuned π
This is fixed… There was an error with a variable name.
Update to 2.0.13 when prompted.
I have updated and this still doesn’t work for me. The button keeps showing up even after it’s cycled through all the posts. When I click it, it loops back and loads posts from the beginning which is confusing.
I also get zero posts at first, until I hit the Load More button. Here’s the code I’m using:
<?php echo do_shortcode("[ajax_load_more button_label='Load More' posts_per_page='2' category='daily-feed' pause='true' scroll='false']"); ?>
If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic. This topic has been resolved.
Thread Starter
Yasp0
(@yasp0)
I updated to the newest version, but this still doesn’t work for me.
hmmm. I cannot reproduce this in any of my test cases. Is it posisble for you to say a link?
Thread Starter
Yasp0
(@yasp0)
It’s fixed.
I used the shortcode after wp_query and used the offset, this including pause=true caused troubles.
I removed the wp_query and only used the shortcode, working fine now! My bad π
Thanks.
Still doesn’t work for me.
V. 2.0.16
My shortcode is in the template (echo do_shortcode)
ajax_load_more post_type=”post” category=”case studies” posts_per_page=”15″ scroll=”false” button_label=”Load More”
Page is http://about.udemy.com/category/case-studies/
thoughts?
It is working… See this screenshot.
cl.ly/image/0G3i382e1x37
You need to style the .done class in order to make it look like the button is disabled.