Yes, you can activate the child-theme dynamically. To do that follow the steps
- Move the unzipped child-theme to the themes folder
- Find the name of the child theme(I guess you already have that)
- Then Update the options table by
update_option('stylesheet', 'NAME OF THE CHILD THEME')
NOTE: You need to be sure that the active theme and child theme is compatible with each other.
Related Posts:
- wordpress on localhost lamp doesn’t let me install plugins
- Prompted for FTP details even with FS_DIRECT set to true
- What plugins do you commonly install on a fresh WordPress install?
- Overriding Plugin Template Files with Child Theme
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- How do I cleanly override a plugin’s CSS with a child theme?
- Combine multiple plugins into one?
- How to automatically install default WordPress plugins?
- Does plugin uninstall always put WordPress back into original state?
- What is the purpose of the “Hello Dolly” plugin?
- How to properly secure my WordPress installation?
- Function to activate WordPress theme inside a plugin
- WordPress plugin installation error
- Make plugin uninstalable on older versions of WordPress
- Please select a file error
- How do you auto-activate plugins from child themes
- Install plugin remotely
- What is $tab in `install_plugins_{$tab}` hook?
- Plugin to install a plugin
- How to load all plugins CSS after child theme CSS?
- Override the core function locate_template
- Distributing and packaging plugins
- How to override my plugin’s php classes with duplicates that are in my child theme folder
- Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin
- Getting a 404 when trying to load /wp-admin/plugin-install.php
- unzip a folder on specific location and delete the zip file
- Can’t use the built-in wordpress install/upgrade plugin feature [closed]
- Override plugin text domain in child theme
- How to edit Image layout in single product page in woocommerce on wordpress?
- How to check what plugins used to be on a WordPress installation?
- Error uploading plugin zip file
- What causes an Unexpected HTTP Error within install plugins?
- How does WordPress process plugin installations?
- CMB2 installation – cannot get it to work
- Reusable functions and tools (Framework)
- Loading child theme script after plugins scripts
- Theme and plugin install or update display error in localhost
- Override Javascript in a Plugin?
- Hook (or other way) to find out when another plugin is activated / installed
- Pushing out updates to multiple installs?
- Why does my functions.php cause white-screen and media-library issues?
- Installing a plugin on a premium site [closed]
- How to overwrite core/libraries/vendor template with child theme
- Buddypress – Add the post_id in the bp_activity_add function
- get 404 when accessing wp-admin/plugin-install.php
- Removing an action from wp_footer called in a class that’s inside a bigger class
- Create a multisite network for an existing installation
- How to show only next post pagination link using wp_link_pages()
- Theme/Plugin installation through url on button click
- Installing plugins and using complex folder structure with child theme in WordPress
- Why this function not working for install database on plugin activation
- Import sql data from a large file when installing plugin
- Redirect to another page using contact form 7? [closed]
- Overriding Parent Theme… will cause plugins failure?
- How to over-ride a file in a plugin? [closed]
- Get plugin download URL from slug
- Modify wp_installed_email / wp_new_blog_notification
- WordPress override archive page template using a plugin
- Installing wordpress on a subdomain of an already existing static website
- Child Themes and Updating Parent Theme
- plugin generated 751 characters of unexpected output during activation
- WordPress Plugins Don’t Automatically Update
- Can plugin2 uninstall plugin1 at the very beginning of plugin2’s installation?
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- To perform the requested action, WordPress needs to access your web > server
- WooCommerce: after install hook
- Managing wordpress Themes & plugins for multisite
- WordPress unable to write files in the server
- Set up functions to be overridden without using function_exists() by short-circuiting them?
- How to customize this theme? [closed]
- Installing plug ins on a wordpress hosted site
- Can’t Install/Upgrade Plugins Through WordPress
- Unable to install plugins
- Next Previous Post in wordpress with previous / next link with title?
- Trying to use shortcode for a plugin on custom homepage of Responsive theme
- Per theme plugins?
- Plugin Add New Installer failing
- Installing a Plugin ( Which is already manually uploaded )
- What possible reasons can cause my plugin not to be listed in the plugin search in the back-end of wordpress installs?
- How to Change MU/BuddyPress Group Blog New Installation Defaults [closed]
- No feedback when installing plugins or updating
- Why do I get this “peer’s certificate issuer not recognised” error when trying to install a theme?
- Using one-click plugin upgrade feature securely on suexec server
- Can I install plugins manually on WP.com? [closed]
- Google analytics not working on WordPress
- Loading Canvas & WooCommerce translation file in child theme
- WordPress – connection information
- How do I activate my child theme, as I do not see it in developer tools
- Plugin installation works only with FTP – how to debug?
- Can’t modify plugin function
- Scripts don’t enqueue after removing plugin
- automation of plugin installations
- Issue with customizer and widget page
- ACF prugin for WooCommerce Shop Page
- Any plugin installation and update overwrite current theme
- Plugin that supports the purchase and installation of other plugins?
- Allowing users to install a predefined bundle of plugins and themes with one action
- Bullet proofing a server with 150 WP insallations
- WordPress child theme widget customization – Eduma