News
Mahesh Waghmare

Finally plugin Sample Data approved!

You can now download the Theme Unit Test for testing your theme or import the WooCommerce, bbPress plugin sample data with simple ONE click using WordPress plugin Sample Data. Note: Use Sample Data plugin on your testing/staging environment. Quick Start: #Quick Start: Follow below simple steps to import the dummy content: Install & Activate plugin. Click on Get Started » from plugin/theme. It

Read More »

Importing Theme Unit Test Data

Importing Theme Unit Test Data in WordPress with one click.

Read More »
Code Snippets
Mahesh Waghmare

Importing bbPress dummy data

Import the bbPress sample data with one click.

Read More »
News
Mahesh Waghmare

Envato Elements – Template Kits (Beta)

Envato released the plugin Envato Elements – Template Kits (Beta) plugin to import the templates. It supports now for Elementor & Beaver Builder page builder. Plugin URL: https://wordpress.org/plugins/envato-elements/

Read More »

How to find broken links of website using command line interface (CLI) (Using wget)

Check the broken links on website using. Try below example command which generate the wget.log it list all the broken links. Download & Install wget Add the installation directory to PATH: C:\Program Files (x86)\GnuWin32\bin Syntax: #Syntax: wget -o wget.log -r -l 10 –spider http://example.com Usage: #Usage: wget -o wget.log -r -l 10 –spider https://maheshwaghmare.wordpress.com –no-check-certificate Output: #Output:

Read More »
Code Snippets
Mahesh Waghmare

Check which template loading in WordPress site

Below is the simple function which you can use for debugging the site. It  display the template file path of the current page. Like below image: Add below code snippet into your themes functions.php file.

Read More »

WordPress Rest API query parameters mappings

This array defines mappings between public API query parameters whose values are accepted as-passed, and their internal WP_Query parameter name equivalents (some are the same). Only values which are also present in registered will be set. Below is the list of all the endpoints which have query parameters mapping: wp/v2/comments wp/v2/<post-type> wp/v2/<taxonomy> wp/v2/<term> wp/v2/<users> Check below

Read More »

Update PHP Codesniffer (PHPCS), WordPress Coding Standards (WPCS), PHP Compatibility (WIMG)

Update PHP Codesniffer (PHPCS), WordPress Coding Standards (WPCS), PHP Compatibility (WIMG) Copy below individual or all command(s) to get latest update. composer global require squizlabs/php_codesniffer composer global require wp-coding-standards/wpcs composer global require phpcompatibility/php-compatibility composer global require dealerdirect/phpcodesniffer-composer-installer phpcbf phpcs Update: 26 – March 2019 Getting notice Package wimg/php-compatibility is abandoned, you should avoid using it. Use

Read More »

WordPress Rest API Get specific posts by IDs by using `include` parameter

With the Rest API we get all the posts. But, Sometimes we want to get only specific posts by post ids. WordPress have rest API parameter include which return only requested posts by post ids. Syntax: https://example.org/wp-json/wp/v2/posts?include=<post-ids> Example 1: https://example.org/wp-json/wp/v2/posts?include=11,12 It return only 2 posts whose ids are 11 & 12. Note: By default it return

Read More »

WP CLI Commands Cheat Sheet (Complete List of WP CLI Commands)

WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installs and much more, without using a web browser. Below is the complete list of WP CLI commands generated with WP CLI Commands Cheat Sheet (Complete List of WP CLI Commands) Cache wp cache add Docs | Git wp cache decr Docs | Git

Read More »
Scroll to Top
%d bloggers like this: