Sidebar [code]

The current code for innerblogger.com Sidebar
Ads Minded Theme by Sapiens Bryan

<div class="blocktitle"><a href="#search">Search Innerblogger</a></div>
<!– Author –>
<?php /* If this is the frontpage */ if ( is_home() ) { ?>
<br />
<div class="blocktitle"><?php _e('Author'); ?></div>
    <div class="block">
        <div class="menu">
            <img align="left" src="innerskier.jpg">Joshua has found his inner blogger. <br /><a href="http://innerblogger.com/blogging/2006/free-your-inner-blogger/">What?</a><br /><br />
                 </div>
    </div>
<?php ?>

<?php /* If this is the frontpage */ if ( is_home() ) { ?>
<br />
<div class="blocktitle"><?php _e('Contact'); ?></div>
    <div class="block">
        <div class="menu">
                 Problems with your blog? Confused by my ramblings? Don't hesitate to ask!
                 <img align="bottom" src="author.jpg">
        </div>
    </div>
<?php ?>

<br />
<div class="blocktitle"><a href="javascript:bookmarksite('InnerBlogger', 'http://innerblogger.com')">+Add Bookmark</a></div><div class="block">
<a href="http://feeds.my.aol.com/add.jsp?url=http://feeds.feedburner.com/innerblogger"><img src="http://myfeeds.aolcdn.com/vis/myaol_cta1.gif" alt="Add to My AOL" style="border:0″/></a>
<br />
<a href="http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/innerblogger" title="InnerBlogger"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" alt="" style="border:0″/></a>
<br />
<a href="http://fusion.google.com/add?feedurl=http://feeds.feedburner.com/innerblogger"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104″ height="17″ style="border:0″ alt="Add to Google"/></a>
<br />
<a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://feeds.feedburner.com/innerblogger" title="InnerBlogger"><img src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" style="border:0″/></a>
<br />
<script type="text/javascript">
document.write('<a href=http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+' target="blank"><img src="http://innerblogger.com/delicious.png" width="80″ height="15″ border="0″></a><br />');
document.write('  <a href=http://www.spurl.net/spurl.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+' target="blank"><img src="http://innerblogger.com/spurl.png" width="80″ height="15″ border="0″ /></a><br />');
document.write('  <a href=http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title)+' target="blank"><img src="http://innerblogger.com/furl.png" width="80″ height="15″ border="0″ /></a><br />');
</script>
</div>

<!– resources –>

<br />
<div class="blocktitle"><?php _e('Resources'); ?></div>
    <div class="block">
            <div class="menu">
                    <u><b>Pages</b></u>
        <div><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blank.gif" width="1″ height="5″ alt="+" /></div>
            <ul>
                <?php wp_list_pages('title_li='); ?>
            </ul>

        <br />
        <u><b>Admin</b></u>
        <div><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blank.gif" width="1″ height="5″ alt="+" /></div>
                    <ul>
                <li><a href="<?php bloginfo('url'); ?>/wp-admin/" title="Admin">Admin</a></li>
                <li><?php wp_loginout(); ?></li>
            </ul>

            </div>
    </div>

<!– categories –>

<br />
<div class="blocktitle"><?php _e('Blog Categories'); ?></div>
    <div class="block">
        <div class="menu">
            <ul class="slightbigger">
                <?php list_cats(FALSE'''name',
                                
'asc'''TRUEFALSE,
                                
TRUEFALSEFALSE,
                                
TRUEFALSE''FALSE,
                                
'''''1′,
                                
TRUE); ?>
            </ul>
        </div>
    </div>

<br>
<div class="blocktitle">Recent Posts</div>
   <div class="block">
     <div class="menu">
       <ul>

            <?php
              $posts 
get_posts('numberposts=15′);
              foreach(
$posts as $post) :
            
?>
      <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
      <?php endforeach; ?>
      
       </ul>
      </div>
   </div>

<br />
<div class="blocktitle"><?php _e('Innerblogger Domains'); ?></div>
    <div class="block">
        <div class="menu">
                <a href="http://innerblogger.com/domains/">Don't have your own domain yet? I have some good domains for sale, check them out!</a>
        </div>
    </div>

<!– monthly archives –>

<br />
<div class="blocktitle"><?php _e('Monthly Archives'); ?></div>
    <div class="block">
        <div class="menu">

                <u><b>By Month</b></u>
                <div><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blank.gif" width="1″ height="5″ alt="" /></div>
                <ul>
                <?php wp_get_archives('type=monthly&show_post_count=1′); ?>
            </ul>
        </div>
    </div>

<?php if (function_exists('get_recent_comments')) { ?>
<!– Recent Comments –>

<br />
<div class="blocktitle"><?php _e('Recent Comments:'); ?></div>
    <div class="block">
        <div class="menu">
            <ul>
                <li><?php get_recent_comments(); ?></li>
            </ul>
        </div>
    </div>
<?php ?>

<?php if (function_exists('get_recent_trackbacks')) { ?>
<!– Recent Trackbacks –>

<br />
<div class="blocktitle"><?php _e('Recent Trackbacks:'); ?></div>
    <div class="block">
        <div class="menu">
            <ul>
                <li><?php get_recent_trackbacks(); ?></li>
            </ul>
        </div>
    </div>
<?php ?>

   
<!– Links –>
<?php if ( is_home() ) { ?>
<br />
<div class="blocktitle"><?php _e('Buddies'); ?></div>
    <div class="block">
        <div class="menu">
            <ul>
                <?php /* Get links from the first category (by default is Blogroll) */
                    
get_links('1′'<li>''</li>''<br />'0'name'00, -10);
                
?>
            </ul>
        </div>
    </div>

<!– Buddies –>

<br />
<div class="blocktitle"><?php _e('Links'); ?></div>
    <div class="block">
        <div class="menu">
            <ul>
    <?php /* Get links from the second category (create a new category named links) */
                    
get_links('2′'<li>''</li>''<br />'0'name'00, -10);
                
?>
            </ul>
        </div>
    </div>
<?php ?>

<br /><br />
<!– Search Google –>
<center>
<form method="get" action="http://www.google.com/custom" target="_top">
<table bgcolor="#ecf1f4″>
<tr><td nowrap="nowrap" valign="top" align="left" height="32″>

<input type="text" name="q" size="19″ maxlength="255″ value=""></input>
</td></tr>
<tr><td valign="top" align="left">
<input type="submit" name="sa" value="Google Search"></input>
<input type="hidden" name="client" value="pub-0378921240456421″></input>
<input type="hidden" name="forid" value="1″></input>
<input type="hidden" name="channel" value="4967429372″></input>
<input type="hidden" name="ie" value="ISO-8859-1″></input>
<input type="hidden" name="oe" value="ISO-8859-1″></input>
<input type="hidden" name="flav" value="0003″></input>
<input type="hidden" name="sig" value="NCWTcNc5Hi6yvRB-"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1″></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
</center>
<!– Search Google –>

<center>
<br />
<!– Start of StatCounter Code –>
<script type="text/javascript" language="javascript">
var sc_project=1775220; 
var sc_invisible=0; 
var sc_partition=16; 
var sc_security="802408d4″; 
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c17.statcounter.com/counter.php?sc_project=1775220&java=0&security=802408d4&invisible=0″ alt="simple hit counter" border="0″></a> </noscript>
<!– End of StatCounter Code –><br><a href="http://my.statcounter.com/project/standard/stats.php?project_id=1775220&guest=1″>View Stats</a>
</center>








One Response to 'Sidebar [code]'

  1. Add Easy Bookmark Buttons to Wordpress Blog » InnerBlogger - The Guide to Successful and Profitable Blogging - September 3rd, 2006 at 8:35 am

    […] This is what the code will look like. Just put it in an appropriate position in your sidebar.php file. As always, you can take a look at my up-to-date sidebar.php code to see how the code should be implemented. Just don’t copy-paste this code as is - you’ll need to customize the links and images to correspond to your own blog URL and titles. […]


Leave a Reply

Google
 
Web innerblogger.com