PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Display attribute description in filter

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi!

 

Is it possible to show the attribute name and description like this:

"Attribute name - Attribute description"

You can see what i mean on https://nordicbackdrop.weboglinjer.dk/shop/

 

Kindest regards
Mai

Hello Mai

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

You can create  custom  labels - https://share.pluginus.net/image/i20230608214354.png

@anna-4

Hello

HUSKY just now not has such feature, but we added it in list for future features to review, thank you ...

 

@anna-4

Hello

Next update should be done this week, and such feature will be possible with the hook 'woof_before_term_name' https://share.pluginus.net/image/i20230710135349.png - information is taken form tag description, code example for file functions.php:

add_filter('woof_before_term_name', function ($term, $taxonomy_info) {
$description = strip_tags(term_description($term['term_id']));

if (!empty($description)) {
//instead of inline CSS you can use CSS classes
return $term['name'] . ' <em style="float: right; font-size: 12px;display:inline-block;margin: 4px 0 0 6px;">[' . strip_tags(term_description($term['term_id'])) . ']</em>';
}

return $term['name'];
}, 10, 2);

Hello

Update is done and article created: https://products-filter.com/how-to-display-attribute-description-near-taxonomies-terms/