Answer the question
In order to leave comments, you need to log in
Change the field type in pa_color from text to color - what's the next step?
I've been looking for a way to bypass plugins for a long time and find a solution that suits me, can someone tell me the next step?
pa_color - taxonomy.
In the admin panel, she has a name field.
It would be enough to change its type and add a class so that the color value is immediately displayed everywhere, and not the text.
с
<input name="name" id="name" type="text" value="Black" size="40" aria-required="true">
на
<input name="name" id="name" type="color" value="#000000" size="40" class="wpColorChoose" aria-required="true">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question