"Read More" not working
-
Hello! I just created a custom theme template for specific category because my client wanted just ONE category listings page to display in reverse (ASC) order – I just modified my category page template and used the Page template feature to display this category listing. For some reason I don’t know the “More” functionality is not working. I’m sure it’s an issue with my template code, perhaps because I’m using a page to display the categories? but does anyone have any ideas why?
Thanks in advance and here’s my code:
<?php get_header(); ?> <div id="contentwrapper"> <div class="page-innertube-top"></div> <div class="innertube-post"> <h1 class="catHeader">Cat Header</h1> <!-- displays the category's description from the WordPress admin --> <?php echo category_description(); ?> <?php query_posts('cat=14&order=ASC'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="contentcolumn"> <?php echo '<div class="featured-thumbnail">'; the_post_thumbnail(); echo '</div>'; ?> <div class="post-content"> <div class="homePostTitle"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></div> <?php the_content(__('Read more'));?> </div> <hr> </div> <?php endwhile; else: ?> <div class="no-results"> <p><strong>There has been an error.</strong></p> <p>We apologize for any inconvenience, please <a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>">return to the home page</a> or use the search form below.</p> <?php get_search_form(); ?> </div><!--noResults--> <?php endif; ?> <?php if (show_posts_nav()) : ?> <div class="newer-older"> <?php next_posts_link('« Older Entries') ?> <?php previous_posts_link('Newer Entries »') ?> </div> <?php endif; ?> </div> <div class="page-innertube-bottom"></div> </div><!--#content--> <?php get_sidebar(); ?> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘"Read More" not working’ is closed to new replies.