How to Delete Hidden Files on Mac

Go to the directory –

To remove .git file –

Read more

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

Installation The easiest way to get started with PHP_CodeSniffer is to download the Phar files for each of the commands:

[/crayon] Composer If you use Composer, you can install PHP_CodeSniffer system-wide with the following command:

[/crayon] Make sure you have the composer bin dir in […]

Read more

Git Command

Go to the directory you want to initiate Git and then follow the commands: Initiate the git:

Remove Git if you have initiated in a wrong place ( Be aware if there is another git in the subdirectory):

To add all the files(including subdirectory) […]

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

Select Text on Click of a Div with CSS

Read more

How to Set a default Title for the custom post?

Now use the function

Read more