• Resolved silverside

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

    https://codex.www.ads-software.com/Using_Themes/Theme_List

    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.

    Thread Starter silverside

    (@silverside)

    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…

    Thread Starter silverside

    (@silverside)

    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.

    Thread Starter silverside

    (@silverside)

    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:
    https://pvpa.net/guild/lva/bank/detail.php
    include a inc_header.php file, which contains nothing but:

    <?php
    include(‘header/inc_header_header.php’)
    include(‘inc_menu.php’)
    include(‘header/inc_header_footer.php’)
    ?>

    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?

    Thread Starter silverside

    (@silverside)

    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.