Файловый менеджер - Редактировать - /home/digitalm/studiodentisticodigitalecm/wp-content/themes/healthy-smiles/kits/settings/general/typography.php
Назад
<?php namespace HealthySmilesSpace\Kits\Settings\General; use HealthySmilesSpace\Kits\Settings\Base\Settings_Tab_Base; use Elementor\Controls_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Typography settings. */ class Typography extends Settings_Tab_Base { /** * Get toggle name. * * Retrieve the settings toggle name. * * @return string Toggle name. */ public static function get_toggle_name() { return 'typography'; } /** * Get title. * * Retrieve the toggle title. */ public function get_title() { return esc_html__( 'Typography', 'healthy-smiles' ); } /** * Register toggle controls. * * Registers the controls of the kit settings tab toggle. */ protected function register_toggle_controls() { $this->add_var_group_control( 'base', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'Base Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h1', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H1 Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h2', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H2 Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h3', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H3 Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h4', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H4 Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h5', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H5 Font', 'healthy-smiles' ), ) ); $this->add_var_group_control( 'h6', self::VAR_TYPOGRAPHY, array( 'label' => esc_html__( 'H6 Font', 'healthy-smiles' ), ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.04 |
proxy
|
phpinfo
|
Настройка