Skip to content

Instantly share code, notes, and snippets.

@danielmorell
Last active December 10, 2020 21:31
Show Gist options
  • Save danielmorell/4646c6ad205e127d169cd4cc076a5d77 to your computer and use it in GitHub Desktop.
Save danielmorell/4646c6ad205e127d169cd4cc076a5d77 to your computer and use it in GitHub Desktop.
Notable WordPress Resources

Notable WordPress Resources

The following is a list of resources that I have found helpful and want to keep track of for future reference.

  1. Installation
  2. Optimization
  3. Search

Installation

Via Commandline

1. Download latest version of WordPress

$ wget https://wordpress.org/latest.zip

2. Unzip archive

$ unzip latest.zip

3. Move files to current directory

$ mv ~/current-directory/wordpress/* ~/current-directory/

4. Remove unneeded files

$ rm -r wordpress
$ rm latest.zip

Optimization

1. Clear the PHP OPCache

$ php -r "opcache_reset();"

Search

  1. WordPress search query vars (WordPress Codex)
  2. How to Add an Advanced Search to Your WordPress Site (SitePoint Article)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment