In this blog you will learn about uploading a new approved plugin or updating an existing WordPress plugin on svn. 1. Adding New Plugin to WordPress Go to below link and upload your plugin :https://wordpress.org/plugins/developers/add/ Add read me file Screenshots Screenshots go in the /assets folderthe filename for screenshot should be screenshot-1.png, screenshot-2.png and the
Category: WordPress
WordPress
Slick Slider WordPress Without Plugin | Slick Carousel
Posted onIn this blog we will learn how to add a slick carousel in a WordPress Theme without using any plugins. There are couple of ways you can add a slick carousel in WordPress: Using slick-carousel npm package, or, Download required slick files. In this blog we will learn the second way, by downloading the slick files.
Add custom field to WordPress REST API
Posted onSometimes we may need to add custom fields to existing core WordPress REST API, which we may also need in the wp.data module for Custom Gutenberg Block development.In this blog we will learn about how to do just that. Add custom field to ‘user’ endpoint. We will use register_rest_field function and hook it to rest_api_init

Setup Tailwind CSS in a WordPress plugin or theme
Posted onIn this blog we will discuss how we will setup Tailwind css in a WordPress plugin or theme. Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override. If you would

Setting up Webpack and Babel for your WordPress theme
Posted onIn this blog, I will explain to you how to set up Webpack for your project. If you want to learn the basics of Webpack and why do we use it, you can watch the video below and then come back. You may already know that Webpack bundles all of your modules and dependencies into

Internationalization and Localization in WordPress
Posted onInternationalization is the process of developing your theme, so it can easily be translated into other languages. Internationalization is often abbreviated as i18n (because there are 18 letters between the letters i and n). Localization describes the subsequent process of translating an internationalized theme. Localization is abbreviated as l10n (because there are 10 letters between the l and the
Lazy Loading Images in WordPress
Posted onIn this blog, I am going tell you the quickest and easiest way to create lazy loading without using any libraries.We are just going to use simpleCSS and JavaScript The Concept We first add the lightweight image URL in the src and srset attributes, and the actual image URL and actual srcset into data-src and data-srcset respectively.On initial page load, on window resize, scroll and

Pagination for Custom Post types
Posted onCreating a simple pagination for custom post types

Date Functions and Formats
Posted ondate($format, $timestamp) is one of the most commonly used date and time functions available in PHP. It takes the desired output format for the

Using Templates in WordPress
Posted onIn themes: get_template_part( ‘slug-name’, ‘name’ );We should keep our templates inside template-parts directory.So lets say our template file is in: themes/theme-name/template-parts/home/home-my-template.phpTo include this template you will write ( for e.g. inside front-page.php ) For e.g. our template file is in: themes/theme-name/template-parts/home/my-template.php In Plugin, For e.g. our template file is in:plugins/plugin-name/templates/my-template.php If we want to pass