Author: Mr Joshers

  • Simple Plugin for a Shortcode

    Simple Plugin for a Shortcode

    Creating a plugin in WordPress to handle your custom shortcode is a great way to keep your functionality separate from your theme. This means you can switch themes without losing the shortcode functionality. Here’s a step-by-step guide to creating a simple WordPress plugin for your shortcode: Step 1: Create the Plugin Folder and File First,…

  • WSL and WPCS in PHPStorm

    WSL and WPCS in PHPStorm

    To install the WordPress Coding Standards (WPCS) for PHP_CodeSniffer in PhpStorm when using Windows Subsystem for Linux (WSL), you’ll essentially be working through WSL for most of the setup.

  • ACF Repeater Fields

    ACF Repeater Fields

    Getting values from a repeater field in Advanced Custom Fields (ACF) is pretty straightforward. ACF repeater fields are super handy for creating sets of repeatable data, like a list of team members, event schedules, or image galleries.

  • // emoji

    // emoji

    // Go ahead, sprinkle some emoji magic in your comments. Because why not?

  • Mastering the Art of Centering 🎯

    Mastering the Art of Centering 🎯

    Whether you’re crafting your next masterpiece or tweaking an existing layout, centering a div is one of those fundamental skills that never seems to lose its relevance.

  • Upload to AWS s3 Bucket πŸͺ£

    Upload to AWS s3 Bucket πŸͺ£

    Ah, connecting to an S3 bucket using the AWS CLI is a pretty straightforward process, and it’s great for managing your files without needing to go through the AWS Management Console.

  • I just can’t quit you VIM

    I just can’t quit you VIM

    Editing a file in vim is a process that involves several steps, from opening the file to making changes and saving those changes. Here’s a casual walkthrough to get you started.

  • wp_kses_post

    wp_kses_post

    The wp_kses_post() function in WordPress allows through the HTML elements that are specified in the $allowedposttags global variable.

  • LoVe HAte πŸ‘Š

    LoVe HAte πŸ‘Š

    So, you’ve got these four CSS selectors, right? β€œLVHA” – sounds a bit like a secret code, doesn’t it?

  • The :has Pseudo-Attribute in CSS: A Fairy Tale with a Twist πŸ¦„

    The :has Pseudo-Attribute in CSS: A Fairy Tale with a Twist πŸ¦„

    Once upon a time in the mystical realm of web development, CSS wizards and sorcerers embarked on a quest to discover the mythical :has pseudo-attribute.