The category.php function shows my posts in full length. I actually only want to get the excerpts of the posts. I understand that the solution is to change the loop function (when called from category.php): “the_content” must be changed into “the_excerpt”. So far so good.
In category.php, right before the call of get_template_part(‘loop’, ‘category’); I read the message:
/* Run the loop for the category page to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-category.php and that will be used instead.
Therefore I created a loop-category.php (in my childtheme directory) with exactly the same content as loop.php where I only changed “the_content” into “the_excerpt”.
But that solution is not doing the job. Nothing happens: loop-category.php is not called. Im sure there is something I don’t fully understand.
Oops! No need to hack the theme core files to show post excerpts on category listings. Go to Graphene Options –> Display –> Excerpt Display Options and uncheck Show full content in archive pages. Save Options!
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.