WordPress.org

Ready to get started?Download WordPress

Forums

WordPress theme dev (6 posts)

  1. nieuws
    Member
    Posted 8 years ago #

    Hi everyone,

    Iam designing my own theme for WP. The theme is almost finished but i think i need some help installing it.

    Currently iam using an edit of the blix theme. Most important question to me is, where does WP 'know' what theme to load?

    In the index.php file (root) it loads wp-blog-header.php somewhere there it seems to load a theme in wp-content/themes/blix/ but i can't find it.
    Could anyone help me started?

    If there are some theme-editors or WP guru's out there we can also chat on MSN, perhaps a bit faster. But a reply on this thread will do as well :)

    Thanks in advance!

  2. skulled
    Member
    Posted 8 years ago #

    The current theme is set using the WP admin panel, under the "Presentation" tab.

    The themes that are currently available for WP to use is obtained internally. So if you want to add your own theme and make that the current theme, just add the theme files into your wp-content/themes/yourthemename/ and then login into the admin panel to switch the theme.

    Hope this helps.

  3. spencerp
    Member
    Posted 8 years ago #

    Sorry, but I have to say, you're theme is flucking sweet!! For being a modified Blix...Jesus! =) Awesome! As for your question, I'm sorry...I'm not too familiar with the Blix theme. =( But, either way....it's coming down to, time for bed for the night lol..

    spencerp

    P.S. Awesome! skulled, had replied to help before mine got posted.. =)

  4. nieuws
    Member
    Posted 8 years ago #

    Thanks for the answers so far.

    Skulled > But is the theme location stated anywhere else besides the style.css file located in every theme folder?

    Spencerp > Thanks a lot, always nice to hear :) But iam really not satisfied with it. Therefore i want to design my own theme. Completely stand-alone. No restrictions.

  5. skulled
    Member
    Posted 8 years ago #

    The theme location is not specified 'hardcoded' in the internal files I believe ..

    It is set in the database as an option, more specifically, option called 'template' this being your theme directory name, and an option called 'stylesheet', which again refers to the theme stylesheet name I think.

    And the exactl path to the theme files are built up dynamically using path variables that WP uses at run time ..

  6. nieuws
    Member
    Posted 8 years ago #

    Thanks all.

    The nieuw website is up and running. It's not completely finished yet but i think it gives a nice impression already:

    http://www.nieuwszicht.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.