feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme - Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto - Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold - Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI) - Plugins: Kadence Blocks, Polylang, Contact Form 7 - Custom CSS with full brand styling and responsive layout - HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
/**
|
||||
* Focus Layout Options
|
||||
*
|
||||
* @package Kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
use Kadence\Theme_Customizer;
|
||||
use function Kadence\kadence;
|
||||
|
||||
$settings = array(
|
||||
'sfwd-focus_layout_tabs' => array(
|
||||
'control_type' => 'kadence_tab_control',
|
||||
'section' => 'sfwd_topic_layout',
|
||||
'settings' => false,
|
||||
'priority' => 1,
|
||||
'input_attrs' => array(
|
||||
'general' => array(
|
||||
'label' => __( 'General', 'kadence' ),
|
||||
'target' => 'sfwd_topic_layout',
|
||||
),
|
||||
'design' => array(
|
||||
'label' => __( 'Design', 'kadence' ),
|
||||
'target' => 'sfwd_topic_layout_design',
|
||||
),
|
||||
'active' => 'general',
|
||||
),
|
||||
),
|
||||
'sfwd-focus_layout_tabs_design' => array(
|
||||
'control_type' => 'kadence_tab_control',
|
||||
'section' => 'sfwd_topic_layout_design',
|
||||
'settings' => false,
|
||||
'priority' => 1,
|
||||
'input_attrs' => array(
|
||||
'general' => array(
|
||||
'label' => __( 'General', 'kadence' ),
|
||||
'target' => 'sfwd_topic_layout',
|
||||
),
|
||||
'design' => array(
|
||||
'label' => __( 'Design', 'kadence' ),
|
||||
'target' => 'sfwd_topic_layout_design',
|
||||
),
|
||||
'active' => 'design',
|
||||
),
|
||||
),
|
||||
'info_sfwd-focus_title' => array(
|
||||
'control_type' => 'kadence_title_control',
|
||||
'section' => 'sfwd_topic_layout',
|
||||
'priority' => 2,
|
||||
'label' => esc_html__( 'Focus Title', 'kadence' ),
|
||||
'settings' => false,
|
||||
),
|
||||
'info_sfwd-focus_title_design' => array(
|
||||
'control_type' => 'kadence_title_control',
|
||||
'section' => 'sfwd_topic_layout_design',
|
||||
'priority' => 2,
|
||||
'label' => esc_html__( 'Focus Title', 'kadence' ),
|
||||
'settings' => false,
|
||||
),
|
||||
'sfwd-focus_title' => array(
|
||||
'control_type' => 'kadence_switch_control',
|
||||
'sanitize' => 'kadence_sanitize_toggle',
|
||||
'section' => 'sfwd_topic_layout',
|
||||
'priority' => 3,
|
||||
'default' => kadence()->default( 'sfwd-focus_title' ),
|
||||
'label' => esc_html__( 'Show Title in Focus Mode?', 'kadence' ),
|
||||
'transport' => 'refresh',
|
||||
),
|
||||
'sfwd-focus_title_font' => array(
|
||||
'control_type' => 'kadence_typography_control',
|
||||
'section' => 'sfwd_topic_layout_design',
|
||||
'label' => esc_html__( 'Topic Title Font', 'kadence' ),
|
||||
'default' => kadence()->default( 'sfwd-focus_title_font' ),
|
||||
'live_method' => array(
|
||||
array(
|
||||
'type' => 'css_typography',
|
||||
'selector' => '.sfwd-focus-title h1',
|
||||
'property' => 'font',
|
||||
'key' => 'typography',
|
||||
),
|
||||
),
|
||||
'context' => array(
|
||||
array(
|
||||
'setting' => 'sfwd-focus_title',
|
||||
'operator' => '=',
|
||||
'value' => true,
|
||||
),
|
||||
),
|
||||
'input_attrs' => array(
|
||||
'id' => 'sfwd-focus_title_font',
|
||||
'headingInherit' => true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Theme_Customizer::add_settings( $settings );
|
||||
|
||||
Reference in New Issue
Block a user