WordPress.org

Forums

[resolved] Problems with Tag Deprecation and Sidebar Errors (1 post)

  1. lauralohr
    Member
    Posted 8 years ago #

    I upgraded my version of WordPress from 2.0.5 to 2.1.3. I had upgraded before and had a ton of problems. I know my problems stem from the deprecation of tags and such, but I just cannot figure out how to fix the tags.

    Any help is greatly appreciated.

    Here is my sidebar code. I know this is where the problems are, but I cannot seem to fix it.

    My site is: http://www.lauralohr.com

    <?php
    /*
    Tiga WordPress Theme
    
    Copyright (C) 2006  Shamsul Azhar
    
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    */
    ?>
    
    <div class="sidebar">
    	<!-- ##################################### Begin - Left Sidebar ##################### -->
    	<div class="left-sidebar">
    
    <!-- Begin - Links from the 'Links Manager'-->
     			<?php
    				$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM wp_linkcategories where cat_id <> 4 order by cat_name");
    				foreach ($link_cats as $link_cat) {
    					if (get_links($link_cat->cat_id, '', '', '', FALSE, '', FALSE, FALSE, -1, FALSE, FALSE)) {
    			?>
    						<div class="left-widget-title"
    						     id="linkcat-<?php echo $link_cat->cat_id; ?>">
    							<?php echo $link_cat->cat_name; ?>
    						</div>
    						<div class="left-widget">
       						<ul>
        						<?php	wp_get_links($link_cat->cat_id); ?>
       						</ul>
    						</div>
     			<?php
    					}
    				}
    			?>
    		<!-- End - Links from the 'Links Manager'-->
    		<!-- Begin - Pages
    		<?php if (get_pages('')) { ?>
    
    	  <div class="left-widget-title">Pages</div>
    		<div class="left-widget">
    			<ul>
    				<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
    			</ul>
    		</div>
    		<?php } ?>
    	 End - Pages -->
    
    <!-- Begin - Archives -->
    		<div class="left-widget-title">Archives</div>
    
        <div class="left-widget">
          <?php make_month_dropdown(); ?>
    
    <li id="categories"><?php _e(''); ?>
       <ul><li>
       <form action="<?php echo $PHP_SELF ?>" method="get">
    
    <?php dropdown_cats(TRUE, 'Choose Category', 'name'); ?>
    <input type="submit" name="submit" class="searchformsubmit" value="Go" /></form></
    
       </li></ul>
    </li>
        </div>
        <!-- End - Archives -->
    
    		<!-- Begin - Calender -->
    		<div class="left-widget-title">Calendar</div>
    		<div class="left-widget"><?php get_calendar(); ?></div>
    		<!-- End - Calender -->
    
    <!-- Begin: AdBrite -->
    <div class="right-widget-title">Allison's College Fund</div>
    <div class="right-widget"/>
    
    <style type="text/css">
       .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #E895CC;}
       .adText {font: normal 10pt Arial; text-decoration: none; color: #FF6FCF;}
    </style>
    <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=70811&br=1">
    </script>
    <div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=70811&afsid=1">Your Ad Here</a></div>
    
    </div>
    </div>
    <!-- End: AdBrite -->
    
    	<!-- ##################################### End - Left Sidebar ####################### -->
    	<div class="sidebar">
      <!-- ##################################### Begin - Right Sidebar #################### -->
    
    <div class="right-sidebar">
    
    			  <!-- Begin - Links I am Reading -->
    	   <div class="right-widget-title">Links I am Reading</div>
        <div class="right-widget">
    <form name="Links I am Reading">
            <select name="menu" onchange="MM_jumpMenu('parent',this,0)">
       <option></option>
      <?php dropdown_get_links(4, 'name','-1') ?>
      </select>
       </form></div>
       <!-- End -Links I am Reading -->  
    
    <!-- Begin - E-mail Me-->
    <div class="right-widget-title">Contact</div>
        <div class="right-widget"/>
    <FORM>
    <INPUT TYPE="button" VALUE="Click to E-mail Me"  onClick="parent.location='mailto:laura (REMOVE THIS TEXT IN CAPS BEFORE SENDING: AT)  lauralohr.com'">
    </FORM>
        </div>
    <!-- End of E-mail Me -->
    
    <!-- Begin - My Running-->
    <div class="right-widget-title">Training for the Next Race</div>
        <div class="right-widget"/>
     <script type="text/javascript"
    src="http://www.breakingthetape.com/wt/scripts/mileage_sidebar.php?mem=156&link=yes&show=lymw">
    </script></div>
    <div class="right-widget-title"></div>
        <div class="right-widget"/><script type="text/javascript" src="http://www.breakingthetape.com/wt/scripts/wt_pr.php?mem=156">
    </script></div>
    <!-- End of My Running -->
    
    <!-- Start of Events -->
        <div class="right-widget-title">Upcoming Events</div>
        <div class="right-widget"/>
        <?php if(function_exists('zc_show_events')){?><?php zc_show_events('sidebar');?><?php }?>
    </div>
    <!-- End of Events -->
    
    <!-- Start of Flickr Badge -->
    <div class="right-widget-title">Our Photos</div>
    <div class="right-widget"/>
    <style type="text/css">
        /*<![CDATA[*/
    #flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, 
    
    Sans serif; color:#666666;}
    #flickr_badge_icon {display:block !important; margin:0 !important; 
    
    border: 1px solid rgb(0, 0, 0) !important;}
    #flickr_icon_td {padding:0 5px 0 0 !important;}
    .flickr_badge_image {text-align:center !important;}
    .flickr_badge_image img {border: 1px solid black !important;}
    #flickr_badge_uber_wrapper {width:150px;}
    #flickr_www {display:block; text-align:center; padding:0 10px 0 
    
    10px !important; font: 11px Arial, Helvetica, Sans serif !
    
    important; color:#3993ff !important;}
    #flickr_badge_uber_wrapper a:hover,
    #flickr_badge_uber_wrapper a:link,
    #flickr_badge_uber_wrapper a:active,
    #flickr_badge_uber_wrapper a:visited {text-decoration:none !
    
    important; background:inherit !important;color:#3993ff;}
    #flickr_badge_wrapper {background-color:#ffffff;border: solid 1px 
    
    #000000}
    #flickr_badge_source {padding:0 !important; font: 11px Arial, 
    
    Helvetica, Sans serif !important; color:#666666 !important;}
        /*]]>*/
        </style>
    
          <table id="flickr_badge_uber_wrapper" cellpadding="0" cellspacing="10" border="0">
            <tr>
              <td>
                <a href="http://www.flickr.com" id="flickr_www">www.<strong
                style="color:#3993ff">flick<span
                style="color:#ff1c92">r</span></strong>.com</a><script type="text/javascript"
                src="http://www.flickr.com/badge_code_v2.gne?show_name=1&amp;count=5&amp;display=random&amp;size=s&amp;layout=v&amp;source=user&amp;user=14621643%40N00">
                </script>
    
                <table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper">
                  <tr>
                    <td id="flickr_badge_source" valign="center" align="center">
                      <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                          <td width="10" id="flickr_icon_td"><a
                          href="http://www.flickr.com/photos/lauralohr/"><img
                          id="flickr_badge_icon" alt="Laura &amp; Eric's photos"
                          src="http://static.flickr.com/33/buddyicons/14621643@N00.jpg?1125641255"
                           align="left" width="48" height="48" /></a></td>
    
                          <td id="flickr_badge_source_txt"><nobr>More of</nobr> <a
                          href="http://www.flickr.com/photos/lauralohr/">Laura &amp; Eric's
                          photos</a></td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
    
    <!-- End of Flickr Badge -->
    
    			<!-- Begin - Meta -->
    		<?php //if ( is_home() || is_page() ) { ?>
    			<div class="right-widget-title">Meta</div>
    			<div class="right-widget">
    				<ul>
    					<?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>
    					<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
    					<?php wp_meta(); ?>
    				</ul>
    			</div> <!-- right-widget -->
    		<?php //} ?>
    		<!-- End - Meta -->
    </div>
    
    	 <!-- right-sidebar -->
    	<!-- ##################################### End - Right Sidebar ###################### -->
    
    </div> <!-- sidebar -->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.