How to Add Google Site Search to WordPress

While WordPress has successfully emerged as the most popular Content Management System (CMS), it still performs poorly in the search department. If you are using the default search feature in your WordPress website, your visitors might not get the appropriate results. For that reason, most WordPress websites rely on Google to provide the search facility.

In today’s tutorial, I will show you how to add Google site search to your WordPress website. After going through this tutorial, you will learn how to –

1. Add Google site search without using a plugin,
2. Add Google site search by using a plugin.

Let’s see how to do it without using a plugin.

Adding Google Site Search without Plugin

In order to add the Google search feature in our website without using a plugin, we will use Google’s Custom Search Engine (CSE). Here are the steps.

Read moreHow to Add Google Site Search to WordPress

How to Add Google Analytics to WordPress Admin Panel

Recently I was in a situation where I wanted to track the Pageviews for the admin panel.  Since I use Google Analytics on all my websites, I decided to add it  to all the admin pages.

Since there are no plugins to specifically add google analytics code to admin pages, I wrote a short snippet.

In case you also want to add google analytics to your admin panel , here are the instructions. 

Read moreHow to Add Google Analytics to WordPress Admin Panel

Display Business Hours in WordPress Sidebar

A lot of Service Business like Spa , Salon , Restaurants etc.  display Opening / Working Hours on their website. In this Post I will share a simple snippet to add Working / Business Hours to the WordPress SideBar.

We will utilize the all powerful WordPress Text Widget to display the business Hours.  Since the Text Widget Supports HTML , it is a matter of pasting an html snippet to display Business Hours.

Read moreDisplay Business Hours in WordPress Sidebar

How to Embed Slideshare Presentations in WordPress

I think most of you are already familiar with slideshare presentations. A slideshare presentation includes text, graphics and other contents which accompany a speech or an event. We are familiar with showing the presentations in the projector screen, but did you know that you can also embed them in your WordPress website?

In my today’s discussion, I will show you how to add a slideshare presentation in your WordPress website. There are three ways of doing this –

1. Adding Slideshare Presentations in a Page / Post without using a Plugin
2. Adding Slideshare Presentations in your WordPress Sidebar
3. Adding Slideshare Presentations by using a Plugin

Let’s see how we can add a presentation without using a plugin.

Read moreHow to Embed Slideshare Presentations in WordPress

How to Add Categories and Tags to Pages in WordPress

By default WordPress does not allow a user to add categories to Pages. However adding categories and tags to Pages is quite simple.

In this post I will share a code snippet which allows you to add Post categories to Pages. Here is what we will be doing:

  • We will link Category and Tag Taxonomy to the Page
  • Modify WordPress Query to display List of Pages using Category Archive and Tag Archive.
  • Add the Snippet to our WordPress Website

You can also achieve the same result by using this plugin 

It sounds difficult but in reality its quite simple :-). Lets start

Read moreHow to Add Categories and Tags to Pages in WordPress

5 Best Google Maps Plugins for WordPress

In one of our previous posts, we showed you how to display a Google Map in your WordPress website. Among the three ways we talked about, one was titled ‘Adding Google Maps using a plugin.’ We discussed about a plugin for that purpose. However, there are some other excellent Google Map plugins for WordPress. We thought we should introduce them to you too. And here you go.

Read more5 Best Google Maps Plugins for WordPress

A Simple Guide to Customizing the WordPress Admin ToolBar

A lot of people have Love-hate relationship with the WordPress Admin Toolbar. I personally love the toolbar as it makes life easy for me. I spend a lot of time working with WordPress and would simply go mad it there is no toolbar. It makes super easy to switch between the Front end and the Back End.

However there might be some cases where you might want to customize or all together remove the toolbar.  For example you might encounter a situation where you want to disable toolbar based on user roles. In this post I cover a few techniques which can be used to customize the WordPress Admin ToolBar. In other

More specifically I will cover the following use cases.

  • Disable Admin Bar for all users
  • Disable admin bar based on user roles
  • Display Admin Toolbar to Logged Out Users
  • Add / Remove Custom Menu Item / Links  to Admin ToolBar

Read moreA Simple Guide to Customizing the WordPress Admin ToolBar

How to Add Google Maps in WordPress

If you want to include a map in your contact us page, want to provide a map with your upcoming event or want a map for any other reason, you can definitely use Google Maps. And do you think you will need to hire a professional for doing this? Well, not actually. Adding Google Maps in WordPress is easier than you think.

In today’s post, I will discuss  how you can add Google Maps in your WordPress Website. More specifically I will be covering the following

  1. Adding Google Maps to a Page / Post without using a Plugin
  2. Adding Google Maps to your WordPress sidebar
  3. Adding Google Maps using a Plugin.

Let’s try to do it manually before we do the plugin way.

Read moreHow to Add Google Maps in WordPress

How to Remove Featured Image from All Posts in WordPress

In this post I will discuss how to bulk delete featured images from posts. One can manually remove featured images but it is time consuming and might not be practical for websites with large number of posts. So in this post I will share a few code snippets which will make the task of removing featured images a breeze. More specifically we will cover following in this tutorial.

  1. Removing Featured Images from All Posts / Pages
  2. Removing Featured Images from all posts belonging to a Category.
  3. Removing Featured Images from  a particular Post Type.
  4. Removing Featured Images from All Posts published before / after certain date

Take note that we will not delete the featured images, we will simply unset / unlink them. In other words the featured images you remove will still be accessible via the media library.

Lets start

Read moreHow to Remove Featured Image from All Posts in WordPress