php - Page loads only half of the page -
i don't know happened here php code faulty. page has 5 webinars in it: http://veteducation.com.au/webinar/
the problem 1 webinar shown on first time load when refresh it, other 4 webinar shows up.
why page loading 1 webinar on first time load , 4 webinar when refreshed? want see 5 webinar on first time load.
please me this.
<?php $args = array( 'post_type' => 'webinars', 'orderby' => 'modified', 'posts_per_page'=>-1 ); $loop = new wp_query( $args ); if ( $loop -> have_posts() ) : while ( $loop -> have_posts() ) : $loop -> the_post(); ?> <?php include( templatepath."/"."includes/class.common.php" ); $classobj = new common_class(); ?>
i loaded in ie, chrome, , opera showed 5. sounds browser aggressively caching version 1 webinar loaded , loading page when press refresh.
try clearing browser cache or load in fresh browser (chrome's incognito mode great this).
Comments
Post a Comment