Title: Great Code!
Last modified: September 3, 2016

---

# Great Code!

 *  [Matthew](https://wordpress.org/support/users/kidsguide/)
 * (@kidsguide)
 * [11 years ago](https://wordpress.org/support/topic/great-code-2/)
 * Don’t think its quite worth downloading the plugin but I copied the code into
   my themes function.php and it works awesome!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [11 years ago](https://wordpress.org/support/topic/great-code-2/#post-7944609)
 * Hi Matt
 * Just a quicke note on copying stuff into the `functions.php` file: It’s usually
   bad practice to put stuff in a theme when it clearly is “plugin territory”. If
   you use the plugin, you get all updates and bug fixes, and nothing will get lost
   when you change themes. Also, your site **will not** get faster when you use 
   less plugins and put everything in your functions.php. It will just make it harder
   to maintain.
 *  Thread Starter [Matthew](https://wordpress.org/support/users/kidsguide/)
 * (@kidsguide)
 * [11 years ago](https://wordpress.org/support/topic/great-code-2/#post-7944610)
 * > and nothing will get lost when you change themes.
 * I am using a child theme.
 * > Also, your site will not get faster when you use less plugins and put everything
   > in your functions.php. It will just make it harder to maintain.
 * I know. But I like not having hundreds of plugins installed. It is cleaner if
   I just copy a few snippets of code into my function.php and label them with `/**/`
   or `//`.
 * > If you use the plugin, you get all updates and bug fixes.
 * I didn’t say this above but I edited the code slightly. So I would end up not
   updating the plugin anyway because then I would need to edit it every time.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Great Code!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-media-library-fields_f9f9f9.
   svg)
 * [Better Media Library Fields](https://wordpress.org/plugins/better-media-library-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-media-library-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-media-library-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/better-media-library-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-media-library-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-media-library-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matthew](https://wordpress.org/support/users/kidsguide/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/great-code-2/#post-7944610)