devloco / create-react-wptheme

Create modern, React-enabled WordPress themes with a single command.
MIT License
359 stars 60 forks source link

Added wp_head and wp_footer to template files to enable WP plugins #34

Closed alancpazetto closed 4 years ago

alancpazetto commented 4 years ago

Hi!! 😄

This PR will enable to use WP plugins with react theme. I've added WP functions (head and footer) in post_installer.php file, this will load all plugins styles and scripts if need.

devloco commented 4 years ago

Hi @alancpazetto!

Thank you so much for the PR. Unfortunately any additions made to create-react-wptheme requires me to support it. And if putting in the wp_head and wp_footer causes any breaks then people will come here looking for support... and since I'm just a lone coder, I need to minimize the number of support issues I get. Therefore I need to keep create-react-wptheme as close to create-react-app as possible.

Thanks, tho! That was really nice, and I hope you're finding create-react-wptheme useful!

-joe