Playing with PHP

Discussion in 'PHP' started by DarrenC, Feb 16, 2006.

  1. #1
    Okay, don't laugh because I am not a programmer of any stretch of the imagination.

    I want to change how my wordpress blog looks, completely - I don't like any of the themes around, and well I want it to be unique.

    I copied the index.php code from my current theme folder into my layout, expecting it to work like the index.php as all I removed was the get footer, sidebar commands.

    So any ideas why this isn't working?

    It's bringing up

    Fatal error: Call to undefined function: get_header() in test.php on line 26


    Like I said I am playing and learning so be nice :p

    Darren
     
    DarrenC, Feb 16, 2006 IP
    NetMidWest likes this.
  2. eKstreme

    eKstreme Guest

    Messages:
    131
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Don't just copy the index.php file, but copy the whole directory.

    One good theme to start with is Blix. Download that and look through ALL of the files. It's fairly easy to figure out.

    Also, make sure you read the help files at the WP Codex. In particular, you need the Design and Layout section.
     
    eKstreme, Feb 17, 2006 IP