Advanced Link Attributes

The image address (Figure 4-40) is the URL of any image you want to represent your link. You could use something small, like a favicon that could be displayed next to the link text in a typical blogroll list. At the other extreme, you could choose a large image, and customize your theme so that the images are shown and the titles appear only as alt or title attributes. Using this technique, you could turn your link manager into an image gallery—and, by adding a little Javascript into the mix, you could even transform it into a featured content carousel.

Justin Tadlock has written an excellent tutorial on using link images to create a gallery. See justintadlock.com/archives/2009/01/09/creating-an-image-gallery-with-wordpress-bookmarks for more information.

■ Tip: To use images from your own site as link images, upload them in the Media Library, then copy the file URL to use in this field.

The RSS address field is intended to store the feed (which could be Atom or RDF, not just RSS) of the site you're linking to. However, this field is seldom used in themes. The notes field is also not generally used in themes; you can use it to store private notes for yourself (and any other users of your site who might edit links).

While few themes take advantage of the rating field, it could be essential if you were building a link directory with the links manager.

Finally, you can make the entire link private if you wish. All the link information will be stored in your link manager, but none of it will appear when link lists are displayed on your site.

0 0

Post a comment