Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Atahualpa child theme function php


  #1  
Old Sep 22, 2010, 06:01 PM
kdawes01's Avatar
kdawes01
 
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!

Thanks!
Ken
__________________
Ken | The Web Mechanic
Many thanks to Flynn for the amazing Atahualpa. Please consider a donation!
  #2  
Old Sep 23, 2010, 03:58 AM
juggledad's Avatar
juggledad
 
23,765 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

Bookmarks

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 07:34 PM
Connect html with php function in header, almost there... marced Header configuration & styling 3 Mar 22, 2010 10:08 AM
Adding php or function inside content Miak Post-Kicker, -Byline & -Footer 0 Sep 7, 2009 06: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 03:41 AM


All times are GMT -6. The time now is 05:20 AM.


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