Ready to get started?Download WordPress


Converting HTML to WP theme? (9 posts)

  1. Audioh
    Posted 7 years ago #

    I have a lovely HTML layout I want to use as a WP theme, how can I do this? I am familiar with PHP includes.

    Here is the layout.

    To download:

  2. Christopher J. Hradil
    Posted 7 years ago #

    i would suggest finding a theme with a similar layout in the themes/extend area, then customizing with your specific layout and css needs.

  3. Doodlebee
    Posted 7 years ago #

    I have a tutorial for doing this on my website. There's many sites out there that have similar tutorials, just google them. :)

  4. Audioh
    Posted 7 years ago #

    Alright, thank you! :]

  5. Audioh
    Posted 7 years ago #

    Hello :) I found your tutorial on how to make an HTML layout into a WP theme very helpful, but I seem to have done something wrong.
    Here is a link to my PHP files I created in .txt format to read.
    What seems to be happening is that CSS isn't showing up! I can't figure out what I'm doing wrong :[
    Also, I just discovered that when I go to PHP file separately, it works. EG: http://audioh.po.gs/wp-content/themes/entwined/header.php

    But when I go to my MAIN site, it doesn't work.

    Heres the PHP files in .txt format to read.

    The orginal HTML layout

    Thanks :)

  6. Audioh
    Posted 7 years ago #

    I didn't submit this through your contact form because it keeps telling me Invalid input was entered and "A form mail injection attempt was detected. If you feel this was in error, please check your entries and try again." :(

  7. Doodlebee
    Posted 7 years ago #

    Audioh -

    I checked my form, and it's functioning just as it should be.

    If you're getting that error, I'm guessing you're entering a URL? It won't accept that.

  8. Doodlebee
    Posted 7 years ago #

    <link href="public_html/audioh/wp-content/themes/entwined/style.css" type="text/css" rel="stylesheet">

    That's your error.

    As stated in my tutorial, you have to associate the WordPres slocaltion for the stylesheet (or provide a proper link to it). The link you have is a server path - you need the correct URL to the stylesheet. Or just use the regular call to the stylesheet using bloginfo();

  9. Audioh
    Posted 7 years ago #

    Ohhhh, alright thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic