type ); /** * Enqueue control stylesheet */ wp_enqueue_style( 'bloghash-' . $bloghash_type . '-control-style', BLOGHASH_THEME_URI . '/inc/customizer/controls/' . $bloghash_type . '/' . $bloghash_type . $bloghash_suffix . '.css', false, BLOGHASH_THEME_VERSION, 'all' ); } public function json() { $json = parent::json(); $json['kind'] = $this->kind; return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • <# if ( data.title && data.title.indexOf('') === -1 || data.kind === 'divider' ) { #>

    {{ data.title }}

    <# }else{ #> {{ data.title }} <# } #> <# if ( data.description && data.description_hidden ) { #> {{ data.description }} <# } #>