Option Tree Add Textarea as Tinemce js

in functions.php

add_filter( ‘ot_override_forced_textarea_simple’, ‘__return_true’ );

Advertisements

Change Background Color Of Theme

array(
‘id’ => ‘bg_color’,
‘label’ => ‘» Select Colorꜜ’,
‘type’ => ‘colorpicker’,
‘section’ => ‘bgColor’
),

In header.php add this —

<body style = “background-color:<?php echo ot_get_option(‘bg_color’);?>”>