Support » Themes and Templates » SIMPLE template-type theme

  • Resolved SilverSide


    I am a kinesthetic learner – I learn by using. I learned HTML by looking at the source of nearly every page I visited, and know what little PHP I know from tearing away at the code for Invasion Power Board, WordPress, and other such powerwebware. Anyway, I need to learn to use the Loop and such by seeing, not by reading documentation – my stickup, however, is that all the themes i’ve found are waaayyy too complicated to do this. I thought I remembered having a theme for WP that was just the loop and a very simple sidebar with login and search, nothing else, no images folder even – but I cannot find it. Could somebody find this or throw it together for me? Would be eternally grateful (-:

Viewing 7 replies - 1 through 7 (of 7 total)
  • Check the Theme List on the Codex.

    And the Codex generally has lots of code examples for everything. You can take the examples, plug them in, break things, fix them and do what you like. Then if you decide you want it, the documentation is there to tell you what the code does.

    Thanks /-:
    I went ahead and tore all the important-looking code bits out of Classic and threw them in one file instead of 6 (plus a CSS of course), so I’ll make a zip of that and get it added to the Codex if anybody wants it (-:

    The disadvantage of having only one file is that you cannot control the appearance of your archives or category listing or of the Pages. If you want different things on all those you would have to include a zillion of if_statements…

    True, but I don’t care about that right now – I just wanna learn and throw the WP into my own website.

    May I offer this little “anatomy” I’ve made?
    As you can see, the Main Template might be replaced by all those on the left – depending on what is displayed.

    I am having PHP problems – like I said, I really know very little. My question be: can you nest <?php include() ?>s?
    As in, I have this page:
    include a inc_header.php file, which contains nothing but:


    But I get ana error:

    Parse error: parse error, unexpected T_INCLUDE in /home/virtual/site79/fst/var/www/html/ on line 3

    Wassup w/ that?

    that was plain stupid – I didn’t close the lines! lol

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘SIMPLE template-type theme’ is closed to new replies.