Talia
Member
- Local time
- 22:32
- Joined
- Jan 21, 2020
- Messages
- 84
OK, I'm honestly pretty confused. I'm working on a WordPress site and I just want to change the category template in a couple of simple ways - I want to make it so it shows the full posts instead of excerpts and I want to remove the "Category:" in front of the category name. This isn't something I've ever done before, and it looks like the theme I'm working off of (which is Understrap, specifically Understrap Child) doesn't have a category template. So I went to the WordPress core to find its category.php template, and I'm totally confused! The category.php file doesn't look at all like what I was expecting. It doesn't look like a template, it looks like a list of functions. According to official WordPress sources I've been reading (such as this), changing it to show full posts instead of excerpts should be as simple as replacing "the_excerpt()" with "the_content()", but the category.php file does not contain "the_excerpt()" or "the_content()" anywhere. I thought maybe category-template.php would be what I was looking for, but it doesn't look like it. And for the record, I can't find an archive.php either.
I'm just so confused as to what template is currently being used for the category pages because I can't find a file. Plus, I'm not sure what to work off of to create my new category template.