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.
Thanks for the help!