Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Proper way of adding functions (http://forum.bytesforall.com/showthread.php?t=23548)

riska Sep 14, 2016 07:36 PM

Proper way of adding functions
 
Using BuddyPress with WordPress. If I add functions to functions.php under the Atahualpa theme folder, it breaks the site. When I go to Atahualpa (3.7.24) Theme Options to enter HTML Inserts, it says PHP code cannot be used anymore.

How do I incorporate function snippet with this theme?

Thanks in advance.

juggledad Sep 15, 2016 04:32 AM

In this case iWork's create a child theme and add the functions to its function.php

However, it should work if you put them in the themes function.php

When you say it 'breaks the theme' how?

riska Sep 15, 2016 02:18 PM

Thank. A child theme should do it - just tested. I tried it a while back but I guess I had problems with my functions.php and the site won't load.


All times are GMT -6. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.