Your child theme functions.php loads before the parent theme’s, so you’re trying to remove the action before it’s added by the parent theme.
Hook after_setup_theme to remove/add, which is executed after both child and parent load.
add_action( 'after_setup_theme', 'wpd_wp_head_function' );
function wpd_wp_head_function() {
remove_action( 'wp_head', 'woothemes_wp_head', 10 );
add_action( 'wp_head', 'woothemes_wp_head', 2 );
}
Related Posts:
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Add colors to existing color palette without replacing it
- Child Theme not loading parent CSS
- add_image_size is scaling, even though crop is set to true
- How do I get a parent theme modification from a child theme?
- CSS in child theme not overriding the parent theme [closed]
- Optimal solution to develop a wordpress theme?
- Should I update my _s theme?
- Create a theme by combining a parent and a child theme
- Override Constants in Child theme
- how can I remove the sidebar from my wp homepage [closed]
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- How to remove a file included in parent theme with locate_template() via child theme?
- Cannot figure out how to overwrite files in child theme
- How to add theme support?
- Override template file i subfolders
- Include Parent functions.php in Child Theme functions.php
- Why is it needed to enqueue parent stylesheet in child theme?
- Child Theme’s style.css not loading in mobile browser
- Renaming a theme so it aids SEO and the theme used is hidden
- Overrite parent functions using child functions
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- Create a child theme from multiple themes
- Starting point for custom Themes [closed]
- Simple child theme modification but links are broken
- Why still output /wp-content/themes/twentynineteen?
- Alignment Problem [closed]
- What $handle does WordPress use for a theme’s implicit style.css?
- LESS not working in WordPress [closed]
- Remove h1 from 2015 theme
- Converting a theme to a child theme in a network
- How to modify theme content in Thematic?
- Why front-page.php doesn’t show content of file instead shows loop
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How can I access variables from theme in child theme? [closed]
- How to display home page last modified date in anywhere of wordpress theme?
- What is an alternative to not using child theme to customize a WordPress theme?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Child theme menu not appearing in Twenty Seventeen
- How can I fix my theme header for my CSS stylesheet?
- How to test another theme in a live WordPress website instead of live preview?
- Update modified Shopify third-party theme [closed]
- how can I re-utilize and class on a child theme
- Providing updates to your WordPress theme
- How do child themes work?
- How to migrate the menu from the site on my own theme in WordPress?
- adding navigation to genesis themes
- Standard Way To Do Custom Work Within A Page?
- Image Size wrong during upload
- The proper way to include/require PHP files in WordPress
- How to insert a logo in the header?
- Why doesn’t default WordPress page view use force_balance_tags?
- Automatic Updates For Private And Commercial Themes?
- What can I hook into after_setup_theme?
- Setting a Default ‘Theme Location’ When Creating a Menu
- How to keep my custom theme changes after updating genesis child theme
- How to set page template on front using starter content?
- Different Admin Theme – Based on Role?
- Finding Page Template and Displaying Content
- How to correctly add JQuery in a WP theme?
- Child themes: disabling the parent
- how to change a theme slug
- Same theme name issue with wordpress repository theme
- Removing feeds from header using a function?
- Translation Issue with WordPress Theme Check in comment_form function
- Divi Child Theme not appearing in “Themes” [closed]
- WordPress theme switcher
- Limitations when modifying wp_title with a filter
- How to edit theme functions file to modify pagination?
- WP_bootstrap_Navwalker_issue [closed]
- Font Awesome 5 Free – far working but fas is not? [closed]
- add_filter to parent theme helper class function from child theme
- Is it acceptable for a WordPress theme to not accept widgets?
- theme style is applied on the dhasboard rather than the website
- Hestia Child theme creation
- StoreFront WordPress theme: How can i create a new Home page with Custom design same as template [closed]
- A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom
- Create theme for mobile phones and tablets only?
- Never actually adding the action? Or do I have to call the action?
- How to hide custom sidebar on mobile
- Theme Checker Text Domain
- Theme functions don’t work as expected in partial included via get_template_part() after custom query using Ajax [duplicate]
- How can I not disable my theme when I want to upload a new version of it?
- Are paginated comments required for publishing Themes?
- Is hand coding required at all?
- Creating a Sub Category Template
- Custom theme vs theme customization?
- How to figure out which wordpress theme a site was using?
- Incorrect search results in search.php – issue triggered by using `define(‘BodyID’, ‘search’); the_post();` in search.php
- Flexslider not working for my custom theme WordPress
- “No Data Received” error in Chrome every time i try to update the theme functions file
- How to close open divs in post loop
- Confused on loading page content
- Turning WordPress Into full-featured website?
- Why am I getting posts back when I shouldnt
- I’m new in developing responsive WordPress Theme, so which framework to use or work from scratch? [closed]
- Full site editing templates folder vs block-templates
- Export WordPress theme with modifications for other site