How to override the single store template?
If you are trying to get the single store pages to display or override a unique single page template (single-stores.php), as opposed to the standard single.php template for blog posts.
You can create a single-stores.php in your child theme. This will override the normal template.
Questions & answers (8)
Tony CrespoDecember 12, 2023
If not is there documentation on how to create the single-store.php page?
EdoAugust 1, 2024
Hi, did you find any solution?
Tony CrespoDecember 11, 2023
Is there anyway to make the single page compatible with elementor?
Yousof K.November 25, 2021
Hi there. How do I customize the content of the tooltip to add custom items?
DillonJanuary 13, 2020
Which folder should I install the single-stores.php in the child theme?
WeLaunchJanuary 13, 2020
You can put the template file directly into the main folder.
ChrisSeptember 24, 2019
When using the single-stores.php, is there a way to extend or modify the output of stores_single_content in the content? Such as creating a customized stores_single_content function in functions.php or via another method.
WeLaunchSeptember 25, 2019
You can hook into the “the_content” function yourself as we do.