Domanda

Qualcuno può dirmi come posso mostrare un conteggio dei post in questo frammento di codice?

<?php $tags = get_tags();
   if ($tags) {
   foreach ($tags as $tag) {
   echo '<li><a href="' . get_tag_link( $tag->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $tag->name ) . '" ' . '>' . $tag->name.'</a> </li> ';
   }
};?>

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a wordpress.stackexchange
scroll top