Conversation
supportthe plugin doesn’t create a functions file in my plugins folder, but it successfully edited a copy of my functions file that i placed in the folder. But it doesn’t activate when i create a plugin header in the file. can you provide a copy of what the proper functions.php plugin file contains so i can manually create one?
I have the same problem.
something I wasn’t aware of until now – under Appearance » Editor, this will edit your functions.php file for your theme – your child theme, too, if you’re using one (you should be). and get this plugin for line numbers, etc. it’s awesome: https://wordpress.org/plugins/better-file-editor/
Thanks for the pointer. I was aware of that. But I’m working on a site that isnt using a child theme and had to add a functionality plugin otherwise would lose my changes when the theme updates. Anyway, it’s easy enough to create the functionality plugin manually anyway. https://css-tricks.com/wordpress-functionality-plugins/ Just remember to add <?php at the top of the file.
I have the same problem.
something I wasn’t aware of until now – under Appearance » Editor, this will edit your functions.php file for your theme – your child theme, too, if you’re using one (you should be). and get this plugin for line numbers, etc. it’s awesome: https://wordpress.org/plugins/better-file-editor/
Thanks for the pointer. I was aware of that. But I’m working on a site that isnt using a child theme and had to add a functionality plugin otherwise would lose my changes when the theme updates. Anyway, it’s easy enough to create the functionality plugin manually anyway. https://css-tricks.com/wordpress-functionality-plugins/ Just remember to add <?php at the top of the file.