Ready to get started?Download WordPress


[resolved] SIMPLE template-type theme (8 posts)

  1. SilverSide
    Posted 8 years ago #

    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 (-:

  2. tomhanna
    Posted 8 years ago #

    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.

  3. SilverSide
    Posted 8 years ago #

    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 (-:

  4. moshu
    Posted 8 years ago #

    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...

  5. SilverSide
    Posted 8 years ago #

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

  6. moshu
    Posted 8 years ago #

    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.

  7. SilverSide
    Posted 8 years ago #

    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/pvpa.net/include/inc_header.php on line 3

    Wassup w/ that?

  8. SilverSide
    Posted 8 years ago #

    that was plain stupid - I didn't close the lines! lol

Topic Closed

This topic has been closed to new replies.

About this Topic