note for your documentation
-
you have great references in your documents library! Thank you. A quick note
when changing templates based on this page:
https://wpstorelocator.co/document/load-custom-store-locator-template/you state the user should use
'path' => get_template_directory() . '/' . 'wpsl-templates/custom.php'this will only bring the url for the PARENT theme. If someone is using a child theme, it woule be better to use:
'path' => get_stylesheet_directory() . '/' . 'wpsl-templates/custom.php'This way the wpsl-templates (or whatever it’s named as) can be placed in the CHILD theme folder.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘note for your documentation’ is closed to new replies.