kein title attribute für wp_tag_cloud links
-
Hi – die <a> tags der tag cloud haben kein title attribute. Nur ein aria-label attribute. Ist das beabsichtigt? Sind title attribute veraltet?
//kurzversion of $args_c
$args_c = [ "topic_count_text_callback"=> "my_tax_callback",
"show_count" => 1, //dieses argument generiert die aria-label attribute
];
function my_tax_callback( $count ) {
return sprintf( _n('%s post', '%s posts', $count), number_format_i18n( $count ) );
}
wp_tag_cloud($args_c);Wie können die title attribute eingefügt werden? Danke.
Ansicht von 2 Antworten – 1 bis 2 (von insgesamt 2)
Ansicht von 2 Antworten – 1 bis 2 (von insgesamt 2)
Du musst angemeldet sein, um auf dieses Thema zu antworten.