Fade and Loading icons
-
Hi all.
I use the plugin in my blog, in more page (full blog, archive, category).
In all page i have the same problem:1. The transition=”fade” working only for first “block” of posts (i am not like the “movement”);
2. The loading icon not moves to the bottom of the page, but stays on top, hover the posts;This is my repeater
<article class="ms-item col-lg-6 col-md-6 col-sm-6 col-xs-12" id="post-<?php the_ID(); ?>" <?php post_class(); ?> > <?php if (has_post_thumbnail()) : ?> <div class="article-preview-image"> <!-- Thumb --> <?php the_post_thumbnail('large'); ?> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><i class="dashicons dashicons-visibility"></i></a> <div class="blog-category"> <?php $categories = get_the_category(); echo esc_html( $categories[0]->name ); ?> </div> <div class="postdate bg-lightgray headerfont"> <span class="postday"><?php the_time('d'); ?> </span> <?php the_time('F'); ?> </div> </div> <!-- End thumb --> <h2 class="post-title"><a href="<?php the_permalink(); ?>" class="post-title-link"><?php the_title(); ?></a></h2> <h2 class="post-author">by <?php the_author(); ?></h2> <div class="post-excerpt"> <?php custom_excerpt(); ?> </div> <?php else : ?> <?php endif; ?> <div class="clearfix"></div> <!-- <?php get_template_part('templates/entry', 'meta-subhead'); ?> --> <div class="readmore"><a href="<?php the_permalink(); ?>" class="btn btn-green btn-block">READ MORE</a></div> <div class="clearfix"></div> </article> <!-- End Article -->
This my shortcode for the Blog Grid page (insert when i created “New Page”)
[ajax_load_more post_type="post" transition="fade" posts_per_page="3"]
You can see the result here:
http://marcomiserini.altervista.org/blog/bloggrid/Or, code in archive.php:
echo do_shortcode( '[ajax_load_more category="' . $cat_slug . '"]');
(result in: http://marcomiserini.altervista.org/blog/category/fotografia/)and
echo do_shortcode( '[ajax_load_more month="' . get_the_date('m') . '" year="' . get_the_date('Y') . '"]');
(result in: http://marcomiserini.altervista.org/blog/2016/03/)Any suggestions?
Thanks,
Marco(sorry for my bad english)
- The topic ‘Fade and Loading icons’ is closed to new replies.