Inline Style Post Category Links Using Color Picker

Inline Style Post Category Links Using Color Picker

Author: WP Sites

Date: January 17, 2022 

Category: Theme development, Tips and tricks, Tutorials

The code in this download folder enables you use the color picker on the Edit Category page to style your post category links on all page types.

Once you install the PHP code, all post category links will be styled without the need to add any CSS and each link will be styled differently regardless of how many categories you assign to each post.

<img data-attachment-id="107785" data-permalink="https://wpsites.net/genesis-tutorials/inline-style-post-category-links-using-color-picker/attachment/107783-result-1/" data-orig-file="https://mldlxoe9efl0.i.optimole.com/cutpBdM.jlsD~46cf9/w:auto/h:auto/q:mauto/https://i0.wp.com/wpsites.net/wp-content/uploads/2022/01/107783-result-1.png?fit=700%2C84&ssl=1" data-orig-size="700,84" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="107783-result-1" data-image-description data-image-caption data-medium-file="https://mldlxoe9efl0.i.optimole.com/cutpBdM.jlsD~46cf9/w:auto/h:auto/q:mauto/https://i0.wp.com/wpsites.net/wp-content/uploads/2022/01/107783-result-1.png?fit=700%2C84&ssl=1" data-large-file="https://mldlxoe9efl0.i.optimole.com/cutpBdM.jlsD~46cf9/w:auto/h:auto/q:mauto/https://i0.wp.com/wpsites.net/wp-content/uploads/2022/01/107783-result-1.png?fit=600%2C72&ssl=1" loading="lazy" src="https://mldlxoe9efl0.i.optimole.com/cutpBdM.jlsD~46cf9/w:auto/h:auto/q:mauto/https://i0.wp.com/wpsites.net/wp-content/uploads/2022/01/107783-result-1.png?resize=700%2C84" alt

This is the first part of the article “Inline Style Post Category Links Using Color Picker“
written by WP Sites.