This should remove the warning
$selector = get_theme_support( 'genesis-style-selector' );
$wp_customize->add_control(
'genesis_color_scheme',
array(
'label' => __( 'Select Color Style', 'genesis'),
'section' => 'genesis_color_scheme',
'settings' => $this->get_field_name( 'style_selection' ),
'type' => 'select',
'choices' => array_merge(
array( '' => __( 'Default', 'genesis' ) ),
array_shift( $selector )
),
)
);
Related Posts:
- How to add code just below opening body tag in Genesis framework
- Adding ads after a certain number of paragraphs within Genesis themework
- How do I turn a 404 page into an automatic search with the info from the url?
- WordPress Hide Show Content script and activate/deactivate script on screensize
- Genesis menu position change
- Is it possible to roll back to a previous customization of Genesis?
- How can I eliminate the inline styles included by default with the Genesis framewrok?
- Portfolio-template won’t show items
- Move Archive Title to Entry Title – Genesis
- Modify Genesis Custom Header CSS
- How to remove the Navigation Bar (prim. and sec.) from the Homepage for the Genesis Framework?
- Notice: Undefined variable: thumbnail [closed]
- Issue echoing the site’s title in Genesis child theme
- Passing a Variable to a Function Hooked to Genesis Entry Content
- Genesis loading of html5shiv for IE8
- Multiple loops in Genesis
- How to enable full column width in Genesis layout options
- Genesis framework : how to display the primary sidebar manually?
- How to create and set a separate template file for articles in Genesis framework? (WordPress)
- genesis grid loop only showing one column
- Plugin for user comments, star ratings, badge, activity
- Insert custom metatag in all the internal pages of the site, less in the homepage
- Cropping a thumbnail with a Genesis child theme
- Genesis themes: how do alter the markup of post meta on archive pages? [closed]
- Getting Genesis Entry Headers Back on Post Tiltes
- Genesis page template with Powerpress
- New Genesis child theme or revise current Genesis child theme [closed]
- How to change title “Search Results for:….” in search results page of genesis?
- How to display post title on top of image with Genesis Featured Posts
- How to create a page template that display posts with a certain category in the Genesis Framework?
- Display current category title on category page
- Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?
- Change Genesis Tag from Page Template [closed]
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- How to remove an action added by a child theme of Genesis
- Exclude a category from the filed under list
- Display a default image for custom-logo
- Editing or filtering the output of the Genesis navigation
- StudioPress: add meta tag to every page [closed]
- How to add specific menu on a specific page or pages
- htaccess: Remove trailing slash from URL ending with .xml/ only
- Second nav is merged with the first in mobile
- Pagination difficulty using custom query in genesis-based custom theme
- How to modify a title tag in genesis?
- Show featured image next to post-teasers in Genesis Framework?
- PHP loop that selects posts with a particular in-post option
- Custom Post Type Loop throws 500 error when used in widget
- add_action and remove_action if custom field exists
- Back to the basics: What’s so great about a framework?
- Display posts from a different website on Genesis Responsive Slider
- wp_enqueue_scripts leads to error
- WP – Genesis – How to get the content of a widget in php? [closed]
- Adding function to Genesis genesis_header [closed]
- Posting comment returns 404
- Conditional menu for registerd users/guests (Genesis framework)
- Optimise page loading time faster on Genesis child theme [closed]
- Turn off “This is the Primary Sidebar Widget Area” message
- Custom Post Types Archives and Single Pages not showing custom taxonomy data
- Custom Post Type on Homepage – Studiopress Genesis Framework
- get_next_posts_link() returns no result despite available posts
- Query to get child pages of current page and display it in action hook
- Remove genesis_404 hook from genesis_loop [closed]
- wp_query on page template not working (Genesis framework)
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- How to change the standard navigation menu color when using genesis [closed]
- How to create a non-responsive WordPress Theme Using Genesis Framework?
- Responsive menu on genesis theme [closed]
- What file is the tag located in Genesis default theme?
- Hard-coding a shortcode as the last menu item in primary navigation?
- links to Media Library content in sidebar per page
- changing genesis_before_while in new theme framework
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- Using mu-plugins on the Genesis Framework
- Crazy redirect happening with no redirects set up
- How does a Genesis child theme understand that the Genesis theme is the parent theme?
- I would like to have a quote page just to show quotes
- author.php not showing content if Author has no Posts
- remove_action(‘genesis_header’,’genesis_do_header’) hook not working
- How do I add footer widgets to the StudioPress Monochrome Pro theme?
- How to use regular page template for search results?
- Clone a Post Tite and Custom Field into Custom Post type
- 404 Pagination issue for only one category
- Add an ‘edit profile’ page with Genesis
- Different read-more link for each custom post type [closed]
- How can I hide my section title if there is no data in custom fields?
- How to get children/attachments in header?
- Custom Category Page Not Working [duplicate]
- WordPress URL Problems and Layout
- adding navigation to genesis themes
- Getting rid of the blog page entirely
- query posts returns 10 records
- Why is my hamburger menu not shown? [closed]
- Return 404 for /search/ queries – For Genesis
- Display Featured Image
- How to display custom message for (Genesis) featured posts if no posts
- Query posts by Custom Meta (checkbox) & Genesis Grid Loop
- How to add a widget area between blog posts in Genesis Framework?
- Adding a new layout for genesis
- I’m new in developing responsive WordPress Theme, so which framework to use or work from scratch? [closed]
- Can anyone help me with replace genesis post excerpt with yoast meta description and if there is no meta description show the excerpt?