Read More Tag not working in my custom theme page
-
hi,
i m using WP theme but my home page is custom ! i m adding more tag in my post but its not working on my home page:
here is my CODE:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<?php $today = getdate(); $query = new WP_Query('&category_name=topstory&posts_per_page=1' ); echo ' <ul>'; while ( $query->have_posts() ) : $query->the_post(); echo ' <li>'; $queried_post = get_post($cat_id); ?> <h1><a>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> <span class="date"><?php the_time('F j, Y') ?></span> <div class="clear"></div> <div class="maximg"><a>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail(); ?></a></div> <div class="contentpp"> <div class="post-excerpt"> <?php the_excerpt(); ?> </div> </div> <?php echo '</li> '; endwhile; echo '</ul> '; ?>
- The topic ‘Read More Tag not working in my custom theme page’ is closed to new replies.