How to Show the Summary in WordPress Sandbox

WordPress Sandbox is a starter theme for the WordPress content management system, designed for Web developers who want to start with a clean slate for design customizations. By default, Sandbox displays the full article content on the site's home page; however, you can edit your files to display the excerpt, or article summary, instead.

Instructions

    • 1

      Sign into your site. Click on "Appearance."

    • 2

      Click on "Editor," and then open the "Index.php" file. This is the WordPress site home page.

    • 3

      Find the following line:

      <?php the_content( __( 'Read More <span class="meta-nav">»</span>', 'sandbox' ) ) ?>

    • 4

      Change the line to:

      <?php the_excerpt( __( 'Read More <span class="meta-nav">»</span>', 'sandbox' ) ) ?>

    • 5

      Click on "Update File." The home page will now show article summaries rather than the full content.

Tips & Warnings

  • The category, author, search and date based archives will still show the full content. If you wish to display summaries on these pages, repeat the process with the "Archive.php" and "Search.php" files.

Related Searches:

Resources

Comments

Related Ads

Featured