It will depend entirely on your theme. Refer to the Template Hierarchy and follow, from the left, the “Category Archive” path until you see a file that exists in your theme. That will be the file being used on the category pages. Keep in mind that if it is archive.php or index.php then it could also be being used for the other queries that lead to, so check the other files in the theme directory against the hierarchy to make sure you’re not changing pages you don’t want to.
For WooCommerce it’s more complicated. Your theme could have its own file, or it could just be using the ones in WooCommerce. Refer to the WooCommerce Template Structure to see which template files WooCommerce uses. If you don’t find what you’re looking for refer to the WooCommerce Theming Docs for documentation of customising and developing themes for WooCommerce.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- I am trying to make a field show and save from quickedit screen
- woocommerce remove coupon link does not work
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Precheck fields when I add a new post
- Woocommerce list variations that are added already to cart in Single Product
- Should all plugins be encapsulated in a Class?
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Generate custom output for page/URL in a plugin
- Post source link plugin – small modification
- Add CSS animation as Preloader to WordPress
- How to list the Hooks and order of execution in current loading page? [duplicate]
- How to add product images using script?
- Setting up widgets in wordpress with a unique ID for the after_title argument
- Custom Shipping method not showing in checkout
- Sort products without thumbnail in WooCommerce shop page
- Create or Update thousands of woocommerce products via PHP
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Can’t create term for product attribute
- Make specific products accessible only to a user role in WooCommerce
- force customers to add only single item to card per purchase EDD [closed]
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- Manually add order item with fixed product_id in WooCommerce
- Custom Post Type Plugin not loading category template and loading 404 instead
- Auto delete WordPress users according to time
- Add Product Subtitle to Woocommerce Product Page
- Automatically add attributes to woocommerce product?
- Edit Yoast SEO breadcrumbs output [closed]
- Using WP Category Lists Plugin to Dynamically Display Category (PHP)
- How would I go about creating a user ranked post popularity page?
- custom payment gateway in woocommerce failed to connect to remote api server
- Replacing a plugin function with a custom renamed function doesn’t work
- Save custom attributes of product in woocommerce
- Customize permalink wordpress category id
- Custom Pages for Woocommerce Product-Category Pages
- creating a custom shop page display on archive woocommerce
- polylang + category/tag custom language link
- PHP Error When a plugin is active
- Inserting custom PHP script on homepage
- Show icons or badges under title on product archives/category pages
- Loop in elementor custom widget not working
- How to add a new column with text fields to WooCommerce Cart List?
- How to display registered customer list as dropdown in WooCommerce checkout?
- How to change WooCommece variation data programmtically [closed]
- dynamically create callback functions inside a for loop
- How to change layout of shop page in wordpress? [closed]
- I want to filter my products with attributes [closed]
- How to add category and subcategory in WordPress custom code?
- Categories from front-end, checkbox selection doesn’t work
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- Get product categories and add them to a custom taxonomy
- How to hide featured images of all posts falling under the same category in wordpress?
- Hide fields in woocommerce settings
- How to add custom plugin data to the cart in woocommerce using custom button on product page?
- implement custom roles in custom plugin
- Display top level parent category as a single product body class (Woocommerce)
- Show prices with tax Inclusive in Minicart widget
- Display posts by alphabetical order
- Post source link plugin – small modification
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- How can I find related learndash course id from woocommerce product object?
- Rename a folder via HTML POST request
- Google Maps for Woocommerce Checkout
- working code, not working – Plugin Dev
- my hook or my function wont run in the cronjob
- Cron job shedules replace?
- Add a WooCommerce Product Variant with attributes programmatically
- Change Woo Custom Endpoint Titles from a Plugin
- Custom shortcode being shown in WPBakery backend rather than the block
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Configuring default woo commerce login with modal popup
- Automatically check “Enable stock management at product level” to the existing products?
- redirect to a custom page
- Flexslider empty slide
- Woocommerce categories displayed on every category and shopping page
- woocommerce product search based only title
- Custom SportsPress list
- Problem with conditional woocommerce custom checkout field
- How to allow customers to input a text as a product variation *and* charge per character?
- Showpost and last
- Display static pages instead of category, in code
- How to fix vanilla comments extra iframe space
- I want to remove the register/login WordPress top bar from my website
- Unable to show 4 products in a row
- Woocommerce quick checkout form [closed]
- How to execute init or woocommerce_init only for checkout page
- What can I do to customize a widget provided with this plugin? from where have I to start?
- WordPress: code structure
- Translate text for empty product
- How to pre-set WordPress settings for specific posts?
- Adding a script & php to functions.php
- How to add a text in the checkout page woocomerce?
- Shortcode inside a redirect [closed]
- Create Custom Coupon Type
- Product customizing quiz – quiz adding products to the cart
- How to make a Template page to show the information of different things Shop and Product page?
- How to create different woocommerce single_product.php pages for each product? [closed]