tags:

views:

40

answers:

1

Hi,

Is there any member function available in SimplePie to get the Category (Labels) of a post ?

A: 

You will need to use the get_categories() function...

foreach ($item->get_categories() as $category)
    {
     echo $category->get_label();
    }
superUntitled