Site icon Catch Themes

category archive

I created a category archive page in my main menu (for category = 'question'). I would like to achieve the following: - change the way the page title appears - display the full content of each post in this category (not an excerpt) - display all the comments, without requiring the visitor to click on anything - display only the 50 most recent posts in this category Here's how I tried to do this. I copied the file category.php from the Catch Evolution folder over to the child theme folder. I changed the file name to category-question.php. I edited the file and changed the printf line to read as follows: printf( __( 'HELPline Test'); I added the following right before the endwhile: <?php comments_template( '', true ); ?> However, the page no longer loads. It used to, before I copied the file over to the child theme folder, and edited it. I read, but did not understand, the instructions in category.php that read as follows:
/* Include the Post-Format-specific template for the content.
 * If you want to overload this in a child theme then include a file
 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
Hoping for some guidance about this, and also limiting the number of posts to 50. Thank you.
Exit mobile version