my bad,
the correct and working code for Relevanssi to grab the content of a dynamic blogroll page is:
function printBookmarks( $atts, $content = null ) {
$ritorna = "";
$taxonomy = 'link_category';
$args ='';
$terms = get_terms( $taxonomy, $args );
if ($terms) {
foreach($terms as $term) {
if ($term->count > 0) {
$ritorna .= "<h3>".$term->name."</h3>";
$bookmarks = get_bookmarks( array(
'orderby' => 'name',
'order' => 'ASC',
'category_name' => $term->name
));
foreach ( $bookmarks as $bm ) {
$ritorna .= sprintf( '<a class="relatedlink" href="%s">%s</a><br />', $bm->link_url, __($bm->link_name) );
}
}
}
}
echo $ritorna;
}
add_shortcode('myblogroll', 'printBookmarks');
then just add the shortcode [myblogroll] inside a page and we’re good to go
– and it’s much better than going through the hassle of doing a template page
ps: thanks and kudos for this great plugin, msaari :o)