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
July 21, 2022 at 10:21 pm
#38527
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