deleted some sidebar code :(
-
I accidently deleted some code for my sidebar ?? now my tagcloud wont show up. any ideas?
here is what I have at the moment.
<div id="sidebar"> <a href="<?php bloginfo('rss2_url'); ?>"><br /><img src="https://www.omgstickers.com/sites/all/themes/deco/rss.png"></a> <?php if (is_single()) { ?> <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) ?> <div style="float:right;margin:3px 0px 0px 3px;"><a href="/author/<?php the_author_login(); ?>" title="<?php echo $curauth->display_name; ?>"> <?php echo get_avatar(get_the_author_email(), '25'); ?> </a></div><small>Posted on <span style="font-weight:bold; color:#00bf94;"> <?php the_time('m.d.y') ?> </span> to <?php the_category(', ') ?> by <a href="/index.php?author=<?php the_author_ID(); ?>"> <?php the_author_nickname(); ?> </a></small> <h1><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"> <?php the_title(); ?> </a> </h1> <p class="postmetadata alt"> <small> View all posts by <a href="/index.php?author=<?php the_author_ID(); ?>"> <?php the_author_nickname(); ?> </a>. <?php comments_rss_link('Subscribe'); ?> to follow comments on this post. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> <a href="#respond">Add your thoughts</a> or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site. <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?> Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site. <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Comments are open, Pings are not ?> You can skip to the end and leave a response. Pinging is currently not allowed. <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?> Both comments and pings are currently closed. <?php } edit_post_link('Edit this entry.','',''); ?> </small> </p> <?php } ?> <?php if (is_search()) { ?> <?php } ?> <?php if (is_404()) { ?> <h1>404. Fiddle-de-dee, file not found.</h1> <p> <small> Fiddlesticks. </small> </p> <?php } ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1>Archive for the ‘ <?php single_cat_title(); ?> ’ Category</h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1>Archive for <?php the_time('F jS, Y'); ?> </h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1>Archive for <?php the_time('F, Y'); ?> </h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1>Archive for <?php the_time('Y'); ?> </h1> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h1>Posts Tagged ‘ <?php single_tag_title(); ?> ’</h1> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h1>Author Archive for <?php the_author_posts_link(); ?> </h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1>Blog Archives</h1> <?php /* If this is the archives page */ } elseif (is_page('Archives')) { ?> <?php } ?> <ul> <li> </li> <?php global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID): ?> <li> <h2> Identification </h2> <div style="height:5px;"></div> <form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post"> <div> <label> <input class="textinput" type="text" onclick="value=''" name="log" id="log" value="Username" size="20" tabindex="7" /> </label> <label> <input class="textinput" type="password" onclick="value=''" name="pwd" id="pwd" value="Password" size="20" tabindex="8" /> </label> <label> <input type="submit" class="button" name="submit" value="" tabindex="10" /> </label> <label style="display:none;"> <input type="checkbox" name="rememberme" value="forever" tabindex="9" /> </label> Don't have an account? <a href="<?php echo get_settings('siteurl'); ?>/wp-register.php">Register</a> <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/> </div> </form> </li> <?php else: ?> <li> <h2>Logged in as <?php echo $user_identity; ?></h2> <ul> <li><a href="<?php bloginfo('url') ?>/wp-admin/">Dashboard</a></li> <?php if ( $user_level >= 1 ) : ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Write an article</a></li> <?php endif // $user_level >= 1 ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">Profile and personal options</a></li> <li><a href="<?php echo wp_logout_url(); ?><?php echo '&redirect_to='.$_SERVER['REQUEST_URI']; ?>">Logout</a></li> </ul> <?php endif; ?> <li> <h2> Websites we recommend</h2> <table width="100%" border="0" cellpadding="10"> <tr> <td><a href="https://www.kqzyfj.com/click-3470417-10591139"> <img src="https://www.ftjcfx.com/image-3470417-10591139" width="88" height="31" alt="#1 Site For Love - Match.com? Official Site" border="0"/></a></td> <td><h7>Use this button and get a <strong>FREE</strong> <br />3 day free trial!</h7> </td> </tr> </table> <br /><br /> <h2> Twitter love</h2><br /> <table border="0" style="padding:200px"> <tr> <td><script type="text/javascript" src="https://tweetmeme.com/i/scripts/button.js"></script></td> <td> </td> <td><a href="https://twitter.com/thingsaboutlove" target="_blank"><img src="https://www.kiaeneto.com/images/twitter.png" border="0" /></a></td> </tr> </table> </li> <li> <br /><br /> <h2>Get EMAIL updates</h2> <form action="https://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('https://feedburner.google.com/fb/a/mailverify?uri=ThingsAboutLove', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><p>Subscribe via email (don't worry, we wont give it out):</p><p><input type="text" style="width:140px" name="email"/></p><input type="hidden" value="ThingsAboutLove" name="uri"/><input type="hidden" name="loc" value="en_US"/><input type="submit" value="Subscribe" /></form> </div> </div> <!-- end sidebar -->
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘deleted some sidebar code :(’ is closed to new replies.