• Resolved jbdev

    (@jbdev)


    Hi

    I am using the twentyeleven theme but have a problem with the category archive pages only showig the header and readmore elements of each post and not any of the content. I am using

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    		<div class="entry-summary">
    			<?php the_excerpt(); ?>
    		</div><!-- .entry-summary -->
    		<?php else : ?>
    		<div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    		<?php endif; ?>

    to call the content but it is not working.

    Any ideas why I may be struggling?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

    Thread Starter jbdev

    (@jbdev)

    Sorry I know this is a massiv pain but it is too late is there any way that this could be resolved in the short term, I can then do a fresh install and work from a child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category Archive not showing content’ is closed to new replies.