Set up WordPress Code Standards on Visual Studio Code on macOS

atom-codesniffer-wpcs

Here is a guide on how to get WordPress code standards using  PHPCodesniffer on Visual Studio Code text editor using the WordPress code standards, this will be done via adding PHPCodesniffer via Composer, you can also add PHPCodesniffer via Pear or Homebrew, I used to have it running via Pear but have found it to be not as reliable…

Read More

Set Up LMD Maldet and ClamAV on ServerPilot and VULTR

malware-lmd-clamav-serverpilot-vultr

Set up a malware scanner with LMD Maldet and ClamAV on ServerPilot and an instance like Vultr or Digital Ocean. One of the key server malware scanners is Linux Malware Detect and works very nicely scanning any Linux distribution, it keeps an updated database of known malware exploits from an updated registry. The Linux Malware Detect tool can also integrate…

Read More

Automatically Update Your WordPress Plugins and Themes and Translations

auto-plugins-wordpress-updates

WordPress allows you to automatically update your WordPress plugins and themes and translations by adding some PHP constants and filters to your WordPress installation. Constants are best off added in /wp-config.php and filters are preferred to be used in a wp-content/mu-plugins/ plugin, to create a mu-plugin is easy for example just create a updates.php file with the…

Read More

Remove Unused Image Media Sizes In Your WordPress Theme

wordpress-media-library-sizes

Keeping your WordPress image media library under control can mean a big difference to your site loading faster as well as your hard disk size footprint with the ability to easily back up or migrate your site. You basically need to remove any unused image sizes and images themselves not used, optimise existing image sizes and ensure future…

Read More

Using ‘Local by FlyWheel’ as a Local Development Workflow for WordPress

Local by FlyWheel (previously known as Pressmatic) is a new WordPress local development solution which uses Docker container technology and VirtualMachines, the app takes care of all the installation and configuration of everything you need and can effortlessly spin up multiple WordPress sites with different configurations for PHP and web server as well as include SSL certs…

Read More