Ive tried hard to get this… but Im not beeing able to do something I beleive should be simple…
All I want is to retrieve the parent category link of the current post inside The Loop.
I want to do this: “AUTHORs NAME
My last try to get the category id was:
<? global $id ?>
<?php $query = “
WHERE post_id = $id “;
$categoria = $wpdb->get_results($query);
I returns nothing…
- The topic ‘returnin category properties (id, link, etc)’ is closed to new replies.