0
avecWordpress: Comment mettre une fonction dans PHP?
<?php
if (is_category())
echo single_cat_title();
?>
je peux afficher la catégorie actuelle titre ..
Comment puis-je insérer la balise single_cat_title() dans:
<?php
$recent = new WP_Query("cat=10&showposts=4"); while($recent->have_posts()) : $recent->the_post();
if (in_category(10) && in_category(**Insert Here**)) { ?>
je l'ai essayé avec
if (in_category(10) && in_category('.single_cat_title.')) { ?>
mais pas chance ... merci!