Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
- Make sure your
Local by FlyWheelWordPress install is a custom install
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress @salcode | |
| # ver 20180808 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
| # to download this file | |
| # | |
| # By default all files are ignored. You'll need to whitelist | |
| # any mu-plugins, plugins, or themes you want to include in the repo. |
Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
Local by FlyWheel WordPress install is a custom install| @font-face { | |
| font-family: "Fura Code Mono"; | |
| font-style: normal; | |
| font-weight: normal; |
| on run {input, parameters} | |
| -- If run without input, open random file at $HOME | |
| try | |
| set filename to POSIX path of input | |
| on error | |
| set filename to "nvim-" & (do shell script "date +%F") & "__" & (random number from 1000 to 9999) & ".txt" | |
| end try | |
| -- Set your editor here | |
| set myEditor to "/usr/local/bin/nvim" | |
| -- Open the file and auto exit after done |
| <?php | |
| /** | |
| * Merge Tags as Dynamic Population Parameters | |
| * http://gravitywiz.com/dynamic-products-via-post-meta/ | |
| */ | |
| add_filter('gform_pre_render', 'gw_prepopluate_merge_tags'); | |
| function gw_prepopluate_merge_tags($form) { | |
| $filter_names = array(); | |
| wp theme install astra --activate | |
| wp plugin install pods --activate | |
| wp plugin install $HOME/stage/wp/plugs/licensed/elementor/elementor-pro-*.zip --activate | |
| wp plugin install $HOME/stage/wp/plugs/licensed/astra-addon-plugin-*.zip --activate | |
| wp brainstormforce license activate astra-addon <<repace-with-your-astra-pro-reg-code>> | |
| wp plugin install widget-importer-exporter --activate | |
| wp plugin install customizer-export-import --activate | |
| wp plugin update --all |
| @font-face { | |
| font-family: "Fura Code Nerd Font Complete Mono"; | |
| font-style: normal; | |
| font-weight: normal; |