Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/10/2011, 13:52
opzina
 
Fecha de Ingreso: marzo-2008
Mensajes: 1.020
Antigüedad: 16 años, 1 mes
Puntos: 21
Respuesta: (Consulta) Obtener categoria de un post.

Solución:

Código PHP:
Ver original
  1. get_term( 'term_id', 'taxonomy' );
  2. $term = get_term( 14, 'catablog-terms' );
  3.  
  4. echo $name = $term->name;
__________________
_