id; $defaultStyling = array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position-vertical' => '', 'background-position-horizontal' => '', 'background-size' => '', 'background-attachment' => '', ); $values = array(); //var_dump($this); if(is_serialized($this->value())){ $values = unserialize($this->value()); } else { //$values = $defaultStyling; $values = $this->setting->default; } $value_serialized = is_serialized($this->value()) ? $this->value() : serialize($this->value()); ?>
label ) ) : ?> label ); ?> description ) ) : ?> description) ; ?> setting->default; $color = ''; if ( isset($defaultValue['background-color']) ) { $color = $defaultValue['background-color']; if ( '#' !== substr( $color, 0, 1 ) ) { $color = '#' + $color; } } ?>