DevKinsta is a FREE tool to develop the WordPress website on localhost. We are goiIntroduction It provides the way to design, develop, and deploy WordPress sites from the comfort of your local machine. DevKinsta is a free tool Installation To download the DevKinsta visit: https://kinsta.com/devkinsta/download/ Choose the DevKinsta for your MacOS or Windows operating system.
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
Grunt JS
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
Sublime Text 3 Keyboard Shortcuts Cheat Sheet 2020
We often use keyboard shortcuts while development. These shortcuts improve our productivity and save time a lot. In this cheat sheet, We are going to see all the available keyboard shortcuts in Sublime Text 3. Basically we use shortcuts CTRL + C to copy the text and CTRL + V to paste them. But, In
Browser Sync: Install and Use with NPM
Browser sync is one of the good tool to avoid manual browser refresh. We are going to see: Introduction Browsersync is a Node.js module. It provides a platform for fast network applications. It is a Time saving synchronized browser testing. In short, it creates a server like http://localhost:3000/ and watches the file changes. When our
Create and Release NPM Package
Most of us may aware of the hosting packages on the NPM repository. So, In this article, we are going to learn about how to create and release NPM package on https://www.npmjs.com/ I have created and host the package https://www.npmjs.com/package/hello-world-by-mahesh In this article, I’m going to share you how I have created this package and
Advertisement
Windows Environment Variables PATH
In this article we are going to see: Introduction The PATH is the system variable in the Windows Operating System. It contains the executables files path to run them from the command line or Terminal window. Note: Making changes to the system PATH variable is typically not necessary for computers running Windows or Mac OS
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
We are going to see In-Depth about the 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:
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
Display data in the table, JSON or CSV format with WP CLI Formatter
From the last few articles, we are familiar with the WP CLI command. In this article let’s learn about how to display custom data in the table, JSON or CSV format. Note: If you read some recent articles then you can skip some below steps that are related to plugin creation. Create Empty Plugin Create