lakshyajeet

  • Introduction to WP-CLI

    As WordPress developers and administrators we know how crucial it is to manage our websites efficiently and effectively. While the WordPress admin dashboard offers a robust GUI for managing sites sometimes we need something more efficient, thats where WP-CLI comes in. What is WP-CLI? WP-CLI is a command-line tool that allows us to interact with…

    Read more…

  • WordPress REST API: Creating and Retrieving Posts

    WordPress provides a robust and interactive way to extend its core functionality by providing the REST API. It enables us to perform create, update, read and delete operations on posts and custom posts types. Registering Custom Routes Before we start to create and read posts first we need to register routes to access this functionality.In…

    Read more…

  • Working with WordPress REST API

    When building WordPress applications, one of the most powerful tools that we have at our disposal is the REST API. REST APIs (Representational State Transfer API) provide a structured way to interact with a WordPress site enabling us to retrieve, create, update, and delete data remotely. What is REST API? A REST API is a…

    Read more…

  • Debugging in WordPress with Xdebug

    When it comes to debugging a WordPress site pinpointing the problem in the codebase with multiple plugins can prove difficult, by Integrating XDebug in LocalWP we can very easily debug websites right inside VSCode. Setting up the Environment To get started we first need to set up the environment. First we need to have LocalWP…

    Read more…

  • WordPress Plugin Development Basics: VII

    Like everything else in WordPress even the settings page is very customizable, custom settings and options can be added by a plugin. Settings menu allows us to provide a custom interface where users can input and save various configuration options from the WordPress admin dashboard. Adding the Settings Menu A top level menu can be…

    Read more…

  • WordPress Plugin Development Basics: VI

    When building for WordPress, AJAX is a term which we hear very often, this blog shows how to implement a autocomplete search tailored to a custom post type meta box using WordPress AJAX. Registering the Custom Post Type Firstly, we need to define our custom post types to make query against. Here, we will use…

    Read more…

  • WordPress Plugin Development Basics: V

    As we have seen previously, WordPress is a great Content Management System. So far we have only covered the text side of the equation. wp.media is the main media management part of this. What is wp.media? wp.media is a JavaScript API provided by WordPress that gives us access to WordPress’s built-in media manager. It offers…

    Read more…

  • WordPress Plugin Development Basics: IV

    WordPress Meta boxes are one of the most useful ways to add custom data fields to our posts, pages, or custom post types. These fields, also known as “meta fields” allow us to store additional information which is not covered by WordPress’s default fields. What are meta boxes? Meta boxes are the UI Elements that…

    Read more…

  • WordPress Plugin Development Basics: III

    WordPress as we know it is a flexible and powerful platform, one of the key aspect that gives WordPress its dynamism is the ability to query data and display it. WP_Query is the thing that makes all of it possible. What is WP_Query? At its core, WP_Query is a class in WordPress that allows us…

    Read more…

  • Internationalization and Localization in WordPress

    In today’s world, reaching users in different countries and regions is essential for the success of any digital product. This, however can be achieved only when there are proper internationalization (i18n) and localization (l10n) mechanisms in place.These two concepts are often used interchangeably but offer very distinct purposes. Understanding Internationalization and Localization Before diving into…

    Read more…