The section
you created 'Social Media Icons'
doesn’t show because is empty it doesn’t have any control, this is because you didn’t set the correct ID
in the control arguments, it should be like this in socialcustomizersection.php
:
// control
$wp_customize->add_control( $social_site, array(
'type' => 'url',
'label' => $label,
'section' => 'ct_alter_social_array_filter', //it should be the ID you Set for the section
'priority' => $priority
) );
also in footer.php
you are loading outputicons.php
and that only contains a function, you need to call the function
, put this after the require_once
on the footer.php
or at the end of outputicons.php
:
my_social_icons_output();
the section will show, i added 2 here for testing the output:
Related Posts:
- Repeater field in Customizer
- How to upload multiple images with WP_Customize_Media_Control
- Is there any way to add placeholder for WordPress Customizer text input fields
- How WP_Customize_Background_Image_Control is supposed to work?
- How to print the value of a custom control in the Customizer?
- Customizer JS API dynamically add sections and controls
- Get all registered wp theme customizer sections?
- get_theme_mod doesn’t return the theme customizer preview’s new values in after_setup_theme hook
- How to mix partial and full page refresh in the same section of the customizer?
- Conditional Logic to Check for Site Icon
- How do I check if user input in a field in the customizer is a number?
- How to access the nav_menus panel with the customizer api?
- How do I conditionally enqueue stylesheets or scripts in theme customizer settings?
- Is it possible to conditionally displaying and hiding of customizer controls for each device preview?
- Add or remove HTML class with selective refresh?
- How do I use add_control to offer a list of all pages in the customiser?
- How to add theme customizer control to specific page?
- Section Name for Menu in Theme Customizer
- Is it still possible to nest panels within panels within the customizer?
- Get_theme_mod not retrieving value
- What is the difference between sanitize_text_field() and wp_filter_nohtml_kses()?
- How to move Menus customizer section directly under Site Identity?
- Make Customizer Load Specific Page
- Removing http:// from esc url() for wordpress customizer code
- Send data from Customizer Settings to Customizer Preview with settingless control
- How to use rgba color from theme customizer color picker
- WP Customizer JS Template not saving color field
- Hide Text when check box option is ticked in customizer?
- site identity section name?
- WordPress code editor VS customizer “built-in CSS editor”?
- How do i remove the ‘WooCommerce’ section from Customizer in Twenty Sixteen Theme?
- Customizer options
- How to suppress anchor tag click redirection in customizer preview frame?
- Is there any function that would allow me to register custom stylesheets for the Customizer itself?
- How do i add edit shortcut icon in wordpress without using selective refresh
- Hide or remove the Remove button in WP_Customize_Image_Control
- Dynamic IDs in WordPress Customizer value bindings
- What is the name of the setting in the customizer for ‘Display Site Title and Tagline’ checkbox?
- Theme Customizer – Hide / grey out settings based on other setting
- HTML output via Theme Customizer is not working
- How to get customizer to refresh when using radio buttons control
- adding checkbox to theme customizer
- Customizer notifications for disabled and hidden controls
- How to filter customize_loaded_components from a theme?
- Theme Customizer – Text without a setting (a comment or tag)
- Why is action customize_register being done twice?
- Does theme customizer need theme-customizer.js?
- customizer options not showing
- Customizer’s “Imported Fonts” – How To Use Them?
- Save customizer setting to post meta
- JS event similar to render-partials-response in wordpress customiser selective refresh when the request is initialised?
- WordPress Customizer checkbox default not working
- Insert content between sections in WP customizer
- Add items dynamically via Customizer [duplicate]
- Add customiser controls directly to a panel
- How to make customizer settings appear only when image is uploaded?
- get_theme_mod only returns false
- Get Image Width From WP_Customize_Image_Control() File Set in WP Theme Customizer
- How to localize something coming from theme customizer
- My background color customizer doesnt work
- Initials of email looks strange on WordPress Website
- Customizer section gone after adding second
- Show/hide section in theme customizer based on selection from another section
- Sidebar visibility in {WordPress template Hyerarchy, Newspaper Theme, TagDiv Composer}
- How to create a tooltip behind a customizer setting label?
- Add Customize posts edit links to selectively refreshed partials [closed]
- Amend description of menu location in customizer WordPress
- Hooks to watch customizer value change
- How to use variable from customizer.php in customizer.js
- Output values from Customizer isn’t working
- Customizer.js changes not being recognized
- What is the id for the widgets section of the WordPress theme customizer?
- No option to select home page in theme customizer
- WP_Filesystem in custom customize control
- WP 3.8 theme customizer error
- Adding custom link with get parameter to a menu button
- Want to permanently remove pagination number page/2/ in WordPress
- How to get a custom field in theme customizer to live update the element in preview window?
- How to make a block for header font styling at customizer via function.php?
- Theme Customization with WP CLI
- Customizer – binding jQuery created controls
- @font-face in Customize Control
- customizer not working when ever i activate ssl
- how to sanitize customizer checkbox control
- Adding Custom Image To Header Via New Customizer Setting
- Is it possible to ad custom block areas through Customizer that would allow adding Gutenberg blocks?
- Creating default object from empty value in wp_customize?
- Fetch customizer image and output as an inline css style background image
- Why is my custom WordPress Customizer section disappearing after about a second?
- Manipulating customizer panels and fields?
- Customizer partial refresh issue with custom option
- Issues Saving Long String Option
- Theme Customizer: issue with default checkbox values
- Use the customiser to set the background-image of a div
- Stop refresh event in customizer
- Problem with customizer setting with $id containing ‘widget’
- Default Customizer Code
- default custom background image not saved in database when creating a new site
- My stylesheet doesn’t appear in theme-editor
- How to display specific title on Customizer?