• Hi All,

    I would like all my posts to show up as full posts rather then excerpts. (Website is about photography)

    I am using categories as my menu.

    Any idea how I can make all my posts show up with all the text and images rather than as excerpts?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • What theme are you using?

    It depends on the theme. But usually you will need to edit the template of your homepage (possibly index.php), where you would find <!--?php the_excerpt(); ?--> and replace it with <!--?php the_content(''); ?-->.

    Hope that helps.

    edit content.php – ideally in a child theme – and change this section:

    <?php if ( has_post_thumbnail() ) : ?>
    
    		<div class="entry-thumbnail">
    			<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
    				<?php the_post_thumbnail( 'thumb-featured' ); ?>
    			</a>
    		</div>
    
    		<div class="entry-summary">
    			<?php echo wpautop( $post->post_excerpt ? $post->post_excerpt : athemes_limit_string(strip_tags($post->post_content), 200) ); ?>
    		<!-- .entry-summary --></div>
    
    	<?php else : ?>
    
    		<div class="clearfix entry-content">
    			<?php the_content( __( 'Continue Reading <span class="meta-nav">&rarr;</span>', 'athemes' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'athemes' ), 'after' => '</div>' ) ); ?>
    		<!-- .entry-content --></div>
    
    	<?php endif; ?>

    for instance, to:

    <div class="clearfix entry-content">
    			<?php the_content( __( 'Continue Reading <span class="meta-nav">&rarr;</span>', 'athemes' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'athemes' ), 'after' => '</div>' ) ); ?>
    		<!-- .entry-content --></div>

    do you want to keep the ‘featured image’ above the content?

    Thread Starter SandraPhotography

    (@sandracoc)

    Hi satrap and alchymyth,

    I’m using the fashionistas theme.

    alchymyth – if i replace the section above (which i found in the content.php file) with what is in your ‘for instance’ will that work to show the full posts both on the homepage and if i click on the category title (which are used in my menu as the blog pages)?

    Sorry for the confusion…I’m a novice at coding.

    Oh, and no, i don’t want a featured image since all the images will follow the brief text.

    THANKS SO MUCH!

    will that work to show the full posts both on the homepage and if i click on the category title

    I think it should work

    I also am trying to figure out how to make my posts show as full posts and not excerpts with a featured image. I do want to keep the featured image on my posts for “related posts”, but when I added the images the excerpts appeared.

    I did not find “excerpt” anywhere in the Fashionistas theme css. Any advice?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to have posts show up as full posts vs. excerpts’ is closed to new replies.