Making your 1.2 template a 1.3 “Theme”
-
I just got Root’s “Gemini” template turned into a theme for WP 1.3. Took a small amount of guesswork and an email to Ryan Boren, but it is now working on my site (I think).
This example is specific to Gemini alone; however, it should be easy to modify to meet the needs of other templates.
Step 1: The CSS must be named style.css, vice wp-layout.css.
Step 2: The CSS file needs a header in it that resembles this (yanked from Kubrick’s css):
/*
Theme Name: Gemini
Theme URI: https://atthe404.com/wordpress/
Description: The Gemini theme.
Version: 1.3.0alpha1
Author: Root
Author URI: https://atthe404.com/
*/
Just thrown in at the top.
For the index file to see the css, I changed this line in index.php:
@import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
to this:
@import url( <?php bloginfo('stylesheet_url'); ?> );
Also make sure this change has been made to the index.php:
https://www.ads-software.com/support/6/12371
Hope this helps those who are using nightly builds and want to play with different templates.
I think that covered all my steps… I wasn’t writing them down, but it didn’t take long. If this doesn’t work for someone, let me know and I’ll try to re-trace them. ??
- The topic ‘Making your 1.2 template a 1.3 “Theme”’ is closed to new replies.