Support » Plugins » Specify Possible Font Colors

  • Resolved dvent


    I am building a site for a client.

    They have a style guide containing 8 possible font colors.

    Is there a way I can edit the theme or wordpress files to only allow a font to be set as one of these 8 colors in the WYSIWYG editor?


Viewing 1 replies (of 1 total)
  • Added the following code to functions.php

    function make_mce_awesome( $init ) {
        $init['theme_advanced_text_colors'] = '000000,ed1b24,f6a41d';
        return $init;

    Add colors as required…

Viewing 1 replies (of 1 total)
  • The topic ‘Specify Possible Font Colors’ is closed to new replies.