WordPress.org

Ready to get started?Download WordPress

Forums

Newbie needs help in coding index.php for own theme (4 posts)

  1. lqunta
    Member
    Posted 3 years ago #

    Greetings All,

    I'm quite green in wordpress, and trying to learn wordpress template/theme development. For three days now, I've been trying to 'code' my own theme. I already have the structure in HTML - which is working perfectly [ see code here: http://wordpress.pastebin.com/bE83ZHZv ].

    In wordpress, I've tried following a couple of tutorials and have made some progress as such. Now, when I 'preview' or 'activate' my 'coded' theme, all I get is a blank page [ see code here: http://wordpress.pastebin.com/v9mwjSgs ]

    I'm now desperate and need help, please.

    Any tips, code-fixes, or walk-thru's will be highly appreciated.

    Rgds
    LQunta

  2. lqunta
    Member
    Posted 3 years ago #

    Could there be problems with the_loop?

  3. Safirul Alredha
    Member
    Posted 3 years ago #

    That's a veryyyy long code to browse.

    Try looking for errors in your error_log or add define('WP_DEBUG', true); in wp-config.php

  4. lqunta
    Member
    Posted 3 years ago #

    @Zeo

    Thanks for your response, however, as I mentioned earlier, I'm very green with wordpress theme development.

    As such, the index.php is my first page [ for the theme ], I've not yet done a wp-config.php

    How can I do this...how can I know where the problem is to correct it?

    I'll greatly appreciate

Topic Closed

This topic has been closed to new replies.

About this Topic