WordPress.org

Ready to get started?Download WordPress

Forums

Problems with new template and css (3 posts)

  1. Reede
    Member
    Posted 3 years ago #

    Hi, I just started using WordPress and I don't have too much experience as a web developer, but I'm having some problems creating a static html page. I've create the web page by hand and have it working with the local css version (I can also have the local html page working by calling it's position in the server, so it's not that it's not calling the css page correctly). However whenever I use the template in wordpress all it does is output the content and no styling. Here's the code for the page

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    Update: My apologies, wasn't aware of that site.
    http://pastebin.com/ErfBc8tD

  2. Christopher Spires
    Member
    Posted 3 years ago #

    First, remove that extra asterisk in the Template call:

    <?php
    /**
     *Template Name: Update Pages
     */
    ?>

    Should be:

    <?php
    /*
    Template Name: Update Pages
    */
    ?>

    You might need to reselect the template on the page edit screen. (Select default template, save. Select Update Pages, save.)

  3. Reede
    Member
    Posted 3 years ago #

    /Facepalm

    That worked, thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.