xanderwhite
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Masonry Blog not loading properlyOk, well I’ve managed to find the code that operates the ‘load more’ function:
<div id="load-more"> <a data-total-posts="<?php echo $total_posts ; ?>" data-perpage="<?php echo get_option('posts_per_page');?>"> <span id="load-btn-icon"></span><?php _e('Load More', 'si_theme'); ?> <span id="posts-count" data-loader="<?php echo get_template_directory_uri(); ?>/images/ajax-loader.gif"> <?php echo get_option('posts_per_page').'/'.$total_posts; ?> </span> </a> </div>
Also, played with the number of posts visible in the default WordPress settings and increasing or decreasing the number of posts works fine and all requested posts are displayed properly. The problem only happens when using the ‘Load more’ button at the bottom of the blog page.
Would really appreciate anybody’s help with fixing this issue.
ThanksWahey! Thanks for that, it’s all working nicely now.
Yes that would be a useful update to your code! But it’s a simple enough change to make yourself, the answer has just got to be found.
Thanks for your help.Good guess, I turned off WP e-Commerce and it’s all working at the moment. Had to renew the feedburner but everything came through clean.
So I guess the question is how do I keep it working with WP eCommerce working, as that’s one of the things I’m not allowed to change as they need to maintain the user knowledge of how to use that plugin (and also as they’ve paid for the gold cart update!)
If there’s a way of making them work together that’d be amazing, otherwise I have an alternative idea which I can try, but it’s not going to be as nice as doing it with podPress.
I’m just looking at the plugins I’m using and most are pretty normal, but here’s the list, just in case:
Advanced custom fields
Contact Form 7
Cookie Warning
Enhanced Text Widget
WP eCommerce (with the Gold Cart add on)
ICS Calendar
Lightbox Plus
podPress
RSS Shortcode (displays rss feeds within a page on the site)
UberMenu 2 – WordPress Mega Menu Plugin
vSlider
WordPress ImporterI’ve had a look at the podpress settings, and I’ve turned on podPress Category Casting for the ‘sermon’ category (under the categories tab as well)
It is a custom built template which probably won’t help (someone hired a team in India to build it, and I’ve been brought in to try and clear up the mess (as it’s running 3 months behind schedule!)
I have noticed that if I simply put a link to the audio file into the page that it shows up and plays as an audio feed using Google Reader and feedburner, however now I’ve got podPress looking good and working (on the site) I’d like to try and get it working to podcast side as well.