• I am using the warm-home theme and want to expand the posts. Currently I can only show a sentence on the home page for each post entry and want to have the full blog post. I would love any help on how to edit the code or what I need to do. Thanks!

Viewing 1 replies (of 1 total)
  • Please make a backup before carrying out this change.

    Edit index.php from an FTP client or from the Editor menu option in the Dashboard under Appearance.

    Navigate to around line 34 where it currently says:

    <?php the_excerpt(); ?>
                    <p class="quick-read-more"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                      <?php _e('Reading More >>', 'warm-home');?>
                      </a></p>

    And change it to say,

    <?php the_content(); ?>
                    <p class="quick-read-more"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                      <?php _e('View Post', 'warm-home');?>
                      </a></p>

    This makes use of the_content which in turn will allow you to break down posts using the <!--more--> quick tag if you wanted.

    About More

    If the quicktag <!–more–> is used in a post to designate the “cut-off” point for the post to be excerpted, the_content() tag will only show the excerpt up to the <!–more–> quicktag point on non-single/non-permalink post pages. By design, the_content() tag includes a parameter for formatting the <!–more–> content and look, which creates a link to “continue reading” the full post.

Viewing 1 replies (of 1 total)
  • The topic ‘Expand posts in warm-home theme’ is closed to new replies.