petit mot
-
$taxonomy = 'product_cat'; $primary_cat_id=get_post_meta($product->id,'_yoast_wpseo_primary_' . $taxonomy, true); if($primary_cat_id){ $primary_cat = get_term($primary_cat_id, $taxonomy); if(isset($primary_cat->name)) echo $primary_cat->name; }
Good morning
-
$taxonomy = 'product_cat'; $primary_cat_id=get_post_meta($product->id,'_yoast_wpseo_primary_' . $taxonomy, true); if($primary_cat_id){ $primary_cat = get_term($primary_cat_id, $taxonomy); if(isset($primary_cat->name)) echo $primary_cat->name; }
Reminders & words
-
$taxonomy = 'product_cat'; $primary_cat_id=get_post_meta($product->id,'_yoast_wpseo_primary_' . $taxonomy, true); if($primary_cat_id){ $primary_cat = get_term($primary_cat_id, $taxonomy); if(isset($primary_cat->name)) echo $primary_cat->name; }
Les petits mots
1, 2, 3, prêt ? Créez !
Que tu souhaites changer ta façon de consommer ou tout simplement prendre du plaisir à créer pour décompresser, je te guide pour choisir le bon matériel, apprendre de nouvelles techniques et dénicher les tutoriels DIY tendance. Prépare-toi à dire ‘C’est moi qui l’ai fait » avec fierté !