Black Friday! Get up to 25% off GP Premium! Learn more ➝

Reply To: Archive Description

Home Forums Support Archive Description Reply To: Archive Description

Home Forums Support Archive Description Reply To: Archive Description

#235862
Tom
Lead Developer
Lead Developer

Hi Dorian,

Which widget are you using? The default category widget?

I did a quick search and found this function:

// prevent the category widget from using the category description as the list item title attribute
function sjc_disable_cat_desc_widget_list_titles ( $cat_args ) {
    $cat_args[ 'use_desc_for_title' ] = 0;
    return $cat_args;
}
add_filter( 'widget_categories_args', 'sjc_disable_cat_desc_widget_list_titles' );

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

Let me know 🙂