How will i add an option under customizer the event calendar section?

While in the Customizer preview, right-click on The Events Calendar section and inspect it, you’ll get it’s id. As an example, if you right click on Site Identity section and inspect it, you’ll have at the beginning the following : <li id=”accordion-section-title_tagline”… So, the id IS ONLY title_tagline Hope this helps

Issue displaying customiser setting with get_theme_mod

The settings attribute you’re using for add_control() is expecting an array of all settings tied to the control while you’re passing a string. The attribute you want is the singular setting which is expecting the string value of the primary setting for the control. So try this: $wp_customize->add_control( ‘button_1_text’, array( ‘label’ => __( ‘Primary Button’, … Read more

What is the section ID (name) for “Menus” in the Customizer?

Customizer > Menus is a panel named nav_menus. Customizer > Menus > Menu Locations is a section inside the nav_menus panel called menu_locations. Each menu is added a little differently, but I believe they are sections inside the nav_menus panel whose ID is nav_menu[menu_id]’ where menu_id is the term_id of the menu. Customizer > Menus … Read more