[wp-hackers] Get list of links by category

Aero Maxx aero.maxx.d at gmail.com
Thu Feb 17 09:27:38 UTC 2011


Thats great, but how do you get the list of categories used in the 
"links" features first ?

Ideally what I would like is a page for each link category with the 
links for just that category on it.

On 16/02/2011 23:34, Kevin Newman wrote:
> Just wanted to say thanks.
>
> Thank you so much for calling the API functions surrounding the 
> "links" feature "bookmarks" so that it's impossible to find it in the 
> Codex! ;-)
>
> For future reference, if you want to get a list of links (er, 
> bookmarks) by category, it's:
>
> $archives = get_bookmarks(array('category_name' => 'your category 
> name'));
>
> Kevin N.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list