It’s pretty clear that this plugin is no longer supported, but it would be super super great to fix these small issues.
With WP_Debug turned on, at least the following three deprecated functions from this plugin throw errors:
load_plugin_text_domain
clear_url
(use esc_url
instead)attribute_escape
(use esc_attr
instead)I’m going to guess that none of these are too hard to replace, but I’d much rather have them replaced here than on each site I use this plugin on.
Best!
]]>Sorting on Id does not work after update to WP 3.1.4.
It is sorting by name instead.
Hi
I use the plugin to show the images for the links, but it would be great if we can have the option to put a coloured border around the images too.
It helps separate each icon/image in the list, but if a theme doesn’t automatically have the .css set to draw a line around every picture then it doesn’t show.
I tend not to have picture borders on my themes by default as it can easily mess up the look of a site when using img spacers in the content.
My current workaround is to add the style info to the advanced_blogroll.php file.
I change:
if ( strpos($bookmark->link_image, 'http') !== false )
$output .= "<img src=\"$bookmark->link_image\" height=\"$height\" width=\"$width\" $alt $title /></a>\n";
else // If it's a relative path
$output .= "<img height=\"$height\" width=\"$width\" src=\"" . get_option('siteurl') . "$bookmark->link_image\" $alt $title /></a>\n";
}
if ($showform == 2) {
if (strlen($bookmark->link_image)>2) {
$output .= "<li>";
$output .= '<span class="linkimg">';
$image = "<img src=\"$bookmark->link_image\" height=\"$height\" width=\"$width\" $alt $title />";
to
if ( strpos($bookmark->link_image, 'http') !== false )
$output .= "<img src=\"$bookmark->link_image\" height=\"$height\" width=\"$width\" style=\"border: 1px solid black\" $alt $title /></a>\n";
else // If it's a relative path
$output .= "<img height=\"$height\" width=\"$width\" src=\"" . get_option('siteurl') . "$bookmark->link_image\" style=\"border: 1px solid black\" $alt $title /></a>\n";
}
if ($showform == 2) {
if (strlen($bookmark->link_image)>2) {
$output .= "<li>";
$output .= '<span class="linkimg">';
$image = "<img src=\"$bookmark->link_image\" height=\"$height\" width=\"$width\" style=\"border: 1px solid black\" $alt $title />";
Basically adding style=\”border: 1px solid black\” to the 3 img src
Hope it’s useful info
CW
]]>In contrast to the good ol’ template tags and the dumb default links widget (who both require a relative path to the bookmark image), this plugin seems to require an absolute path to the bookmark image.
]]>