Title: Add Code in functions.php File
Last modified: November 20, 2022

---

# Add Code in functions.php File

 *  Resolved [Mohsin Alam](https://wordpress.org/support/users/mohsinworld/)
 * (@mohsinworld)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/)
 * Can I use this plugin to host the code for functions.php?

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

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/#post-16218514)
 * Hi [@mohsinworld](https://wordpress.org/support/users/mohsinworld/),
 * WPCode can be used to replace code you would otherwise put in functions.php –
   by creating snippets in WPCode you no longer need to manage the code in functions.
   php and it’s also safer for you as errors get caught so that you can always access
   your site’s admin without having to edit files via FTP.
 *  Thread Starter [Mohsin Alam](https://wordpress.org/support/users/mohsinworld/)
 * (@mohsinworld)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/#post-16218545)
 * How can I set it for functions.php?
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/#post-16218555)
 * Hi [@mohsinworld](https://wordpress.org/support/users/mohsinworld/),
 * I’m not sure I fully understand what you are trying to achieve but if you are
   trying to use WPCode to edit functions.php, that will not work.
 * Please let me know if I misunderstood the question.
 *  Thread Starter [Mohsin Alam](https://wordpress.org/support/users/mohsinworld/)
 * (@mohsinworld)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/#post-16218570)
 * I can see inserts at the start of the post, the middle of the post, after the
   post, and so on for the page. But which setting will work for function.php? which
   setting I should select?

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

The topic ‘Add Code in functions.php File’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mohsin Alam](https://wordpress.org/support/users/mohsinworld/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/add-code-in-functions-php-file/#post-16218570)
 * Status: resolved