Advertisement

Grunt Bump Up

Introduction What is the version bump? When we build any package release then we set up the Install NPM Packages Install npm package grunt-bumpup To install the NPM package use below command: Output of the above command is looks like this: D:\xampp\htdocs\dev.test\wp-content\plugins\astra-sites (dev) (Astra Sites@2.0.0) λ npm i grunt-bumpup npm notice created a lockfile as

WordPress 5.5 – Release, Features, and more..

WordPress 5.5 Release comes with amazing features including Auto-update, Sitemaps, Lazy-loading images, block directory, and more… We are going to see: Release WordPress 5.5 version release date is scheduled on 11 August 2020. Features Auto-update Security is one of the major concern for any website. WordPress Theme and Plugin developers constantly releasing updated which are

Create a Gutenberg Block

In this article you are going to see how to create Gutenberg block. You are going to learn: Overview This article is one of the parts of the series Gutenberg Development: Beginner to Advanced. I am explaining all the details for considering the article for beginner developers. After reading this article you can easily understand

Advertisement

Gutenberg Development: Beginner to Advanced

Gutenberg is merged into WordPress core from 5.0. Gutenberg is not limited for the Editor. Gutenberg is now using outside the editor. Below are some places in WordPress which are build with Gutenberg. The Customizer The Widgets screen The Menu screen The Gutenberg development phase 2 has some important improvements which include Global Styles, Block

Advertisement

Use the WP_Query in WP CLI command

In this article let’s learn about how to execute the WP_Query into the WP CLI commands. Note: If you read some recent articles then you can skip some below steps that are related to plugin creation. Register WP CLI Command Register PHP class WordPress_Examples_WP_CLI e.g. if ( ! class_exists( ‘WordPress_Examples_WP_CLI’ ) && class_exists( ‘WP_CLI_Command’ )

In-depth of WordPress plugin init file

Init File Structure Below is the structure of the example plugin’s init file. <?php /** * Plugin Name: ______________ * Plugin URI: ______________ * Description: ______________ * Author: ______________ * Author URI: ______________ * Version: ______________ * Text Domain: ______________ * Domain Path: ______________ * Network: ______________ * Requires at least: ______________ * Requires PHP:

Using WP_CLI::confirm() with an associate argument in WP CLI

In this article we are going to learn about WP_CLI::confirm() with associate argument. Note: If you read some recent articles then you can skip some below steps that are related to plugin creation. Register WP CLI Command Register PHP class WordPress_Examples_WP_CLI e.g. if ( ! class_exists( ‘WordPress_Examples_WP_CLI’ ) && class_exists( ‘WP_CLI_Command’ ) ) : class

Advertisement

How to use WP_CLI::confirm() in WP CLI

In this article let’s learn about WP_CLI::confirm() function. Note: If you read some recent articles then you can skip some below steps that are related to plugin creation. Create Empty Plugin Create a new folder wordpress-examples into plugins directory /wp-content/plugins/ Create a file wordpress-examples.php and add the below code into it. <?php /** Plugin Name:

Executing WP CLI commands inside WP CLI command with WP_CLI::runcommand()

In this article let’s learn about how to execute another WP CLI commands. Note: If you read some recent articles then you can skip some below steps that are related to plugin creation. Create Empty Plugin Create a new folder wordpress-examples into plugins directory /wp-content/plugins/ Create a file wordpress-examples.php and add the below code into