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 »

Hacking the setup-Goal:customised theme for multi-blog hosting w consistant look

Old Oct 29, 2009, 04:19 PM
5 posts · Oct 2009
My grand plan: I am hoping / trying to use Atahualpa to design a base blog layout/style of a prototype blog site. I would then either hard-code the modifications for future implementations or use a script to copy the modifications out to other blogs. I plan to then import the remaining blogs using this new base theme that is my modified Atahualpa theme and settings. What I liked about this idea was that I could have a good base setup and then hopefully still be able to tweak individual blogs as needed rather than having to install the Atahualpa theme and make the same changes over and over again to make them consistent.

Development platform: WP-mu on WAMP.
Production platform: WP-mu on Linux
Objective: Import multiple blogs from Movable Type to WP-mu using a consistent base style.

My Questions:
1- Should I plan to hack the code that creates the entries in the wp_options so that upon activation, the new settings take effect or should I plan to script this using a sql code after activation? (I think I prefer the former)
2- For example there is this value in the table options table after I update the theme: [224 0 bfa_ata_layout_width 99% yes]. Where can I change 99% to 984px; so it is the default that shows on the theme options panel and then is what is loaded in the options table? Or Where exactly can I edit the default options that show up in the theme options appearance admin panel?
3- I see that each blog gets a new options table, but that the custom options are not loaded until they are updated from the theme options appearance admin panel. Does this mean that I will need to go through this step for each blog? Or I guess I could run a sql script against the tables. Any advice on this?
4- I read that the css.php should not be modified if upgrade issues are to be avoided. So should I use “one of the many text areas in the theme options to apply CSS to specific parts of the layout.”? I am not clear on how to do this and apply it to multiple blogs. My goal is to have a custom base theme that then can be modified only on occasion.

Thanks in advance?
Old Nov 2, 2009, 05:06 PM
5 posts · Oct 2009
I have gone a head and tried some tweaks. I realized that the changes I needed might be able to be done as simply as pre-pending to the top of the bfa_header_config file. Adding Divs to contain some things I need at the very top of every page.
I then managed to get the search box to display inside the opacityright div. And placed the feed links on the right on the same line as the menu items. So far so good.

However, the links to Categories, Archives, and recent posts are 404. I must have bungled something.

The next step is to see if I can get the menu items and the feed items just below the Title and image with the opacity divs. So it is the last thing in the bfa_header.

I realize that upgrading will be messy.
Old Nov 2, 2009, 07:27 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would create your base theme, do a 'save' on every theme page and then do an SQL export of the theme options. Now you have your base. then you can just import the base into each of the blogs you want and all the options will be there as you originally set them up.

I've been working on a Atahualpa theme option export/import php program, but have been busy answering questions on the forum and raking the yard I'll have to see if I can get that going.

I'll will warn you, if I do post the code, it will be in the gold forum as a bonus for people who have donated.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Nov 3, 2009 at 10:33 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't make my blog theme in my language. trollinski Installing & running WordPress 1 Oct 22, 2009 06:29 PM
[SOLVED] How to exclude posts in a category from appearing on the "blog"/multi-post p Shepherd Jim Atahualpa 3 Wordpress theme 6 Sep 18, 2009 03:04 PM
Does using this theme still treat my Wordpress blog like a blog or website? rhymes Atahualpa 3 Wordpress theme 2 Apr 25, 2009 01:07 PM
Customised header image URL? lctkw Header configuration & styling 2 Apr 6, 2009 05:09 AM
importing theme options to another blog Suzanne New Versions, & Updating 4 Apr 4, 2009 05:55 AM

All times are GMT -6. The time now is 11:59 PM.

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