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 » Montezuma Theme »

css and template customization


  #1  
Old Sep 17, 2012, 02:53 PM
steveORsteven
 
2 posts · Sep 2012
Hello. Getting to know the theme. I like it. Great work. I would like to edit the css and template files on my own though, as I will be making lots of edits I will not be saving web forms for my code editor. I understand why those settings are there, having it stored in the database, etc. But I am a coder and want to control them on the filesystem using my own code editor. What would be the easiest way to do this keeping in mind future theme upgrades? A child theme? Just editing the files within 'admin' directories? In addition to file system editing, I also would love to have full PHP function control in the those 'sub-templates' php files. Not sure about these sorts of customizations as most of my theming experience is with Drupal.

Last edited by steveORsteven; Sep 17, 2012 at 03:00 PM.
  #2  
Old Sep 17, 2012, 03:06 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The easiest way is to do it is with the theme options. And it saves you from pulling out your hair when you forget that one little thing.

Seriously, one of the biggest things Flynn (the theme author for this and Athualpa) has done is the storing of the options in the database.

If you use your code editor you will have to reupload them to the host each time you make a change
A regular db backup won't safeguard your settings
A future change in theme code might effect 'your' settings (ie maybe files get moved about)
Problem solving will be harder - code in two places...hmm is this in my code or the themes??

I'm sure you can figure out a way to do what you want, but my advice is try it the way it is for awhile and I'll bet you will learn to like it...I did (a former programmer)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 17, 2012, 03:42 PM
steveORsteven
 
2 posts · Sep 2012
Thanks for the information, however it doesn't answer what I asked. I absolutely will not edit css files by navigating and submitting over a dozen different forms one for each css file. I run my site locally so no actually I don't have to do any uploading of files to see my changes. I have decided I like this theme enough to hack it a little and then deal with those hacks later when upgrading. In functions.php around lines 15-30 it is easy enough to alter the css processing logic to meet my needs (loading from file system, bypassing the database).

Last edited by steveORsteven; Sep 18, 2012 at 12:15 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customization - RSS feed from ASP to something else... mkellam Customization, Design, Programming... 0 Jun 15, 2011 10:44 AM
How to convert Atahualpa 3 columns template into 2 colums template? phboujon Page & Category Menu Bars 3 Jun 7, 2010 04:05 AM


All times are GMT -6. The time now is 08:44 AM.


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