Featured post won't link
-
I’m running Expound; have been for years. Lately, the featured blog post preview shown at the top of the page doesn’t link to the single post. Neither the title nor the “continue reading” button link to the story. Only the image does.
Here is the relevant code on featured-content.php:
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( has_post_thumbnail() ) : ?> <div class="entry-thumbnail"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'expound-featured' ); ?></a> </div> <?php endif; ?> <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> </header><!-- .entry-header --> <div class="entry-summary"> <?php the_excerpt(); ?> <p><a class="button-primary" href="<?php the_permalink(); ?>"><?php _e( 'Continue reading →', 'expound' ); ?></a></p> </div><!-- .entry-summary --> <div class="clear"></div> </article>
Any idea how I can fix this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Featured post won't link’ is closed to new replies.