Hi there,
To ensure your changes are not lost during updates, all code modifications in the parent theme’s functions.php must be moved to the child theme’s functions.php.
The same applies to your assets, such as marker images: they should reside within the child theme directory only. This keeps your customizations safe and separate from the core theme files.
This is standard WordPress practice, not just our recommendation for our plugin.
I hope that helps.
Best regards,
Yes, the child theme is setup as per normal process. There are no code modifications relevant to WP Store Locator.
Why does the child theme need its own copy of the default \wpsl-markers\ directory? Shouldn’t it use the default directory in the parent theme?
Hi again,
The wpsl-markers directory should reside in the child theme only. This is ‘the WordPress way’.
When using a child theme, you should treat it as your primary theme. Even though it inherits functionality from the parent, keeping all customizations in the child theme is the only way to ensure your changes are safe. This allows you to update the parent theme in the future without losing any of your work.
Moving everything there is the most logical step for a stable setup.