• For some reason my link descriptions disappeared after I upgraded. Anyone know a solution? I’m using the php get_links_list tag. It seems the link category options where you can turn the descriptions on and off is no longer there.

Viewing 15 replies - 1 through 15 (of 21 total)
  • I’m getting the same problem i cannot see my links

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Change to using the wp_list_bookmarks() function instead of get_links_list().

    And how do you change that?

    Thread Starter drewski

    (@drewski)

    Nice Otto, thanks. I must have missed that.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    pierrefitch: Edit your theme and change the get_links_list function to use the newer function. It will require a bit of minor effort to translate from the old way to the new way, but the effort is very minor.

    Here’s what I have:

    	<!-- Begin - Links from the 'Links Manager'-->
    		<?php
    			$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
    			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
    				}
    			}
    		?>
    

    Which part do I change the function from/to?

    BUMP

    I’m having the same issue. Just now upgraded from 2.05 to 2.1. Everything seems to be working OK, except none of my links show up on the sidebar. The link topic HEADINGS all show up OK, and all the links are still there in the SITE ADMIN area.

    Another bump in the wall.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Might I suggest actually going and reading the documentation?

    https://codex.www.ads-software.com/Template_Tags/wp_list_bookmarks

    OK, maybe I should be a little more clear. Can anyone indicate how to implement the new function with a demonstration of actual code changes from the old?

    I would like the same demonstration. I’m a designer and I can easily edit the PHP code, but I’m not very comfortable with it, so clearer instructions would be greatly appreciated.

    I’m glad its not just me bamboozled by this…

    An alternative would be: can anyone name a WordPress theme that does this properly under WP2.1 so that we can have a look at the code?

    @johna

    Not too sure what you mean by “properly”, but the default theme uses wp_list_bookmarks in sidebar.php.

    What theme are you using?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Link Descriptions disappeared after upgrading to 2.1’ is closed to new replies.