diff -r 000000000000 -r d970ebf37754 wp/wp-links-opml.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-links-opml.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,80 @@ +\n"; +?> + + + <?php printf( __('Links for %s'), esc_attr(get_bloginfo('name', 'display')) ); ?> + GMT + + + + 'link_category', 'hierarchical' => 0)); +else + $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0, 'include' => $link_cat)); + +foreach ( (array)$cats as $cat ) : + /** + * Filter the OPML outline link category name. + * + * @since 2.2.0 + * + * @param string $catname The OPML outline category name. + */ + $catname = apply_filters( 'link_category', $cat->name ); + +?> + + $cat->term_id)); + foreach ( (array)$bookmarks as $bookmark ) : + /** + * Filter the OPML outline link title text. + * + * @since 2.2.0 + * + * @param string $title The OPML outline title text. + */ + $title = apply_filters( 'link_title', $bookmark->link_name ); +?> + + + + + +