WordPress.org

Ready to get started?Download WordPress

Forums

Creating a new theme for WP 1.3 (12 posts)

  1. WoodiE
    Member
    Posted 9 years ago #

    Ok it must just be me because I can't find any other threads about this subject on what I'm doing wrong. I've searched here, in wiki and even the theme dev page and still can't find the info I need.
    I'm trying to create a personal theme for my site and according to the theme dev page I need the following files in my theme dir:
    style.css
    index.php
    comments.php
    comments-popup.php
    Yet when I put them in a dir under the themes dir under wp-content and login my admin panel it shows up as an incomplete theme with an error that the template file is missing.
    Could anyone that's already made a theme for 1.3 tell me what I'm doing wrong?
    Thanks,
    -Michael

  2. shadow
    Member
    Posted 9 years ago #

    I may be wrong but I think you need to make sure you have a reference to your template folder/name written in your css. If your template is in folder Theme1 for example, then you would write
    /*
    Template: Theme1
    Theme Name: Theme1
    */

  3. WoodiE
    Member
    Posted 9 years ago #

    Well I've looked at another theme (Arzul Blue) and he has the following in this CSS file:
    /*
    Theme Name: Arzel Blue
    Version: 1.0
    Theme URI: http://www.yusop.net
    Author: Arzel Yusop
    Author URI: http://www.yusop.net
    Description: A two columns blue theme for WordPress 1.3 with plain white background and top navigation buttons.
    /*
    As you can see that doesn't point to my themes dir. I'm 99.9% sure I've tried creating a theme and in the CSS putting my url (example: http://www.MYDOMAIN.com) since WP is in my root dir.
    -Michael

  4. WoodiE
    Member
    Posted 9 years ago #

    shadow,
    Thanks for the input, I think that's the problem!
    -Michael

  5. WoodiE
    Member
    Posted 9 years ago #

    Nothing at the moment as I gave up and deleted everything to start from the beginning. I'm gonna set it up again now, then I'll let you know.
    -Michael

  6. Beel
    Member
    Posted 9 years ago #

    Start with just the style.css file with what I posted above.

  7. WoodiE
    Member
    Posted 9 years ago #

    That was the problem, I had put the files in a dir called Theme1 but in the css file called the theme My Theme which messed it all up, using the info you and Shadow provided it actually works now!
    Thanks a bunch guys!
    -Michael

  8. WoodiE
    Member
    Posted 9 years ago #

    Thanks again Beel.
    Trendsurfer is that the default index for 1.2 or 1.3?
    -Michael

  9. trendsurfer
    Member
    Posted 9 years ago #

    For 1.3.....I used that file as a starting point. I don't know if I'll ever be done though. :-)

  10. trendsurfer
    Member
    Posted 9 years ago #

    As a starting point I set up a WordPress default theme. I combined the wp-header.php, wp-footer.php, and wp-sidebar.php into that index.php file, being careful to take out all the calls for those files. Then I copied it into wp-content/themes/unaltered/ directory along with the wp-comments.php, wp-comments-popup.php, and wp-layout.css files. Then changed each of those files to their proper theme names--comments.php, comments-popup.php, style.css. Added the proper header info to the styles.css file....and then it was good to go.

  11. trendsurfer
    Member
    Posted 9 years ago #

    I'm sort of a kook....in that I need to have it all in one file so I can grasp what's going on. If I do separate parts out, I'll still maintain the main layout within the index file. Consider me a top-down Neanderthal stuck in an OO world. :-D

  12. Beel
    Member
    Posted 9 years ago #

    I guess:
    "This goes in the header so I'll edit header.php"
    "This goes in the sidebar so I'll edit sidebar.php"
    "This goes in the footer so I'll edit footer.php"
    is too difficult for you? Then might I proffer that there is another adjective more appropriate than "kook" as a self-descriptive term ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.