Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/02/2013, 13:54
Avatar de montealegreluis
montealegreluis
 
Fecha de Ingreso: mayo-2012
Ubicación: Puebla, Puebla
Mensajes: 64
Antigüedad: 11 años, 10 meses
Puntos: 16
Respuesta: uso de has_term para seleccionar dos categorias

Hola,

Te sobran paréntesis

Código PHP:
Ver original
  1. if (has_term('fotografia', 'product_cat') or has_term('little_art', 'product_cat')) {

Saludos!
__________________
RTFM: Read The Fine Manual...

http://www.comunidadphppuebla.com
https://github.com/ComPHPPuebla