• Resolved Sumon Hasan

    (@infodesignbd)


    What is the customizer section name? I want to add a field option under customizer The Event Calendar section. Or how will I add a field under The Event Calendar option? Can someone help me with that?

    This is my sample code

    $wp_customize->add_section( 'the_event_secction_name' , array(
            'title'    => __( 'My Section Name', 'starter' ),
            'priority' => 30
        ) );   
    
        $wp_customize->add_setting( 'starter_new_setting_name' , array(
            'default'   => '#000000',
            'transport' => 'refresh',
        ) );
    
        $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array(
            'label'    => __( 'Header Color', 'starter' ),
            'section'  => 'the_event_secction_name',
            'settings' => 'starter_new_setting_name',
        ) ) );
    • This topic was modified 5 years, 7 months ago by Sumon Hasan.
    • This topic was modified 5 years, 7 months ago by Sumon Hasan.
    • This topic was modified 5 years, 7 months ago by Sumon Hasan.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How will i add an customizer option under customizer the event calendar section?’ is closed to new replies.