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 »

Keeping Atahualpa settings

Old Jan 21, 2009, 01:55 PM
4 posts · Jan 2009
Keeping Atahualpa settings

I have a testblog where I customized the appearance of my blog. I saved the settings and copied the entire Atahualpa folder to the themes folder in my public blog. But the settings were lost in the transition and the default settings have returned.

Is there a way to keep the settings when copying the theme to a new place?
Old Jan 21, 2009, 02:27 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Currently there is no import/export function but if you export the whole blog (including content such as posts and pages) via WP Site Admin -> Tools -> Export, then the theme options SHOULD be exported as well and could then be imported into the new blog via WP Site Admin -> Tools -> Import

An Atahualpa specific import/export is on my to-do list but will take a while and probably not make it into version 3.1.9 or 3.2

Edited: I am actually not sure if the WP options table is being exported as well. Have not tested it yet.
Old Jan 21, 2009, 03:24 PM
4 posts · Jan 2009
Thank you for the fast answer. Copying the whole blog is not an alternative for me. I will have two windows open side by side and transfer the settings manually, which is perfectly all right with me.

Keep up the good work Flynn!
Old Feb 4, 2009, 05:32 AM
upscho's Avatar
30 posts · Feb 2009
I have exactly the same problem as Thorvald:

I have a test installation of WordPress and Atahualpa on my local PC. I then installed WP on my webspace and exported/imported the WP options. But after copying the Atahualpa directory on my webspace all Atahualpa settings were gone.

Should I have done it vice-versa (first copy directory and then import the options)?

I thought the settings were in one of the Atahualpa files but unfortunately they were not.

Exporting the Atahualpa settings (as an XML file?) would also be nice to document them. Currently I'm all mixed up in writing the options that are different from their defaults on a couple of paper sheets...

But nevertheless: Atahualpa is really great. I allowed me to build up a web side within a few evenings. Thanks a lot.

Old Feb 4, 2009, 05:56 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
I have the export.php so far but no import yet. Also, I may have to change the export.php. But to extract the settings you could use this file for now I guess. Please don't expect me to deliver the import.php within days.

Upload the following file as i.e. "export.php" to the theme directory and call it in the browser as
http://www.yoursite.com/wp-content/t...pa3/export.php (your path may be ../atahualpa/..)

PHP Code:
// Find wp-load.php so we can access the database from within our non-standard, external file here
$d 0// search depth;
while (!file_exists(str_repeat('../'$d) . 'wp-load.php')) if (++$d 99) exit;
$wp_load str_repeat('../'$d) . 'wp-load.php';


// get all option names and options values from the WP Options table where the option name starts with "bfa_ata_"
$atahualpa_options $wpdb->get_results("SELECT option_name, option_value FROM $wpdb->options WHERE option_name REGEXP '^bfa_ata_'");

// output the header
$filename 'atahualpa.options.' str_replace("http://","",get_option('siteurl')) . "." date('Y-m-d') . '.xml';
header('Content-Description: File Transfer');
header("Content-Disposition: attachment; filename=$filename");
header('Content-Type: text/xml; charset=' get_option('blog_charset'), true);

// output the file
echo '<?xml version="1.0" encoding="' get_bloginfo('charset') . '"?' ">\n";

// Loop through the database query that we got earlier
foreach ($atahualpa_options as $atahualpa_option) {
"<" $atahualpa_option->option_name ">\n";
"\n</" $atahualpa_option->option_name ">\n";
Old Feb 4, 2009, 03:26 PM
upscho's Avatar
30 posts · Feb 2009
Hi Flynn,

the script works PERFECTLY for me. Thanks a lot!

Since I was mainly interested in a documentation of my settings I can wait till there will be an import script some day...

Best regards,


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: how to copy settings of Atahualpa from one site to another gesman New Versions, & Updating 41 Apr 18, 2010 10:15 AM
Settings transfer fotomag Header configuration & styling 14 Jan 6, 2010 01:12 PM
Show Left Sidebar ONLY on _ONE_ page (without keeping a blank space for others) sleizure Sidebars & Widgets 2 Jun 10, 2009 01:38 PM
Using Atahualpa Theme Options settings as a template thetravelchronicle Forum How-To 2 May 31, 2009 09:04 AM
Lost settings jim New Versions, & Updating 12 May 28, 2009 09:18 AM

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

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