6 Years Complete in The WordPress

I got an achievement notification on my blog https://maheshwaghmare.com/. I have just completed the 6 years with WordPress. Note: This is a Quick Short Post.

Read More »

How to Fix the ERROR: the “PHPCompatibilityWP” coding standard is not installed.

How to Check PHPCompatibilityWP exist? #How to Check PHPCompatibilityWP exist? To check the PHPCompatibilityWP coding standard is installed on your system use command phpcs -i E.g. phpcs -i You can see the result like below: The installed coding standards are MySource, PEAR, PSR1, PSR12, PSR2, Squiz, Zend, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra and PHPCompatibility Maybe you

Read More »
New Launch maheshwaghmare.com
News
Mahesh Waghmare

Introducing the new maheshwaghmare.com

I’m pleased to announce the launch of my new website! After 5 years of casual blogging, I am excited to officially announce the launch on 11 November 2019. The new site launch is available and the URL is https://maheshwaghmare.com/ If you have a plan to start a blog? Then, Let’s it with WordPress.com as FREE.

Read More »
Dev Notes
Mahesh Waghmare

FIXED: PHP Unit test issue PHP Warning/Warning/Fatal error: Failed to open stream: No such file (mock-mailer.php) for windows

After setup the PHP unit test on your Windows operating system maybe you get below error: In file C:\Users\MaheshW\AppData\Local\Temp\wordpress-tests-lib\wp-tests-config.php line 7 has code: Here, ABSPATH return the invalid path. You can simply change the above code with below: NOTE: Here change the {USERNAME} with your own user name. To know the user name just open

Read More »
Code Snippets
Mahesh Waghmare

Show group by alphabet posts with shortcode using WP_Query

Create an array of posts group by alphabet with WP_Query. Use below to create the list of posts array with the group by alphabet. Note: I have used post type. You can change this post type with your own. Also, you can modify the WP_Query parameters. Now we can show the posts with the group

Read More »
Code Snippets
Mahesh Waghmare

How to capture website screenshot with CLI (Command Line Interface)

Introduction #Introduction Before writing about how to create a website screenshot of website with CLI command, I think, I need to share some background. Recently, I was working on some project in which I need to set 1000+ web page screenshots and resize them and set as a featured featured image for the post. In

Read More »
Dev Notes
Mahesh Waghmare

Auto translate WordPress theme and plugin strings with WP CLI

How to use? #How to use? Create fresh WordPress setup. Clone the plugin wp-i18n into your /wp-content/plugins/ directory. Import the database latest.sql with WP CLI commnd as below:wp db import latest.sql Now use below commands to translate any plugin/theme from wp.org. To translate the plugin use 2 WP CLI commands: Here, download_plugin_po & generate_plugin_po are

Read More »
Code Snippets
Mahesh Waghmare

How to add widget search into the WordPress Widgets page

Quick Preview To add the search follow below steps: Step 1: Add search input field in WordPress backend #Step 1: Add search input field in WordPress backend Open file /wp-admin/widgets.php Goto line 429 Press enter key and add below code: Step 2: Add CSS for the input field #Step 2: Add CSS for the input

Read More »

Quick download WordPress versions from wp.org

Quick Links #Quick Links Below are the quick download links of the latest WordPress release. Or Download OLD plugin release for reference. NOTE: Always use latest WordPress plugin release. Use OLD versions only for development purpose. 5.2 Branch #5.2 Branch Download the WordPress 5.2 version #Download the WordPress 5.2 version 5.2.1 May 21, 2019 zip(md5 | sha1)

Read More »
WordPress plugins page screenshot
News
Mahesh Waghmare

Now WordPress have 55 thousands of plugins

WordPress now have 55 thousands of plugins in plugin repository. We can browse the plugins by 4 categories: Block-Enabled Plugins See all Featured Plugins – See all Beta Plugins – See all Popular Plugins – See all

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