If I understand you…
Your theme may only have an index.php and a single.php but WordPress supports a much more complicated templating system, and you can control the formatting of different types of content just by creating files with the right names. In your case, I think that at least one of the files you need is category.php.
Of course, you will have to write the appropriate PHP for that template but you should be able to copy either your index.php or your single.php to get started.
Related Posts:
- is_archive() content being shown instead of is_category()
- How to override Category rendering mechanism
- Custom page for WooCommerce’s /product-category/
- Set a them for all subset of category
- Different templates for different category tags
- Template for product-category page [closed]
- Show posts from all categories
- Is it possible to stop selected plugins from loading on certain template pages?
- How to move page templates to custom folder?
- Is it possible to manipulate the list of page templates?
- Check if current category has subcategories
- wp_nav_menu not appearing for a couple pages
- Preventing index.php?category_name=something from redirecting
- Make all subcategories use the template of its category parent?
- Listing Category ‘child_of’ by slug rather than ID
- wp_update_nav_menu_item() to insert categories
- How to get the url to tag & category base set by the user?
- Different templates for parent and children categories/taxonomies
- Display only deepest category on a single post?
- How do I set a specific template for sub-categories?
- Template tags to display custom post type posts in category template?
- Why adding Categories does not auto refresh in Backend while using my custom theme?
- Exclude a category from the filed under list only on some templates
- Create single.php for specific category by category id
- Returning Variables back into a template
- Alphabetizing Posts in a Category Page?
- How to control template resolution if both Author and Category filter in place?
- Which php file lists all the post of a category
- Why is this category page limiting the number of posts?
- Switching between custom templates in a post type of the admin menu
- Apply custom category template to subcategories
- Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !
- get_query_var() and permalinks
- Retrieve all posts within tag OR category?
- Edit the markup of categories list
- Code to pull in a PHP file named after the category ID
- Where can I access my custom page template?
- Disable front-page.php template
- Exclude category from Tag Template
- New Theme creation
- How to make a Thumbnails Mosaic
- Are Category or Tag Archive Pages Possible?
- Possible to make a subdirectory that loops through a single category?
- Need Category RSS Feed that shows all posts
- How to enable template page only for a post id page
- WooCommerce IF statements not working
- How to get data about category in category.php
- editing fonts of category links from the_category() funtion
- Single Page theme [closed]
- Making a tourism information website [closed]
- Can Page Templates be Applied to Archive and Post Templates?
- How to check category of of custom post type or not
- How to display only posts assigned to a particular, isolated, subcategory
- Highlight wp_nav_menu when category is selected
- How to call custom category field data in theme?
- Archive.php filtered by pre-determined category
- one category template for multiple categories
- The default code for “posts_nav_link” on category.php isn’t working
- Only one post is showing on category page, why?
- Why category.php throw 404 in wordpress while calling paginate_links()?
- Move default page templates to sub directory
- Updating category template to change how subcategories display
- Categories overview that links to page displaying posts
- How can I get categories IDs if multiple categories requested via URI?
- display posts from specific category on a page , in thematic child theme?
- Woo Framework: woo_cat_featured not populating
- Category template to show different categories based on parent
- Page display certain Category Posts
- Does “show_option_all” in wp_list_categories do anything?
- How can I improve this taxonomy treating approach?
- Sub category templates
- Inside a loop, how to change CSS class based on category name?
- Custom taxonomy template for categories
- Add a custom category page in WordPress.org
- How to use get_template part in the plugin?
- How to insert category list into post creation page, and retrieve chosen categories?
- How to create a template for Pages?
- Load sidebar template just once to prevent multiple animations
- List all posts in a category with query_post() function
- Need help with adding templates (archives and sitemap) to WordPress child theme
- Limit number of posts on a custom category template – breaking pagination
- Question on using custom structures for categories
- Problem with different query loops (and “main loop”) on category template page!
- How can I display the number of post associated to a category in Twig/Timber WordPress? [closed]
- Getting the category title / description returns first matching post?
- Is it possible to have a template that works on multiple categories where the link address contains the specific category?
- Custom template for sub-sub-categories
- Allow user to select categories that will display in post loop
- Insert HTML content in WP Query at specific point
- What Must to Display the “mysite.com/category” URL?
- How to get the current category with custom posts
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Give posts a particular template based on the assigned category
- Templates dropdown not appearing using _s theme (underscores)
- Home Page Template – Specific Category
- Category page returns 404 error
- How to use wp_list_categories with plugin category?
- Using if statement in index.php instead of creating separate template files
- Why is my sub-category template showing the wrong posts
- Add Date & Author Meta to Category Archive Page