Child theme functions.php
-
Hi there
I’m using the free Responsive theme and am trying to create my own page templates that will use unique sidebars in a child theme.I have started with one page only and have created a custom page template called page_sr_sat_xi.php which calls the side bar Sidebar SR SatXI.
My page template works fine but still uses the default right sidebar in the theme and I have no custom sidebar in the widgets admin.
The Responsive theme has in its top level functions.php simply a series of requires to various functions files in a sub includes folder. I copied the ‘sub’ functions.php into an includes folder in my child theme structure and have the following code in there:
http://pastebin.com/t79JztRiI gathered from reading around that because of the way child theme functions are loaded, that I needed to remove the parent theme ‘widget-init’ and add one for the child theme.
I am reasonably sure that the problem here is that the child theme includes/functions.php isn’t ever being seen because the functions.php in the parent folder calls the one in its own includes folder. Can anyone help me understand how I should get over this? I tried copying the parent functions.php that calls the others into my child theme but the site crashed.
Thanks for any help – I hope that wasn’t too confusing to read? My head is whirling!
-
As per the theme developer’s request, please try posting on the theme’s dedicated forum: http://cyberchimps.com/forum/free/responsive/
Hi Esmi
I’ve tried that, but because this is a customisation, they don’t support it.Then I’m sorry but there is nothing much we can do to help. They are the experts when it comes to this theme.
The topic ‘Child theme functions.php’ is closed to new replies.