I have parent theme that has some plugins in it, those plugins are added as a dependency.
You shouldn’t be bundling plugins in themes
In the child theme, I want to override some of the files that belong to those plugins, but it looks like that isn’t working.
Child themes let you override templates, these are not templates, and use require
/include
to load.
Is this possible at all?
No
Modifying plugins involves either forking them or extending them via actions and filters. As a result, replacing a plugin file in the way you propose is bad practice. Doing it via a child theme is even worse, but luckily that is not possible.
Use actions/hooks/filters instead
Related Posts:
- Override template file i subfolders
- how can I add an icon/image for a child theme?
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Child Theme vs Duplicate Theme Renamed
- Is it possible to manipulate the list of page templates?
- How to add Color Picker in Theme Options for the following?
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- How to edit bbPress template files – WordPress + BuddyPress + bbPress? [closed]
- Best practices – Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)
- Add colors to existing color palette without replacing it
- How do I get my child-theme to work with my theme’s includes folder?
- How do I get a parent theme modification from a child theme?
- CSS in child theme not overriding the parent theme [closed]
- Template Hierarchy for get_header()
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Nesting Functions within Functions
- Create a theme by combining a parent and a child theme
- De-registering parent style sheet css recommended?
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- How can a Theme Contain no Header File or Footer File?
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Any tag pagination page (except the 1st page) loads index.php template instead of tag.php
- Changing order title and featured image in blog post (Astra theme)
- how can I remove the sidebar from my wp homepage [closed]
- Unhook action from child theme
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- How to Edit the style of header title of Twenty Eleven Theme?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- WordPress Theme Development: How to redirect templates the right way?
- Cannot figure out how to overwrite files in child theme
- Simple way to get two language WP site
- Removing non native customizer settings from a child theme
- Link to a .po file in a child theme
- Alias to theme folder for local development
- Divi Child Theme not appearing in “Themes” [closed]
- What happens to child theme if I change to new version of parent theme?
- Injecting a custom sql query into a page/theme
- Single page site with history.js
- Child theme enqueue scripts using new functions
- Why is it needed to enqueue parent stylesheet in child theme?
- Show woocommerce categories on my theme menu styling
- Child Theme’s style.css not loading in mobile browser
- How to properly create a child theme
- Replace function in a child theme
- Can’t remove DIV from hooks in Storefront child theme [closed]
- Overrite parent functions using child functions
- Derive child theme from separate theme
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- Need help with adding templates (archives and sitemap) to WordPress child theme
- 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 create and populate with few links a menu in child theme functions.php?
- 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
- Taxonomy-$taxonomy-$term not working
- Overide enqueue in non plugable function via child theme
- Starting point for custom Themes [closed]
- Why still output /wp-content/themes/twentynineteen?
- Do I need to create a child theme for JointsWP
- Why is switching between themes breaking my child theme?
- Questions from a new WP Dev [closed]
- jQuery from parent theme loaded with many other scripts in a single min.js file
- Do I need to re-import Susy to work with it in a child theme? [closed]
- Where to put custom page templates in theme?
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- Translate a child theme with pure PHP and gettext
- Remove h1 from 2015 theme
- What might cause a featured image not to display?
- Add content after get_header
- Converting a theme to a child theme in a network
- Understrap-child conditional js script
- How can I access variables from theme in child theme? [closed]
- How to display home page last modified date in anywhere of wordpress theme?
- Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
- How to show metabox on page if it is using a template
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- How to test another theme in a live WordPress website instead of live preview?
- Duplicate child theme incl. design changes
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- which template should I use for single category post?
- How to connect two child themes on different sub domains to the same base theme
- Different templates for each category level
- Editing Them with Child Theme Basics [closed]
- How to customize the colors within a stylesheet using a WordPress setting
- Child theme in separate WordPress Install
- Hook in parent theme Menu function
- Protecting work on client’s web host
- How to migrate the menu from the site on my own theme in WordPress?
- Extending arrays in parent theme without completely overriding the files
- WordPress theme Modifications not showing up on live server
- add_action works outside condition but not inside it
- Global Navigation menu in diiferrent wordpress setups
- Should I create a child theme for a parent custom theme? [closed]
- Twenty sixteen – full height
- What’s your workflow for converting a static HTML website to WordPress? [closed]
- What is the point of using archive.php instead of index.php?