List of WordPress Sanitize functions or methods for DB query variables

When working with SQL database queries in WordPress, it’s essential to sanitize input data to prevent SQL injection vulnerabilities. WordPress provides several functions and methods for sanitizing database query variables. Here’s a list of commonly used ones: Using these sanitization functions and methods appropriately in your WordPress code ensures that input data is properly sanitized […]

Secure REST API endpoints in WordPress

Securing the WordPress REST API developer endpoint is crucial to prevent unauthorized access and potential security vulnerabilities. The developer endpoint in the WordPress REST API is typically used for debugging and development purposes, and it’s important to restrict access to it in a production environment. Here are some steps you can take to secure the […]

How to use chatbot more accurately and in depth specific details

Use chatbot more accurately and in depth specific details

The Ultimate Checklist for Hiring a WordPress Freelancer

When hiring a WordPress freelancer, it’s important to consider their skills, experience, portfolio, and references. Here’s a checklist to guide you through the process: Skills and Experience Portfolio and References By evaluating these aspects, you can make an informed decision when hiring a WordPress freelancer.

How to use the wp_footer WordPress hook to add a custom script or HTML?

Below are WordPress code examples to use wp_footer WordPress hook to add a custom script or HTML before closing of body tags. This function helps to call Google Analytics or any third-party code down below before closing the body tags. It is recommended to add these custom functions inside the child theme to avoid code […]

15 Must-Have Tools for Every WordPress Freelancer

In the dynamic world of freelance WordPress development, having the right set of tools can significantly enhance productivity and streamline workflows. As a WordPress freelancer, leveraging cutting-edge tools can help you stay ahead of the curve, deliver high-quality projects, and manage your business efficiently. In this comprehensive guide, we’ll explore 15 must-have tools for every […]

10 Essential Skills Every WordPress Freelancer Should Know

In the ever-evolving landscape of digital entrepreneurship, WordPress freelancers play a pivotal role in helping businesses establish and maintain their online presence. As a WordPress freelancer, mastering a diverse set of skills is crucial for success in this competitive field. Whether you’re a seasoned professional or just starting your freelancing journey, honing these ten essential […]

How to Install a specific angular-cli version for your project

Sometimes some projects require a specific angular version to work with other used project tools as mentioned in package.json, So follow the below steps to Install a specific angular-cli version. Remove currently installed angular Install specific angular-cli

WordPress PHP best practices for expert developers

For expert developers working with WordPress and PHP, following best practices is crucial for building secure, scalable, and maintainable code. Here are some recommended best practices: Use Child Themes When customizing a theme, create a child theme instead of modifying the original theme files. This ensures that your changes are not lost when the theme […]

WordPress comparison with other CMS

WordPress is considered the best CMS platform and website builder in the world. It supports 43% of all websites on the Internet. Here’s how it compares to other CMS platforms: Comparison to other CMS: Joomla Joomla! is another popular CMS. It provides a good balance between flexibility and usability. However, its learning curve is higher than that of WordPress.  Drupal: Drupal is known for its robust and flexible framework, making it ideal for […]

nvm is not working in the window?

I am working on multiple projects as usual and tried the normal solution to use node version manager via the command nvm ls to list available versions in the window nvm ls and then nvm use targeted version via using nvm use ***** nvm use 14.21.3 But this is not working as expected in the […]

How to use nodejs specific version

Many times due to project or required platform requirements we have to use a specific version of nodejs. Here you can find list of node versions https://nodejs.org/en/download/releases So below is an example where you can install and use a specific nodejs version One way is to use NVM, the Node Version Manager. Use the following […]

How to update npm packages to latest version

Here is way to update node/ angular/ react project’s npm packages to latest version automatically using npm command npm-check-updates is a utility that automatically update npm package.json with used package latest version of all dependencies see https://www.npmjs.org/package/npm-check-updates npm install -g npm-check-updatesncu -unpm install A slightly less intrusive (avoids a global install) way of doing this […]

How to add direct google local business review

I seen many Indian and Non Indian Google local business client some time looking for easy and quick way to write a review for google local business on Google Maps. So Here i am sharing a trick which  give google local business customers a single direct link that they can click on to jump them […]

How to upgrade/ update npm vesion

This is the new best way to upgrade npm on Windows. Follow below steps Go to Window Type Run PowerShell and open as Administrator First: Run command -> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Secondly: npm install -g npm-windows-upgrade and then npm-windows-upgrade Note: Do not run npm i -g npm. Instead use npm-windows-upgrade to update npm going forward. Also if […]

How to send pdf file attachment to user using contact form 7

Here is code to send pdf file attachment to user using contact form 7. 1076 is contact form 7 ID and tdsfile form field is having PDF url form local server (http://localhost:90/pidi/wp-content/uploads/2015/09/test.pdf) which i want to send as attachment.