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 » Page & Category Menu Bars »

Make a child theme


  #1  
Old Nov 6, 2015, 02:23 AM
_kimberley's Avatar
_kimberley
 
51 posts · Dec 2011
Amsterdam
Make a child theme

Normally if you create a child theme, the CSS must be copied. When I do this with atahualpa, nothing happens. I think because the CSS is not in a file, but in the database.

What to do if I want a childtheme? I want to change hard-coded and DON'T overwrite that file
  #2  
Old Nov 6, 2015, 03:04 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Any CSS you use in the theme options will NOT be over written durning a theme update becasue it is stored in the database not a theme file.

You create a child theme just like any other child theme - although I have found only a handful of situations where it was needed in the 6 years I've been using the theme.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 6, 2015, 03:12 AM
_kimberley's Avatar
_kimberley
 
51 posts · Dec 2011
Amsterdam
Why I use it and how is not the question. I want to make a change to a file that would be updated when I do an update, so I want an option to hardcode some files. Isn't there any option to do this with a trick??
  #4  
Old Nov 6, 2015, 04:08 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Just follow the directions here to create a child theme.

One thing, if you change the code of one of the theme files, and a new release updates that file (say with a bug fix) - you will not see the fix since you will still be using the old copy.

The reason I ask why you are doing it is there may be another way to do what you want using the theme options (i.e. how to have different templates? One widget sdidebar or two)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 6, 2015, 04:33 AM
_kimberley's Avatar
_kimberley
 
51 posts · Dec 2011
Amsterdam
I want to create a creditpage (or write something in de about page) and so I want to remove Powered by WordPress & Atahualpa and I always use a childtheme with every theme
  #6  
Old Nov 6, 2015, 07:27 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
directions for removing the credits are avaliable in the gold forum/tutorials for users that have donated $20 or more to support the development of the theme.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Feb 15, 2016, 12:28 PM
oekoplatt
 
1 posts · Nov 2014
Quote:
Originally Posted by juggledad
I have found only a handful of situations where it was needed in the 6 years I've been using the theme.
I like Atahualpa, but want to use a theme switcher for a more accessibility theme. The other one should be also atahualpa, but only with one sidebar, bigger font-size, not colors (black and white) an less widgets. I tried a second Atahualpa folder (another version) and configured other theme options but both themes use the same options - of course from the database.
So I thought a child of atahualpa theme with external css file would be the solution. Isn't right? Or is there another solution for my problem?
  #8  
Old Feb 15, 2016, 01:14 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The CSS is stored in the database. You can have two versions, but you will have to edit the code and change every occurance of 'bfa_ata4' to something else like 'bfa_ata5'. That's the ID of the row in the database.

There are 34 places that would have to be changed. If you have a Mac, there is a program called 'TextWrangler' (free) that allows you to do global changes to a folder - every file in the folder and sub folders are checked for the string.

I don't know if there is a windows equlivant.
__________________
"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
Make child pages appear in menu when parent page is clicked? RHCdG Sidebars & Widgets 2 May 26, 2014 02:53 PM
[SOLVED] didn't make child theme before i edited CSS. should i upgrade? sixleggedinsect Montezuma Theme 6 May 28, 2013 02:43 PM
ATA 3.5.3 Different Behavior In Child Theme from Non-Child Theme royhuggins Page & Category Menu Bars 7 Dec 4, 2010 07:26 PM


All times are GMT -6. The time now is 06:56 AM.


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