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

Move non theme related code to the plugin #249

Open
tobeycodes opened this issue Nov 11, 2024 · 0 comments
Open

Move non theme related code to the plugin #249

tobeycodes opened this issue Nov 11, 2024 · 0 comments

Comments

@tobeycodes
Copy link
Member

The README mentions:

Functionality should be built into the 10up must-use functionality as much as possible. Presentation should be kept in the theme. Separating these two makes long term development, maintenance, and extensibility much easier.

However there are several places in the theme which have code not related to presentation. Moving this code makes it easier for projects with multiple themes to share code and share a mu-plugin rather than duplicate code and increase maintenance effort.

https://github.com/10up/wp-scaffold/blob/trunk/themes/10up-theme/includes/overrides.php

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