First, I would strongly suggest that you make a Child Theme. Otherwise, when an update is issued for Twenty Ten, your changes will be lost.
Once you have your Child Theme working, copy the loop.php file from Twenty Ten into your child’s folder and make the change.
Near the bottom of the file, find the section shown below:
<?php /* How to display all other posts. */ ?>
<?php else : ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="entry-meta">
<?php twentyten_posted_on(); ?>
</div><!-- .entry-meta -->
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
Then, change this line:
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
to this:
<?php if ( !is_category() && ( is_archive() || is_search() ) ) : // Only display excerpts for archives and search. ?>
just change the_excerpt to the_content,you will get all the content
@avnish, your solution will always give all the content, not just for category queries, but also for archives and searches. That is not usually what you want.
Either of those should work. We can’t do anything more without seeing your code. Please put your code in a pastebin and post a link to it here.
code from what…loop.php? That’s what I’m not sure of…where do I change this?
Yes – loop.php. See my reply above.