Your theme doesn’t necessarily include all these template files.
It might just use index.php
to serve the single page template as well as listings (category, date, author, tag, etc).
The articles Theme Development and Template Hierarchy from the codex should get you on the right road with theme development.
If you add a single.php
file, WP will use that instead of index.php
for example.
‘product-category.php’ (as @ialocin rightly says) is almost certainly a WooCommerce template file and the way you override that is different. They have good docs: http://docs.woothemes.com/document/template-structure/
The general principle is the same – you override the default template (index.php) with successively more-specific templates.
Related Posts:
- Custom page for WooCommerce’s /product-category/
- How to override Category rendering mechanism
- WooCommerce IF statements not working
- How to differentiate the homepage structure from the category page structure in WordPress template?
- How to edit woocommerce sub-category page
- category id (term_id) in url instead of slug
- Display All Products by Category with WooCommerce
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Woocommerce get category image full size
- 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
- Programmatically create product category and add thumbnail in woocommerce
- Different templates for parent and children categories/taxonomies
- Reflect nested categories in appearance > menus
- Create product category and keyword search form in woocommerce? [closed]
- Display only deepest category on a single post?
- Remove child products from woocommerce category page [closed]
- How do I set a specific template for sub-categories?
- How do I edit pre_get_post for the category the user is currently in?
- Exclude a category from the filed under list only on some templates
- Create single.php for specific category by category id
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- How to select product category while adding new product in woocommerce? [closed]
- Use get_term_children to get the sub category of a parent category for the current post
- Hide uncategorized products from the shop page
- Remove word “Category” from WooCommerce product page [closed]
- is_archive() content being shown instead of is_category()
- Filtering search results
- Alphabetizing Posts in a Category Page?
- WooCommerce change category url and product base
- 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?
- Output link to category from WP_Query loop of woocommerce products
- display woocommerce all category title on home page
- Apply custom category template to subcategories
- Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !
- Add Icons to the Product Category Sidebar Widget WooCommerce
- Add Product categories to WordPress menu without losing hierarchy
- Display “add to cart” button on every listing in product category page?
- How to get product count with respect to categories in WooComerce
- Code to pull in a PHP file named after the category ID
- Getting categories id for all products in cart
- Get woocommerce catogry
- get_cat_ID() not wokring
- Exclude category from Tag Template
- Display child categories in WooCommerce
- WooCommerce duplicate sub categories and product slugs
- 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
- Set post categories to include parents when setting child category
- Linking products to categories
- Woocommerce category show subcategories only/omit posts for specific category
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- Omit specific product categories from WooCommerce shortcode
- products nested by subcategories in a current category archive
- WC 3.x Get categories from variable product of the cart
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Product Category WooCommerce
- Making a tourism information website [closed]
- Set a them for all subset of category
- How to display only posts assigned to a particular, isolated, subcategory
- Highlight wp_nav_menu when category is selected
- Archive.php filtered by pre-determined category
- one category template for multiple categories
- Hide woocommerce category name from specific pages
- Hide woocommerce category name from specific pages
- need to add custom field in more products
- How to redefine the sorting of product categories by menu_order?
- Different templates for different category tags
- Pagination not visible on woocommerce’s category page
- Pagination is not working properly in Product Category/Tag pages
- Best way of getting WooCommerce category path
- How to recreate a copy of a product category in WooCommerce? [closed]
- Get parrent category name
- Sorting category products not working
- How to create a template for categories
- WooCommerce category display in custom page
- Sorting Woocommerce products by category and attributes
- Woocommerce custom taxonomy order
- Update wordpress menu with woocommerce products
- How to get Woocomerce categories count
- Woocommerce – Display product category of product in Orders page
- Changing Woocommerce categories programatically
- Get all categories
- Woocommerce Force the category choice before creating new product? [duplicate]
- How to load/include category templates based on conditionals?
- Categories and products woocommerce wordpress
- Function to reference post meta in place of category Woocommerce
- Add custom fields to Woocommerce Category Page
- how to create a page that shows all of multiple category posts on a single page
- Restricted category in Woocommerce [closed]
- Products showing up in subcategory when they shouldn’t
- Adding 400 product categories with their hierarchy to a navigation menu
- How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?
- What would be the easiest way to show subcategories under specific parents as text links only?
- How can I display the category descriptions below the category name using a functions.php filter?
- Change woo status automatically [closed]