Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| <?php | |
| /** | |
| * ACF Relationship Shortcode for Astra (and any theme) | |
| * | |
| * Description: | |
| * This shortcode dynamically displays posts linked via an ACF Relationship field. | |
| * It’s designed to work inside Astra’s Site Builder single templates or anywhere | |
| * shortcodes are supported. | |
| * | |
| * Usage: |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| #!/bin/sh | |
| sudo apt update # Updating repo | |
| sudo apt install wget git zsh -y # installing zsh, git and wget | |
| chsh -s $(which zsh) # Make ZSH default shell | |
| zsh | |
| sudo wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
| sudo wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/templates/zshrc.zsh-template -O ~/.zshrc | |
| sudo apt install fonts-powerline | |
| # Install Plugins -> Add more if you want |
| version: '3' | |
| services: | |
| # Database | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: |
| ### FOR UBUNTU | |
| ### PHPCS | |
| composer global require "squizlabs/php_codesniffer=*" | |
| # Add to your .bash_profile | |
| export PATH=$PATH:~/.composer/vendor/bin | |
| #### WordPress Coding Standards | |
| composer global require "wp-coding-standards/wpcs" |