[ad_1]
Hello,
I have created my own field (named: availability) for one of the apartment rental options (field options are: free, reserved, rented).
In the Pods options, the own field has been created as:
Field relation – Relation,
Relation type – Simple (own defined list)
Custom Defined Options – free|FREE, reserved|RESERVED, rented|RENTED.
My question: how can I add a dependency so that the front-end apartment rental status font color is displayed as:
free – green font, reserved – yellow font, rented – red font ?
Can I set this type of dependency in the Pods plugin, or somehow put it in the functions.php file, how to do it?
I will be very grateful for your help!
