522 – Stop Using functions.php for Custom Code

15:16
 
Jaa
 

Manage episode 340593315 series 9246
Tekijältä Dustin R. Hartzler | WordPress Website Engineer. Player FM:n ja yhteisömme löytämä — tekijänoikeuksien omistajana on kustantaja eikä Player FM ja ääntä lähetetään suoraan heidän palvelimiltaan. Napsauta Tilaa -painiketta, kun haluat seurata Player FM:n päivityksiä tai liittää syötteen URL-osoitteen muihin podcast-sovelluksiin.

Announcements

New Version of Sensei
People of WordPress
Sandbox testing for WooCommerce Extensions

Is there a plugin for that?

With more than 50,000 plugins in the WordPress repository, it’s hard to find the perfect one. Each week, I will highlight an interesting plugin form the repository.

For more great plugins, download my 50 Most Useful Plugins eBook.

Sensei is a Learning Management System built by Automattic that integrates nicely with WooCommerce.

Stop Using functions.php for Custom Code

Sometimes it makes sense to use the functions.php file for theme related code snippets.

But if your theme depends on the functionality, I recommend one of three options:

  • [Code Snippets plugin](https://wordpress.org/plugins/code-snippets)
  • Custom functionality plugin
  • Custom plugin

Thank You!

Thank you to those who use my affiliate links. As you know I make a small commission when someone uses my link and I want to say thank you to the following people. For all my recommended resources, go to my Resources Page


View on YourWebsiteEngineer.com

542 jaksoa