• Hi, I would like to have a Read More > link in my exerpt but I have the readmore in my post but it’s not linking?!

    code to query my blog

    <?php query_posts('showposts=2&date=ASC'); ?>
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<?php get_template_part( 'home', 'news' ); // Returns home-news.php) ?>
    			<?php endwhile; endif; ?>

    code to display my blog

    <li>
    	<a href="<?php the_permalink(); ?>"><h5><?php the_title(); ?></h5></a>
    	<a href="<?php the_permalink(); ?>"><span><?php echo get_the_excerpt(); ?></span></a>
    	<h6><?php the_time('j M Y') ?></h6>
    </li>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Read More> not linking?!’ is closed to new replies.