How to add "target" & "Description" to the codex example of get_bookmarks fu
-
Hi,
Im utilizing theget_bookmarks
function and its working out great, however the codex example only shows how you can print out a link with the name and thats about it…<?php $bookmarks = get_bookmarks( array( 'orderby' => 'name', 'order' => 'ASC', 'category_name' => 'Related Sites' )); // Loop through each bookmark and print formatted output foreach ( $bookmarks as $bm ) { printf( '<a class="relatedlink" href="%s">%s</a><br />', $bm->link_url, __($bm->link_name) ); } ?>
How would I go about adding any additional params to this function? ie. Target, Description, etc.
Thanks.
SB
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add "target" & "Description" to the codex example of get_bookmarks fu’ is closed to new replies.