How to Show Admin Notice on Plugin Activation?

1. Add the code in the Notice Class like Below –

  2. Include the Notice class file in the Main class of the plugin and register the admin hook in the define_admin_hooks method –

3. Add the code in the Main plugin […]

Read more

Git Initialization in a Existing Project

Goto to Project directory through the command: 

Initialize git:

Make staging:

Commit :

Create a repository on Bitbucket and then connect the repository with your local project –

Check your repository source code on Bitbucket, your project code should […]

Read more

WPCS with Visual Studio Code After setting the WPCS well, if we want to format the code with shortcut key according to WordPress coding standard, we’ll need to follow the instruction below – Install the PHPCBF extension. Set the phpcbf executable path. Set the shortcut key. My user settings […]

Read more

After Installation of Visual Studio Code

Go to Preferences  → Settings and then paste code within {} brackets –


Read more

Change Custom Post Type Name Safely.

Just replace the second line’s post type names:


Read more

WordPress Developers (Must Have) Plugins

The following plugins are very useful to WordPress developers. These may help you to make a standard and error-free theme and plugin. Developer. Debug Bar Query Monitor. Theme Check. User Switching. Regenerate Thumbnails. Log Deprecated Notice. RTL Tester, RTL Tester Mirror. Monster Widget. PHP Compatibility. SG Optimizer. […]

Read more

Conditional Script Loading for Shotcode

In the functions.php file or in your plugin file write the code below –

Read more

How to Set a default Title for the custom post?

Now use the function

Read more

Gray Scale with CSS with Cross Bowser Support


Read more

How to a Add Custom Meta Box for Multiple Post Type

See: Stackexchange , Codex

Read more