• Resolved hebhansen

    (@hebhansen)


    Hey

    I found this code in your faq:

    add_filter( 'wpdn_colors', 'wpdn_add_purple' );
    function wpdn_add_purple( $colors ) {

    $colors['purple'] = '#5236A0';

    return $colors;

    }

    In case I wish to add more than one colour, how do I do that? Do I add a colour line or repeat the entire code block?

    I assume changing purple everywhere according to the color is ok?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding colours’ is closed to new replies.