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 » New Versions, & Updating »

[SOLVED] going from 3.3.2 to 3.4.6 - copying custom CSS


  #1  
Old Mar 31, 2010, 05:39 PM
BigG
 
26 posts · Feb 2009
I'm way behind on one of my sites, and would like to update. I am most of the way there but would like a way to copy over the custom css that I used in 332 behind the scenes, without making the theme live.

Is there a way to do this?
  #2  
Old Mar 31, 2010, 09:36 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you search the forum for Juggledad's upgrade method you can upgrade pretty seamlessly with the idea that you can always switch back to the old theme if something isn't working quite right. I think everything except images and certain core tweaks will already be in place.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 1, 2010, 09:09 AM
BigG
 
26 posts · Feb 2009
Thanks, I've done quite a bit of searching on this and read a lot of the great posts by juggledad. The thing that is still not clear to me is how to copy my custom css from my working 3.3.2 install to the new 3.4.6 install, without having to actually switch the theme and paste it into the css insert window via ATO. This would create some time where the blog did not look right and there would inevitably be some tweaking time. The site I am working on is used by a business and gets a fair amount of traffic, so I can't be screwing around with it very much while it's live.

I want to be able to copy the custom css settings over to the new install so I can preview and tweak them without making going live until I am ready.
  #4  
Old Apr 1, 2010, 02:25 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Any setting made in the Atahualpa options are stored in the database so you will not lose any of those. This of course includes CSS settings. If you made some changes to the code itself you would have to tweak that though. That's why I typically stay away from anything outside of the options pages. You will need to copy images you added to the atahualpa folder to the new one.

Too keep the upgrade as seamless as possible what I would do is...
  • Backup - Database and files
  • Upload the new Atahualpa theme files into a folder called atahualpa346 (don't activate yet)
  • Copy all the images you have uploaded into the various Atahualpa image folders into the new Atahualpa 3.4.6 folders. This includes favicons, header images, etc
  • Use a maintenance mode plugin during low use hours and activate the new version to see how it looks
  • Tweak any paths where atahualpa346 needs to replace atahualpa
  • Go live when satisfied
I hope that helps
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 1, 2010, 05:46 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you went in and actually changed the css.style code (or anyother code) you have a little more work on your hands. In that case, I would suggest building a second wordpress install which is a copy of the first. Create a subdirectory in your sites root - call it wptest - and install WP there with all your plugins and themes - ie copy the wp-contents file. Next, create a database called 'wptest' and do a backup from the current site and import it into the wptest db.

Now you can take your time making the changes. when it is the way you want, you export the Atahualpa theme options and import them into the 'live' database and you should be good to go.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Apr 5, 2010, 02:31 PM
BigG
 
26 posts · Feb 2009
Thanks, juggledad. I was thinking about something along those lines and you made it clear how to do it.
  #7  
Old Apr 5, 2010, 03:42 PM
rickheck
 
139 posts · Oct 2009
This rookie (me) has a practice of making all CSS changes in the "CSS Inserts" section. I just use the same style name, and make my changes. Those changes, since they are 'loaded' after the main styles, will 'overwrite' the main styles.

Hope that made sense. The advantage is that any changes will survive any theme updates. And since there's a way to add code to 'the loop' via the Atahualpa theme options, those should survive an upgrade.

The only thing I've noticed during upgrades is that I have to remember to put my header image files in the images/header folder.

...Rick...
  #8  
Old Apr 6, 2010, 10:55 AM
BigG
 
26 posts · Feb 2009
Quote:
Originally Posted by juggledad
If you went in and actually changed the css.style code (or anyother code) you have a little more work on your hands. In that case, I would suggest building a second wordpress install which is a copy of the first. Create a subdirectory in your sites root - call it wptest - and install WP there with all your plugins and themes - ie copy the wp-contents file. Next, create a database called 'wptest' and do a backup from the current site and import it into the wptest db.

Now you can take your time making the changes. when it is the way you want, you export the Atahualpa theme options and import them into the 'live' database and you should be good to go.
It all went fine until I imported to working database into the test WP install. Now I can't login to the test wp-admin area. I just keep getting redirected back to the original login page when I enter my password. Can't wait till I get this upgrade done!
  #9  
Old Apr 6, 2010, 01:05 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to import an ENTIRE database into a second site, you have to do one of two things

1) edit the export to change the wp-options 'siteurl' and 'home' to point at the new url
or
2) use phpMyAdmin to edit the wp-options table to change them

Remember, you will be bringing in the users from the first DB with their passwords also.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Apr 6, 2010, 01:54 PM
BigG
 
26 posts · Feb 2009
Ah, it's the url thing. Just changed 'siteurl' and 'home' values in the test db and it worked. Thanks! I know about enough to get me in trouble, but can follow directions pretty well.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving/Copying/Archiving Atahualpa Theme Settings RedCairo Atahualpa 3 Wordpress theme 4 Mar 9, 2010 12:58 PM
[SOLVED] Custom CSS ignored for links only? markzip Atahualpa 3 Wordpress theme 1 Feb 5, 2010 09:22 PM
HTML/CSS inserts in Atahualpa 3.4.1 (for custom header image slider) csb Header configuration & styling 3 Nov 16, 2009 07:02 PM
[SOLVED] Help Transferring HTML/CSS Insert Coding to Custom Widgets rnimchuk Header configuration & styling 1 Sep 28, 2009 05:18 AM


All times are GMT -6. The time now is 11:43 AM.


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