Categories
Web Development

The Importance of Coding Standards for PHP: A Guide to Implementing PHPCS in VS Code for Linux, Mac, and Windows

The Significance of Coding Standards for PHP

When it comes to PHP development, adhering to coding standards is of utmost importance. Coding standards not only ensure consistency and readability but also contribute to the maintainability and scalability of your codebase. In this article, we will delve into the significance of coding standards for PHP and guide you on how to implement PHPCS (PHP CodeSniffer) in VS Code for Linux, Mac, and Windows.

Categories
How-tos WordPress

[How-to] Add new social icons to TwentyTwenty-theme

In this post I’ll show you how to add new social icons to the default 2020 theme for WordPress, TwentyTwenty. You need to hook into two filters:

  • twentytwenty_social_icons_map
  • twentytwenty_svg_icons_social

In this example I am using the “Steam” icon from FontAwesome.