Community Forums › Forums › Archived Forums › General Discussion › what way(s) does SP recommend to add to functions.php
Tagged: add to functions.php
- This topic has 8 replies, 3 voices, and was last updated 6 years, 6 months ago by
AnitaC.
-
AuthorPosts
-
December 20, 2019 at 1:57 pm #495599
Al Guevara
MemberA plugin? Via FTp? Directly?
ThanjksDecember 20, 2019 at 2:10 pm #495601Victor Font
Moderatorfunctions.php is in the child theme directory. This is not something specific to SP themes. This is the way all WordPress themes work. You edit functions.php through FTP.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?December 20, 2019 at 2:14 pm #495602Al Guevara
MemberThanks Victor, but what if the child themes gets updated?
December 20, 2019 at 2:46 pm #495604Victor Font
ModeratorChild theme are never updated automatically. If an updated child theme is ever released, the changes are generally minor. If you decide that the changes are compelling enough to update the child theme, you have to move your custom work manually. That's how all WordPress child themes work.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?December 20, 2019 at 3:09 pm #495606Al Guevara
MemberThanks Victor. Do you recommend a plugin regardless?
December 20, 2019 at 3:21 pm #495608AnitaC
KeymasterThere are different opinions on if Genesis Child Themes get updated. Yes, they are not automatically updated but there are some themes that are updated to include major changes which you'd need to be really careful implementing. For example, performing a Diff Check to see what the difference is between your current file and the updated file. You wouldn't be able to merely install an update as you could overwrite your customization.
Lee Anthony of SEOThemes created this plugin called Genesis Code Snippets. It's in the Github repo and not the WordPress repo.
Take a look at that to see if that will help you. Or you can create your own custom function file and custom CSS file.
Need help with customization or troubleshooting? Reach out to me.
December 20, 2019 at 3:54 pm #495610Al Guevara
MemberThankee Anita.
Strange SP doesn't have a plugin?Do you know why "Genesis Code Snippets" isn't in the WP repo? And will "Genesis Code Snippets" update once installed on a WP installation?
December 20, 2019 at 4:04 pm #495611Al Guevara
MemberOH oh? The page says:
Important: This plugin is for example purposes only. DO NOT USE in production!December 20, 2019 at 4:20 pm #495612AnitaC
KeymasterLet me ask Lee. He may be out for holiday, but he shares that in other groups. I've never seen that message. But you can also create your own functions plugin using Andrea Whitmer's tutorial - https://www.nutsandboltsmedia.com/how-to-create-a-custom-functionality-plugin-and-why-you-need-one/ or using Bill Erickson's tutorial here - https://www.billerickson.net/core-functionality-plugin/.
Need help with customization or troubleshooting? Reach out to me.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.