Adding ‘default’ should work. Did you try calling the colors and seeing if your filter is working?
If it’s not you could try adding a higher priority to your filter
add_filter( 'twentyfifteen_color_schemes', 'my_custom_color_schemes', 99 );
function my_custom_color_schemes( $schemes ) {
$schemes['default'] = array(
'label' => __( 'my new default color', 'twentyfifteen' ),
'colors' => array(
'#f8f7f4',
'#002244',
'#f8f7f4',
'#585552',
'#ffffff',
'#f8f7f4',
),
);
return $schemes;
}
Related Posts:
- Using the child theme functions.php to change the customizer.php on parent theme
- Where do I go to edit this area? [closed]
- get_template_directory_uri pointing to parent theme not child theme
- Adding a second email address to a completed order in WooCommerce [closed]
- Child theme – Overriding ‘require_once’ in functions.php
- Redeclare a function in a child theme
- How to override a function when isn’t at functions.php
- One Child Functions.php for Multiple Child Themes
- Removing custom background and header feature in child theme
- How to override function in functions.php of parent theme?
- override parent theme configuration in child functions.php
- syntax for remove_filter in parent theme with class
- Is it possible to override this function/class in a child theme?
- Overriding core functions in child theme
- Override parent theme function that is not hooked or in the functions.php file
- Function in Child Theme not overriding Parent Theme function [duplicate]
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- Child theme – copied some files from parent to child website still uses parent files
- Add inline css to theme
- Widgets Section not displaying in theme customizer
- add sidebar area to header of child theme
- Overriding methods in a child theme
- Should I ask a theme developer to use locate_template rather than require_once
- Child theme functions.php not executing
- Make “sidebar template” the default template for new pages
- override parent theme configuration in child functions.php
- wp_enqueue JavaScript in child-theme (ReferenceError) using Search & Go
- Overwrite Parent Theme add_image_size in Child Theme
- Twenty Eleven Child theme error when attempting to use a rewritten function
- Customizer field value into functions.php variable
- PHP files included in functions.php don’t seem to work
- Best practice when altering a parent theme function inside a child theme?
- How to make child theme inherit parent custom theme options [closed]
- How to remove set_post_thumbnail_size() in child themes?
- Creating a child theme – functions.php code issue
- Overwriting Parent Theme’s Image Sizes
- Child theme within a child theme?
- Twentyten Child Theme: header images display messed up in admin panel
- Add other social networks to TwentyNineteen_SVG_Icons class in child theme?
- Why is functions.php file in child not initializing and over-writing parent?
- Please Explain the Importing Process of Multiple Stylesheets for Child Themes
- Reuse variable in hook callback
- Add custom function to a theme with child theme’s functions.php
- Pagination in relation to archive.php
- How to load parent theme template parts in child theme
- Running script based on Category
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- Enqueuing latest version of jQuery into a child theme returns a blank screen
- Not all CSS elements transferring via parent to child?
- Dequeue script to prevent javascript event conflict on wordpress child theme
- Return child theme url
- Got white blank page after copying the functions.php to child theme
- How do I change a parent theme’s function through the child theme?
- Randomizing wp_tag_cloud() in child theme
- Add back in child theme what the parent theme removed with remove_action
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- Woocommerce image sizes missing from Appearance › Customize but not declared by theme
- How to include any template using Shortcode fuction?
- Parent theme styles overriding child theme CSS [closed]
- overwrite code snippet from parent to child theme
- Combine two active_callbacks into one on theme customizer
- WP Customizer API loaded into functions.php
- Different methods of adding menu support to custom theme
- How to remove admin footer text from inside child theme?
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- How to overwrite template.php file
- remove_action not working, even after changing priority [duplicate]
- Do we need to change our child function.php to require/include child dir files when we add an over-riding file.php into the child theme
- How to use parent theme functions in child theme functions.php file?
- Removing parent theme CSS without editing parent theme
- Child theme functions.php
- Need advice on theme customizer and child themes
- Change custom featured image size in twentythirteen child theme
- Theme Customizer – Custom Sections Display, but do Nothing
- Looking for Functions File that doesn’t Exist
- Include widget file in functions.php of child theme
- Astra theme – cannot set short product description under the product title (product name)
- how can I add filter in specfic field in my website?
- How to remove font awesome from loading in wp theme
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Add Javascript code to functions.php childtheme
- Widget is displayed in two places
- How to add javascript code into Divi child theme?
- Create New User Custom Field not Saving
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- uninstall a theme programmaticlly
- How do I integrate my Child Theme into a Custom Template?
- Getting back a blank WordPress site following functions code edit
- Adding a meta box fields to child theme options page
- Update add_image_size
- Load a Child Theme’s style.css just before the closing tag
- Can’t wrap my head around this function – any help would be appreciated
- Blank child theme – functions.php problem
- Override parent theme function that is not hooked or in the functions.php file
- Child Theme not working – CSS gone
- Why functions metaboxes is causing White Screen in Admin [closed]
- How do I make my child theme’s CSS update when I save it?
- How to fix enqueue_styles error for a twenty-seventeen childtheme
- post_row_actions filter from parent theme not executing in child theme
- Customizer cuistom CSS Priority ordre Issue