Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update custom theme docs and path checks for custom templates #162

Open
cristianuibar opened this issue Jun 15, 2022 · 0 comments
Open

Update custom theme docs and path checks for custom templates #162

cristianuibar opened this issue Jun 15, 2022 · 0 comments

Comments

@cristianuibar
Copy link
Contributor

custom.template.php is being removed when a plugin update is installed. We should no longer recommend this method of customization for the template files. Instead, we should recommend using a child theme and installing it in the main folder of this child theme instead.

The correct path would be: wp-content/themes/<child-theme-slug>/toplytics-template.php

Original report here: https://wordpress.org/support/topic/custom-template-php-deleted-while-updating/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant