Read More link at end of excerpt is not loading inside of the Load More
-
Hi, for some reason, the ‘more’ link at the end of the excerpt is not present in the blog posts that are loaded with the AJAX Load More button.
I have this code in the content-grid loop as follows:
<div class="entry-content-grid"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( has_post_thumbnail( ) ) { // check if the post has a Post Thumbnail assigned to it. echo '<a class="entry-thumb" href="'.get_permalink($post->ID).'">'; // echo the_post_thumbnail(array(293,275)); orig echo the_post_thumbnail(); echo '</a>'; } ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'adapt' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="post-excerpt"> <?php if ( comments_open() && ! post_password_required() ) : ?> <?php endif; ?> <?php echo excerpt(17); //the_excerpt(); ?> <?php echo '<a class="read-more" href="'.get_permalink($post->ID).'"><em>More...</em></a>'; ?> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'adapt' ) . '</span>', 'after' => '</div>' ) ); ?> </div><!-- .post-excerpt --> <footer> </footer> </article><!-- #post-<?php the_ID(); ?> --> </div><!-- .entry-content-grid -->
Do you know how I can fix this so it’s consistent?
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Read More link at end of excerpt is not loading inside of the Load More’ is closed to new replies.