Answer the question
In order to leave comments, you need to log in
Why does the code from the product template affect the rest of the site? Why do hooks cause PHP errors?
Good afternoon.
The site has a storefront template. I want to try to change the standard product card template to my own.
Found the following way. Creating a php file and telling wordpress what types of posts this template is for.
/*
Template Name: Custom Template
Template Post Type: product
*/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question