Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Atahualpa child theme function php

Old Sep 22, 2010, 07:01 PM
kdawes01's Avatar
99 posts · May 2009
Missoula, MT
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!

Ken | The Web Mechanic
Many thanks to Flynn for the amazing Atahualpa. Please consider a donation!
Old Sep 23, 2010, 04:58 AM
juggledad's Avatar
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Stand alone php page on Atahualpa theme catherinehbbh Forum How-To 2 Apr 7, 2010 08:34 PM
Connect html with php function in header, almost there... marced Header configuration & styling 3 Mar 22, 2010 11:08 AM
Adding php or function inside content Miak Post-Kicker, -Byline & -Footer 0 Sep 7, 2009 07:50 AM
Which php file should I Edit to Insert Opt In form in SideBar for Atahualpa Theme? kacang Sidebars & Widgets 0 Aug 1, 2009 04:41 AM

All times are GMT -6. The time now is 11:57 PM.

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