etaymor
Forum Replies Created
-
I get that, but in the plugin there is one option to have the posts loaded on scroll and another on click.
I’m noticing some pretty weird stuff with my asset loading that may be contributing to this, I have a hunch that is the issue. Thanks for your help! I will keep you posted and let me know if anything comes ot mind
I believe you! Just to confirm, you are doing it on click events IE:
<?php echo do_shortcode( '[ajax_load_more post_type="post" offset="10" pause="true" scroll="false" posts_per_page="1" button_label="More Posts"]' ); ?>Any special settings? I’m using: more-posts-container
Container type: Div
Custom container class
Dynamic Content: False
AJAX Security: False
Top of page: True
Disable CSS: TrueGah! Very strange. The weird thing is the posts are loading when clicked. So it’s working just the JS isn’t firing. Any other plugins accomplish something similar (Load more posts on click)? I’ll try to take a look under the hood tomorrow too.
Hey!
Just made the button show up. Let me know if this helps and thanks in advance for your help.
Hey Dcooney (and anyone else)-
You can see the staging site here: http://tvrev.actsofphilosophie.com/
The load more button is somewhat hidden now, but you can pull it up using the Inspector and just assign the z-index to 9999 and move top to like 2000px or 1500px
I have it so it just fires on a click event and just does one post for easy testing. I’ve shrunk my JS for that portion to:
$.fn.almComplete = function(alm){ console.log("callback posts") }Hey dcooney-
Yup! I initially hadn’t done this, but realized I needed to and moved it down. My app.js file where this resides is the last thing on my page.
Despite it being the last thing that callback function isn’t being hit, which I can’t figure out for the life of me.