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 »
Scroll to Top
%d bloggers like this: