Here’s what happens when I add the following code:
<?php $links = wp_list_bookmarks('title_li=&categorize=0&sort_column=menu_order&echo=0');
$bookmarks = explode('</li>', $links); //create array from string returned by wp_list_bookmarks
array_pop($bookmarks); //pop last element off array
echo implode('<span class="divider"> | </span>', $bookmarks); ?>
Allied Gardens |
Bay Park |
Carmel Valley |
Chula Vista |
Clairemont |
College |
College Grove |
Coronado |
I did try this:
<?php get_links(21, '<span class="divider"> | </span>', ' | ', TRUE, 'url', FALSE); ?>
Works, except it looks like this now (adds pipe before and after and adds description:
| Allied Gardens1Allied Gardens of San Diego County | | Bay Park1Bay Park of San Diego | | Carmel Valley1Carmel Valley of San Diego