![]() ![]() ![]() ![]() If there is no category.php in your theme folder, that means the theme controls this view in either archive.php or index.php. If you are to change the way all categories are displayed, you should instead create a child theme - holding your own version of category.php. Instead you should either create a template file containing the ID or the slug of the category you would like to change. That would mean that you potentially lose all your changes in a future theme update. " rel="bookmark" title="Permanent Link to ">įirst off, if there actually exists a file named category.php in your theme folder, it would be unwise to follow Nakum's advice regarding editing the file directly. You need to create category template like below : Īrticles and tutorials about design and the web. If category.php file is not exist in your theme then you can create a new file with category.php name and do customization it will automatically uses this file when you will display category posts. You will find category.php in your theme folder and customize according to your requirement. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |