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)
-   -   Atahualpa child theme function php (http://forum.bytesforall.com/showthread.php?t=9818)

kdawes01 Sep 22, 2010 06:01 PM

Atahualpa child theme function php
 
Hi all,
My php skills are seeming to be lacking for this...

I'm doing a site that is including a hack to the Sidebars widget code in functions.php. More precisely, after
// Sidebars:

// Register additional extra widget areas:
<next 15 lines>

I want to move that section to the child functions.php so that it survives ATA updating.

I can't figure out the proper unhooking from the "original" functions.php and inserting the same (but modified) section of code into the child functions.php

Please hit me with a clue stick someone!

Thanks!
Ken

juggledad Sep 23, 2010 03:58 AM

Since each new update will include a new (maybe updated) copy of function.php, your change will have to be added each time there is an update.

What are you trying to accomplish, maybe there is another way.

If you use the Atahualpa 'new widget areas', they will survive theme updates


All times are GMT -6. The time now is 09:34 AM.

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