• I’m new to WP and theme design. I would like to know best Doc type to use for wordPress XHTML Transitional or XHTML Strict ?

    Also, I was looking at this tutorial and been trying to figure out a 3 column w/footer that was designed using Style Master CSS Editor.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>intheholler</title>
      <meta http-equiv="content-Type" content="utf-8" />
      <meta name="generator" content="StyleMaster CSS Editor" />
      <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    
    <body>
      <div id="header">
        <p>here is the header</p>
      </div>
    
      <div id="leftcolumn">
        <p>(left column)</p>
      </div>
    
      <div id="rightcolumn">
        <p>(right column)</p>
      </div>
    
      <div id="maincontent">
        <p>here is the main content</p>
      </div>
    
      <div id="footer">
        <p>here is the footer</p>
      </div>
    </body>
    </html>
Viewing 4 replies - 1 through 4 (of 4 total)
  • Transitional is more than enough for you.

    Don’t sweat with third party layouts.
    Start with dissecting 2-3-10 existing themes until you understand how they work.
    http://themes.wordpress.net

    Also, see: Theme_Development

    OK I’m taking your advice and using Transitional.

    BUT

    After doing the tutorial here I found that there were error in the code and the way the pages are structured don’t seem right. For someone just learning this is not a very good tutorial !

    Me being a noob really wouldn’t recommend this tutorial to anyone to follow.

    Is there a tutorial thats like the default template for Word Press ?

    example is all this necessary ? :

    <?php wp_title(”); if (function_exists(‘is_tag’) and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists(‘is_tag’) and is_tag()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo(‘name’); ?> - <?php bloginfo(‘description’); ?>

    Well it must do something 🙂

    🙂 your bright… 50 – 60 watts

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Doc type’ is closed to new replies.