Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install wp-cli

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
Comment

Download wordpress from wp-cli

wp core download
Comment

wp cli plugin install

// --activate is optional
wp plugin install <PLUGIN-SLUG> --activate
Comment

install wp from wp-cli

wp core install --url=yourwebsite.com --title="Your Blog Title" --admin_name=wordpress_admin --admin_password=4Long&Strong1 --admin_email=you@example.com
Comment

WP CLI

$ wp transient delete --all
Success: 34 transients deleted from the database.
Comment

WP CLI

$ wp plugin install user-switching --activate
Installing User Switching (1.0.9)
Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Activating 'user-switching'...
Plugin 'user-switching' activated.
Success: Installed 1 of 1 plugins.
Comment

PREVIOUS NEXT
Code Example
Shell :: scan port linux 
Shell :: download wine for ubuntu 
Shell :: how to store a 6 digit number as 6 separate integers 
Shell :: how to prevent idle ubuntu suspending 
Shell :: find a file linux 
Shell :: sudo command without giving password 
Shell :: how to find maven home in linux 
Shell :: GIT Error refname refs/heads/master not found 
Shell :: install october cms on windows 
Shell :: kill screen 
Shell :: linux get date yyyymmdd 
Shell :: how to uninstall apps without admin password 
Shell :: tail access_log 
Shell :: cmd stop process on port 
Shell :: recursively remove files with extension linux 
Shell :: clone project from specific branch 
Shell :: how to open boot config raspberry pi command propt 
Shell :: git reset head 2 commits 
Shell :: remove staged files git 
Shell :: powershell execution policy bypass 
Shell :: how to transfer a folder from ubuntu to ubuntu 
Shell :: pocketsphinx 
Shell :: create folder shortcut on desktop ubuntu 
Shell :: find which process is using port mac 
Shell :: ubuntu rename user login 
Shell :: snap install chrome 
Shell :: how to install gitkraken on fedora 
Shell :: install pydotplus by pip ubuntu 
Shell :: git stash apply item 
Shell :: remove all docker containers 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =