• Hello!

    At the moment the “more” link shows fine on the primary blog page.

    Unfortunately on the category pages it is just missing after the text summaries.

    How can I add it there? Here’s what the category.php looks like at the moment – thanks for a hint on how to modify it to show the more link:

    <?php
    /**
     * @package WordPress
     * @subpackage Yoko
     */
    
    get_header(); ?>
    
    <div id="wrap">
    <div id="main">
    
    	<div id="content">
    		<header class="page-header">
    			<h1 class="page-title"><?php printf( __( 'Category Archives: %s', 'yoko' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1>
    			<?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
    		</header><!-- end page header -->
    
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', get_post_format() ); ?>
    
    				<?php endwhile; ?>
    
    				<?php /* Display navigation to next/previous pages when applicable */ ?>
    				<?php if (  $wp_query->max_num_pages > 1 ) : ?>
    					<nav id="nav-below">
    						<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'yoko' ) ); ?></div>
    						<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'yoko' ) ); ?></div>
    					</nav><!-- end nav-below -->
    				<?php endif; ?>
    
    	</div><!-- end content -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘More tag on category pages’ is closed to new replies.