• Hallo;

    This question may have been asked before but I can’t find the answer if it has.

    When I create a child theme do I also need to copy over the plugins or do they remain with the original theme?

    If they remain with the original theme then aren’t the modifications I made to those plugins overwritten during upgrades?

    Thanks in advance for the response.

    Lode

    • This topic was modified 4 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Plugins are separate from themes. Changing your theme, when to some random theme or a child, has nothing to do with your plugins.

    If you’ve modified plugins, the modifications are not affected by channging themes unless the mods were to induce theme-specific behavior. Updating the plugins will blow away your changes.

    Themes are themes… Plugins are plugins… different animals.

    There are no child plugins capabilities… I wish there was but you can fork the GPL plugins and modify them as you see fit. A good change could be given to the plugin for possible inclusion in the later update.

    Else, if you modified a plugin, you’ll need to stop updating that plugin unless you want to always deal with adding your custom changes after each update.

    So, you might consider adding your changes to a fork of the plugin where that option is available.

    Sometimes the modified plugin code might work well as a function that could be added to your child theme’s functions PHP.

    Child themes are pretty cool.

    I use the Child Theme Generator or else the child theme configurator to create my child themes. Makes that task so easy and they usually work right out of the box.

    https://www.ads-software.com/plugins/child-theme-generator/

    https://www.ads-software.com/plugins/child-theme-configurator/

    From there you just add your changes to the child theme. You can then update the parent theme without breaking things.

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Thank you both for the quick answer. Much appreciated indeed.

    I do have my child-theme set up (that is actually not my problem). My problem as I stated are the plugins that I modified. Gathering from the responses I will have to keep track of those plugins to make sure I won’t update them.

    Not a very good solution but I guess that’s how it has to be; unfortunately!

    Again, much appreciate the answer given here.

    Lode

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child theme and plugins’ is closed to new replies.