JProductions
Member
Posted 1 year ago #
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
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();?>.
JProductions
Member
Posted 1 year ago #
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?
If your theme's single.php file uses the_content, yes.
JProductions
Member
Posted 1 year ago #
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?