Skip to content

Instantly share code, notes, and snippets.

@bkaminski
Last active September 29, 2017 02:56
Show Gist options
  • Save bkaminski/df44e8fd9a55a9f57a64d3c227fed19a to your computer and use it in GitHub Desktop.
Save bkaminski/df44e8fd9a55a9f57a64d3c227fed19a to your computer and use it in GitHub Desktop.
Bootstrap Carousel WP Theme Customizer Create Section
// ADD IMAGE, TEXT, and URL (Heading, Subtext, Link) TO FIRST IMAGE IN SEQUENCE -- WP THEME CUSTOMIZER
function theme_slug_home_img_slide_1( $wp_customize ) {
$wp_customize->add_section(
'home_slide_img_one',
array(
'title' => 'Home Image Slide 1',
'description' => 'This section updates all information pertaining to the first image in the slideshow on the home page',
'priority' => 1,
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment