This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Help to display results with widget elementor posts

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Help to display results with widget elementor posts Reply To: Help to display results with widget elementor posts

#38527
dom domdom dom
Participant

Hello Ernest,

I would like to know if it is possible to display a boolean element with two different colors according to the yes or no state.

In the image #2, I have surrounded in blue color the taxonomy {__tax_pa_inscriptible}. I would like to display it in green if the value is true or in red if the value is false (see example image #3).

What is the function to add in the function.php file in the child theme to be able to change the color according to the result?

I thank you for helping me.

Regards.
Domi