This code adds a color picker to the Edit Category screen which enables you to change colors for different elements on single posts in each category.
This code has been written in response to the following question from a registered user :
“I was hoping to be able to use the color picker and set a color per category that would populate across the site within the dashboard, so my clients could set the colors.”
Let’s take a look at what this solution gives you in the demo video.
Demo Video
Shows how you can use the color picker on every Edit Category screen to change the colors of different elements on single posts in that category. In this example, the color picker sets the colors for the entry title & entry meta however you can use it to set colors of any/all single post elements.
Installation Steps
There’s 2 steps :
# Step 1 – From the download folder, copy & paste the PHP code to the end of your child themes functions.php file.
Register or login to access the code in the download folder.
# Step 2 – Create a new field like this using ACF Pro :
Leave a Reply
You must be logged in to post a comment.