How to Exclude Custom Post Type From Search

| Last Updated: | In: WordPress Snippets


This is very helpful code snippets to exclude the custom posts from WordPress search algorithm. If you are using custom post types on your WordPress sites and don’t want to display that post in your search results, then use the below code. Exclude a custom post type from search Copy the below code and add …

How to Move WordPress Website From HTTP to HTTPS

| Last Updated: | In: WordPress Snippets


Hello friends, hope you are doing good! Today, I am going to share a very useful tutorial how to move WordPress website from http to https. Google has recently launched a new version of Chrome browser with some new features including the website security notification. After this release, if your website has not installed the …

How to Disable RSS Feed on WordPress Website

| Last Updated: | In: Code Snippets, WordPress Snippets


Someone has asked me a question “How to Disable RSS Feed on WordPress website” so that anyone can’t see the RSS feed of the site. Instead of RSS feed, he wants to display the custom message “No feed available, please visit the “http://www.domain-name.com”. How to Disable RSS Feed on WordPress Website Open your functions.php file …

Use Safely Redirect URLs in WordPress

| Last Updated: | In: WordPress Snippets


In this tutorial, I will explain how to use safely redirect URLs in WordPress. The wp_safe_redirect() function does not exit automatically, if you are using this function in your code, then you should always used the exit(). See the below example: Use Safely Redirect URLs in WordPress You can use the below code in your …

How to Remove Width and Height Attributes From Images in WordPress

| Last Updated: | In: Code Snippets, WordPress Snippets


In this tutorial, I will explain how to remove width and height attributes from inserted images in WordPress posts and pages. The images uploaded through the WordPress media uploader and inserted in your posts or pages it automatically added the width and height attributes in your image. How to Remove Width and Height Attributes From …

WooCommerce Remove My Account menu from Dashboard

| Last Updated: | In: WordPress Snippets


Sometimes we need to customize my account menu on the dashboard in WooCommerce. In this tutorial, I will share a simple WordPress filters which allow you to remove the unused menus from the dashboard as per your requirement. See the below screenshot before applying the filters. How to WooCommerce Remove My Account menu from Dashboard …

How to Disable Search Feature in WordPress

| Last Updated: | In: WordPress Snippets


Are you developing a WordPress website in which you don’t want to have the search features or don’t want to allow your website visitor’s to search anything on your website, then this tutorial is designed for you, keep your close attention in this post as I am going to share how to disable search features …

Change the Default Gravatar in WordPress

| Last Updated: | In: WordPress Snippets


By default, WordPress comes with some basic default user avatar is named “Mystery Person”. In this tutorial, I will explain how to change the default gravatar in WordPress. If you want to add your brand to default user gravatar for the newly registered user in your website, then keep your close your attention in this …

How to Creating database Tables with Plugins in WordPress

| Last Updated: | In: WordPress Beginners, WordPress Snippets


If you want to create your own database tables while installing your custom WordPress plugin on WordPress websites. In this tutorial, I will explain how to creating database tables with plugins in WordPress. This tutorial will help you while you are developing your custom plugins. To create database tables with your plugins, you need to …

Remove the Description and Reviews Tabs in WooCommerce Products

| Last Updated: | In: WooCommerce, WordPress Snippets


This is a very short tutorial which will let you know how to remove the description and reviews tabs from the WooCommerce single product page. Sometimes we need to remove the product description and product reviews tabs from the single product page to make the single product page simple and impressive or we don’t want …