Add Code in functions.php File

Hi @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.

How can I set it for functions.php?

Hi @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.

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?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer