Hi,
I would like to create a custom field mixing 2 other fields. In my case I have a date field which I would like to be colored with a color field. I need to mix them because the table I use to display the results (post table pro) needs custom fields (meta data) to be placed into the shortcodes (One column per field).
I tried to create a text field with default content like this :
<p style="background-color:<?php the_field('mycolorfiled'); ?>"><?php the_field('mydatefield'); ?></p>
But it doesn’t work…
Do I need the Pro version to accomplish this ? Can you lead me to a solution please ?
Regards
This will not work because you cannot run PHP in a text field