function ds_footer_links_editor($wp_customize) {
// Using 'thrive' as the theme text domain
$wp_customize->add_panel('footer_links_option', array(
'priority' => 30,
'capability' => 'edit_theme_options',
'title' => __('Edit Footer Links', 'thrive'),
'description' => __('Customize the login of your website.', 'thrive'),
));
$wp_customize->add_section('ds_footer_links_section', array(
'priority' => 5,
'title' => __('Footer Links Editor', 'thrive'),
'panel' => 'footer_links_option',
));
// Before Link One
$wp_customize->add_setting('ds_footer_links_before_link_one', array(
'default' => 'Designed By',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_links_before_link_one', array(
'label' => __('Text Before First Link', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 5,
'settings' => 'ds_footer_links_before_link_one'
));
// Link One
$wp_customize->add_setting('ds_footer_links_link_one', array(
'default' => 'Elegant Themes',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_links_link_one', array(
'label' => __('First Link Text', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 10,
'settings' => 'ds_footer_links_link_one'
));
// Link One URL
$wp_customize->add_setting('ds_footer_link_one_url', array(
'default' => '#',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_link_one_url', array(
'label' => __('First Link URL', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 15,
'settings' => 'ds_footer_link_one_url'
));
// Before Link Two
$wp_customize->add_setting('ds_footer_links_before_link_two', array(
'default' => 'Powered By',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_links_before_link_two', array(
'label' => __('Text Before Second Link', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 20,
'settings' => 'ds_footer_links_before_link_two'
));
// Link Two
$wp_customize->add_setting('ds_footer_links_link_two', array(
'default' => 'WordPress',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_links_link_two', array(
'label' => __('Second Link Text', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 25,
'settings' => 'ds_footer_links_link_two'
));
// Link Two URL
$wp_customize->add_setting('ds_footer_link_two_url', array(
'default' => '###',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_link_two_url', array(
'label' => __('Second Link URL', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 30,
'settings' => 'ds_footer_link_two_url'
));
// Footer Divider
$wp_customize->add_setting('ds_footer_link_divider', array(
'default' => '|',
'type' => 'option',
'capability' => 'edit_theme_options',
));
$wp_customize->add_control('ds_footer_link_divider', array(
'label' => __('Footer Link Divider', 'thrive'),
'section' => 'ds_footer_links_section',
'type' => 'option',
'priority' => 35,
'settings' => 'ds_footer_link_divider'
));
}
add_action('customize_register', 'ds_footer_links_editor');
Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home1/thirdeye/public_html/thirdeyegroup.net/wp-includes/functions.php on line 6114
Deprecated: Creation of dynamic property ET_Bloom::$plugin_class_name is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 41
Deprecated: Creation of dynamic property ET_Bloom::$save_button_text is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 42
Deprecated: Creation of dynamic property ET_Bloom::$options_path is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 44
Deprecated: Creation of dynamic property ET_Bloom::$top_level_page is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 45
Deprecated: Creation of dynamic property ET_Bloom::$dashboard_options is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 48
Deprecated: Creation of dynamic property ET_Bloom::$dashboard_sections is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 93
Deprecated: Creation of dynamic property ET_Bloom::$assigned_options is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 94
Deprecated: Creation of dynamic property ET_Bloom::$provider_names is deprecated in /home1/thirdeye/public_html/thirdeyegroup.net/wp-content/plugins/bloom/dashboard/dashboard.php on line 95