function bonfire_stripe_footer() { ?>
class="bonfire-icon-menu-toolbar"> 'stripe-by-bonfire', 'theme_location' => 'stripe-by-bonfire' ) ); ?>
class="bonfire-icon-menu-toolbar"> post->ID; wp_reset_query(); ?> 'stripe-by-bonfire', 'menu' => get_post_meta($postid, 'stripe', true) )); ?>
Customize // add_action( 'customize_register', 'bonfire_stripe_customize_register' ); function bonfire_stripe_customize_register($wp_customize) { $colors = array(); $colors[] = array( 'slug'=>'bonfire_stripe_icon', 'default' => '', 'label' => __( 'Stripe icon', 'bonfire' ) ); $colors[] = array( 'slug'=>'bonfire_stripe_icon_hover', 'default' => '', 'label' => __( 'Stripe icon hover', 'bonfire' ) ); $colors[] = array( 'slug'=>'bonfire_stripe_text_label', 'default' => '', 'label' => __( 'Stripe text label', 'bonfire' ) ); $colors[] = array( 'slug'=>'bonfire_stripe_background', 'default' => '', 'label' => __( 'Stripe background', 'bonfire' ) ); $colors[] = array( 'slug'=>'bonfire_stripe_background_hover', 'default' => '', 'label' => __( 'Stripe background hover', 'bonfire' ) ); $colors[] = array( 'slug'=>'bonfire_stripe_divider', 'default' => '', 'label' => __( 'Stripe divider', 'bonfire' ) ); foreach($colors as $color) { $wp_customize->add_setting( $color['slug'], array( 'default' => $color['default'], 'type' => 'option', 'capability' => 'edit_theme_options' )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, $color['slug'], array( 'label' => $color['label'], 'section' => 'colors', 'settings' => $color['slug'] ))); } }