WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How Do You Make The Link Description Display Beow an Image (13 posts)

  1. Anonymous
    Unregistered
    Posted 5 years ago #

    In Edit Link, there's a Description field that has a this comment just below the field:
    This will be shown when someone hovers over the link in the blogroll, or optionally below the link.

    I would like what I write in that field to show below the image. But I can find no way to access that "option." (It drives me crazy when a program tells you you can do something, then doesn't tell you HOW.)

    Can anyone tell me how? I'm new to all this, so I'd really appreciate step-by-step instructions. Thanks!

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    http://codex.wordpress.org/wp_list_bookmarks

    The option name is "show_description".

    Note that the Links widget doesn't have these sort of options, yet. Look for them to be implemented in upcoming versions.

  3. Anonymous
    Unregistered
    Posted 5 years ago #

    Uh....appreciate the info, but what do I do with it?

    I went to the codex page listed, but it's talking about bookmarks (not even sure what those are) not links, so I tried following various links in the codex for an hour (templates, php, etc.) so I now have an idea that somewhere, in, I think, some PHP tag in some, I think, template relating to this blog, I'm supposed to add
    show_description

    Or are you telling me that the not having that option in the widget means it can't be done?

    (I was hoping there'd be a button or a field somewhere in wp-admin that I didn't know about that would handle this problem, but that would be way too easy!)

    The only thing I'm sure of is that if I put that line in the wrong place, it will really, really mess all sorts of things up.

    So....exactly where do I put it? Please?

    (So far, the only coding I've done is changing color and text point sizes in my CSS file, and I'm still very careful about keeping track of what I change so I can put it back exactly the way it was if it screws up. I am totally new to all this, and my head had been aching for the last week trying to figure out how to make this WordPress program do what I need it to do.)

    Thanks!

  4. Anonymous
    Unregistered
    Posted 5 years ago #

    Sorry, the name is now Tink, but I am Cathryn. Can't seem to make the forum login accept the Cathryn password.

    And how in the heck do you change your password to something that takes less than five minutes of VERY CAREFUL typing to enter?

  5. Mike
    Member
    Posted 5 years ago #

    Hi,

    I'm having the opposite problem .. I want to turn the link description *off* but dont know how. It automatically shows the description under the link and I'd like it to only appear when hovering over. Have no clue how to turn it off

  6. gta4onlineguide
    Member
    Posted 5 years ago #

    Hi sorry to be somewhat of a thread hijacker, but I couldn't figure out how to private message people on this forum and I really need mikedark's help. I found your topic header calamity, I'm having the EXACT same problem, how did you fix it???

  7. TrishaM
    Member
    Posted 5 years ago #

    Back to Cathryn's problem, please......

    Tink, what Otto means is that the wp_list_bookmarks has several "arguments' (aka parameters) that you can use to customize it......

    If your blogroll is (like almost everyones) in your sidebar, then you're going to find that php function in your sidebar.php file, so open that and look for this line of code:

    <?php wp_list_bookmarks(); ?>

    And change it to:

    <?php wp_list_bookmarks('show_description=1'); ?>

    The default is 0, which does not show except on hover, so you have to change it to 1 to make it show....

    Hope this helps!

  8. lesliekirk
    Member
    Posted 5 years ago #

    May I ask if this has been added to 2.6.2? Or do I still need to use the hack? Will it work for the widget display? It's a needed feature for a site I'm working on.

    Thanks!
    Leslie

  9. noelgreen
    Member
    Posted 5 years ago #

    <?php wp_list_bookmarks('show_description=1&between=<br />'); ?>

  10. earphinteractive
    Member
    Posted 5 years ago #

    Is it possible to list links/bookmarks like I did with "recent" posts? I haven't seen a way to do it like this yet.

    <?php query_posts ('showposts=10'); ?>
    	<?php while ( have_posts() ) : the_post(); ?>
    	<li>
    	<p class="recent-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p>
    	<p class="recent-date"><?php the_time('F jS, Y'); ?></p>
    	</li>
    <?php endwhile; ?>
  11. Anatis
    Member
    Posted 5 years ago #

    Just thought I'll mention that the <?php wp_list_bookmarks('show_description=0'); ?> still shows the description.
    Since it is said to be "Optional", it would be nice to get an option to tick on whether a description is shown or not, rather than having to hack the sidebar.php.
    As it is (and has been for as long as I've used WP) I can't put a description on any of the links, because the second it's there, it shows up on the sidebar and clutters everything up. :)
    So now I get nothing when I hover, because I don't want the darn descriptions showing up visible on the sidebar. (Messy.)

  12. Anatis
    Member
    Posted 5 years ago #

    I am seriously DUH. :)

    I just found I ticked "Link Description" in the widget. Unticked it, and it works just fine now.

  13. Mark / t31os
    Moderator
    Posted 5 years ago #

    lol, at least you're honest about it... ;-)

    There's no reason you can't have 2 calls to the same function and specify different parameters... even in a worse case scenario you just need one or two lines of extra code..

Topic Closed

This topic has been closed to new replies.

About this Topic