Revolution Slider Search Replace CLI
WP CLI Command to search replace the website URLs in the Revolution sliders
by Nikhil Chavan · github.com/nikschavan/revslider-search-replace
★ 14stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nikschavan/revslider-search-replace/archive/refs/heads/master.zipWP CLI Command to search replace the website URLs in the Revolution sliders
Installation
- Download the plugin zip file from Github.
- Upload the zip file to WordPress dashboard in Plugins -> Add new and activate the plugin.
Usage
OPTIONS
-
<id>ID of the slider, also takes "all" as option where it will search accross all the sliders -
<source-url>Source URL -
<destination-url>destination URL -
[
--network] Search Replace the strings in Revolution sliders throughout all the sites in multisite network
EXAMPLES
wp rsr 2 <source-url> <destination-url>
- This will search replace the strings in the slider with is "2"
wp rsr all <source-url> <destination-url>
- This will search replace the strings on all the sliders on the site
wp rsr all <source-url> <destination-url> --network- This command will will search replace the strings on all sliders accross all the sites in multisite network.