Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Child theme and Montezuma


  #1  
Old Oct 12, 2012, 07:03 AM
rick9004
 
3 posts · Oct 2010
I was using a child theme with another theme and all was fine including that authors configuration /option forms. Now with Montezuma the theme options do not appear.

What if anything do I need to change to get the Montezuma options? I still like to edit my css locally and move to my test site. I'll take advantage of the other Montezuma options. Is there anyway to do this?

Thanks..
  #2  
Old Oct 12, 2012, 08:48 AM
juggledad's Avatar
juggledad
 
23,655 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Child themes are specific to a theme. A child theme for theme 'A' will not work with theme 'B'.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 12, 2012, 08:57 AM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by rick9004
What if anything do I need to change to get the Montezuma options? I still like to edit my css locally and move to my test site. I'll take advantage of the other Montezuma options. Is there anyway to do this?
Here's what I did, and I didn't have to make a child theme or change any montezuma files:
  1. I didn't use any of the theme templates. I cloned them with new names and edited them with my custom changes. This can (and probably should) all be done through the dashboard.
  2. I didn't change any theme css files. I added the Lazyest Stylesheet plugin. Any css in that files overrides the theme css, and all my custom css is in one place.
  3. I didn't change any theme php files, like functions.php. Instead, I added the Code Snippets plugin, which supplements the functions.php file. Like the css plugin does for css, it keeps all my custom php in one file. To be sure my custom php doesn't conflict with any wp or theme php, I prefix all my custom function, classe, and global variable names with
    PHP Code:
    custom_ 

By doing it this way, I didn't need to upload any files via ftp, either. Everything is done through the Montezuma dashboard.

I hope some of this helps.

Best,

Jerry

Last edited by jerryc; Oct 12, 2012 at 10:03 AM.
  #4  
Old Oct 12, 2012, 10:45 AM
rick9004
 
3 posts · Oct 2010
Didn't answer my question. I've re-done the details of the child theme but I have many of the same styles in that child theme. The revised child theme worked fine in Montezuma except for the options for Montezuma.
  #5  
Old Oct 12, 2012, 11:42 AM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by rick9004
The revised child theme worked fine in Montezuma except for the options for Montezuma.
That's where you might need some extra php code. Doing this via the code snippets plugin, rather than editing any of the theme files, will keep your custom code separated, easy to manage, and protected from being overwritten by upgrades.
  #6  
Old Oct 12, 2012, 11:51 AM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by jerryc
That's where you might need some extra php code. ...
You might also need to edit your templates, particularly to add the classes that match your custom CSS. Again, rather than editing the templates directly, I suggest cloning the theme templates and editing the clones.

Last edited by jerryc; Oct 12, 2012 at 01:13 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
JetPack Share butttons with Montezuma Theme ckckjones Montezuma Theme 6 Mar 14, 2013 12:24 PM
Child theme or not? gsa1 New Versions, & Updating 17 Jan 6, 2013 04:03 PM
Use a child theme for storing CSS? bda Atahualpa 3 Wordpress theme 4 Jun 28, 2012 02:58 PM
Is it possible to create a child theme ? thekjub9 New Versions, & Updating 6 Jun 7, 2011 02:56 AM
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 07:18 PM.


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