Thanks for watching! Would you be interested in more WP-CLI content?
@joietan79834 жыл бұрын
wow this is powerful, can this be used to activate and deactivate plugin at scheduled times ? for example updraft / wpallimport plugin only activated just when they are needed.
@BuntyWP4 жыл бұрын
Yes Yes Yes... I would like to have more on CLI. I also did some videos for CLI ☺. It would be great if you can check out my playlist.
@mpgilbertusa4 жыл бұрын
Yes, please. You’ve got my attention to learn more.
@n4870s4 жыл бұрын
@WPCasts do you know if it is possible to export a sample page/post containing lots of acf fields/flex content to a file and import it in all subsites of a multisite network with WpCLI?
@cholinkol4 жыл бұрын
Yes !
@andersa96554 жыл бұрын
I'd be very interested in more WP-CLI stuff
@BuntyWP4 жыл бұрын
WP-CLI is one of my fav. I also made some videos. You can checkout my playlist for that.
@vanessasnipe8114 жыл бұрын
SAME!
@christopherjschultz4 жыл бұрын
This is great. I would definitely be keen for more videos on WP CLI. Cheers!
@LongPeter3 жыл бұрын
Some more background info for command line novices would be great. Are you using SSH and installing WP CLI onto a remote server? Or installing it onto your local machine in something like Terminal then connecting to a remote server?
@VitoMariaCusumano4 жыл бұрын
Great idea, wp cli is an essential node in learning wordpress.
@tarasdashkevych Жыл бұрын
I would be interested to see more videos on this topic 👍
@PhiluxPhoto Жыл бұрын
This CLI seems super powerful. Thanks. I could use a super beginner introduction, "Hello World". I don't even understand where to install CLI, is it WP plugin ? Does it go on the hosting server ? What's the syntax ? What is curl ? Where do I open that CLI ? What are the prerequisites. Thanks !
@jasonetaylor2 жыл бұрын
Would love to see another video of more on wp-cli
@craftcards_nl4 жыл бұрын
I would love to see more about this topic
@BuntyWP4 жыл бұрын
I've been always fan of WP-CLI.
@ashleyredman4 жыл бұрын
More content on the cli would be sweet, I’ve recently switched to spinupWP for hosting and use the cli to auto activate wp maintenance mode when a git deploy is taking place, good stuff!
@natally39022 жыл бұрын
how can i manage existing wordpress through wp-cli? None of google resources say about that. Just about starting from scratch :)
@opinionatedako Жыл бұрын
how did you connect that to your live site??
@actualidadgratis52454 жыл бұрын
Awesome video! thank you for share your knowledge
@MrDefix4 жыл бұрын
Cool, keep going with wp cli! Also backup/restore or maybe automated backup with server cron job will be nice..
@dsimmons6794 жыл бұрын
Totally dug this! More Please! (I don't know what I don't know!)
@WPCasts4 жыл бұрын
You got it!
@afflictionmarketing53034 жыл бұрын
Sure, but even after this watching. I don't have any idea how to connect with my hostgator account??? Can you please help me.
@josuebarros-desenvolvedorw24903 жыл бұрын
Its sooooo amazing!!! Please keep it up with Bedrock/Sage content too please
@zkhan19953 жыл бұрын
which OS do you use?
@WPCasts3 жыл бұрын
I'm on OSX
@benonhisway6 ай бұрын
for an absolute noob - what is sudo and how do I find that password?
@johannes-euquerofalaralema43743 жыл бұрын
awesome! More, please ;)
@deividaskrupstas4 жыл бұрын
Yes please more! How to transfer database with CLI or the entire site.
@mjscpr4 жыл бұрын
Did you find a solution to this? I would wp db export, copy files via rsync and then wp db import, then wp search-replace the database to change URLs. That does work, but maybe there's a better way. I use wordmove for this purpose, instead of WP CLI.
@osherezra84604 жыл бұрын
Hey Alex great one again defiantly looking forward for more wp-cli. just one question how did you open a terminal connected to site ground without SSH? plus do I need to install wp-cli on Siteground its not that clear from the video. cheers in advance
@WPCasts4 жыл бұрын
The WP-CLI is pre-installed on Siteground. And here is an article on getting SSH access to your server: www.siteground.com/kb/how_to_log_in_to_my_shared_account_via_ssh_in_linux/
@osherezra84604 жыл бұрын
@@WPCasts Thanks Alex sorry fpr the late reply cheers I'l check it out :)
@DavidElstob734 жыл бұрын
Does this need a VPS as a minimum?
@joshuaberrios3 жыл бұрын
What IDE tool are you using in this video to execute WP CLI? Is it Visual Studio Code?
@tiaan_va2 жыл бұрын
He is clearly using terminal on his Mac
@joshuaberrios2 жыл бұрын
@@tiaan_va thanks for commenting. I cannot believe its been a year since this comment. I figured it out already during that time after I commented.
@oddocid97342 жыл бұрын
Awesomeee!
@KICKASS42724 жыл бұрын
Please do cover more
@fvgoya4 жыл бұрын
Like before watch.
@markanderson773 жыл бұрын
LOL. I can't even figure out how to curl a file!
@rangabharath42534 жыл бұрын
Awesome 👍😀
@roshananwar35993 жыл бұрын
when i try to move "sudo mv wp-cli.phar /usr/local/bin/wp" got error "-bash: sudo: command not found ". am using ssh using putty. and some thing is different from you, am using sitground shared hosting . Shell: /bin/bash PHP binary: /usr/local/php73/bin/php-cli PHP version: 7.3.26 php.ini used: /usr/local/php73/lib/php.ini WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli WP-CLI vendor dir: phar://wp-cli.phar/vendor WP_CLI phar path: /home/customer WP-CLI packages dir: WP-CLI global config: WP-CLI project config: WP-CLI version: 2.4.0
@hisnameisrick3 жыл бұрын
3:09 - nobody should be SSH'ing straight into a running container. Those are ephemeral. Asid from that, this is a great video.
@tagfat4 жыл бұрын
Woohooo! Global spelling-correction is now a thing!
@malatini_ytb3 жыл бұрын
I’m sorry it does not work.
@Uncaught_in_promise4 жыл бұрын
It would be great give some clues for Windows users. Not everyone in the world uses mac
@IanMarkind4 жыл бұрын
Try using Git Bash on Windows and then you can follow along
@TheMarouuu4 жыл бұрын
They will be soon enough. You should get onboard :)
@LaurenceBahiirwa4 жыл бұрын
Thanks for the vid. Did you add the CLI to a local computer or to server? How do you connect local to online? Would this be suitable for shared hosting?
For any devs working with "Local" from localwp.com you will need to right-click on the site name and select "Open Site Shell" in order to run certain commands like "wp plugin". Before using the "Open Site Shell" option I received an error saying "Error establishing a database connection". I hope this helps some of you.
@jasonetaylor2 жыл бұрын
Thank you for this!
@JonathanLoganClark2 жыл бұрын
@@jasonetaylor you’re welcome! I was scratching my head for a while before I figured it out.
@rawahapool Жыл бұрын
thanks
@hcjorgensen4 жыл бұрын
A suggestion for good use of wp-cli - generating fake content in a dev environment. I use this wp-cli extension: github.com/nlemoine/wp-cli-fixtures
@opinionatedako Жыл бұрын
This tutorial IS NOT COMPLETE... you didn't teach what you used to open that terminal... You did teach us to use Putty to open SSH