<?php $links = get_bookmarks( array(
'orderby' => 'link_id',
'order' => 'ASC',
));
//print_r($links);
// Loop through each bookmark and display the formatted output
foreach ( $links as $link ) {
echo '<li>';
echo '<strong>'.$link->link_name.'</strong>';
echo '<br />';
echo '<a href="'.$link->link_url.'" target="_blank">';
echo $link->link_url.'</a>';
echo '<br />';
echo $link->link_description;
echo '</li>';
} ?>
No comments:
Post a Comment