WordPress.org

Support

Support » How-To and Troubleshooting » Home Page listing option

Home Page listing option

  • I would like all my pages to display like a catagory page does. Where it only shows the thumbnail and a small summary of the page, the title and the the meta data.

    Example:
    http://motocross.transworld.net/category/photos/

    I know how to code that using the HTML and CSS, but I was wondering if there was an option in my setting that made it just the summary, then I will style to my likings.

    I am using the Theme Graphene. I see in the loop that there is an option for this to work. It works on all category pages.

    Thanks,
    Brian

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    There’s no setting in the admin area. You would need to edit the relevant template file in your theme and replace <?php the_content();?> with <?php the_excerpt();?>.

    But, if I remove <?php the_content();?> and replace it with <?php the_excerpt();?>, when I click on the post will it load the <?php the_content();?> on a separate page?

    esmi

    @esmi

    Forum Moderator

    If your theme’s single.php file uses the_content, yes.

    ah, yes. It does have single.php

    But it calls on the loop using:
    <?php get_template_part('loop', 'single'); ?>

    Would it be easy to just create a new file called loopSingle and change it to:
    <?php get_template_part('loopSingle', 'single'); ?>

    Would that work?

    esmi

    @esmi

    Forum Moderator

    Yes – that should work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home Page listing option’ is closed to new replies.