How to Display or Hide Widgets on Specific Pages and Posts

In this post I will cover 2 plugins which can be used to conditionally display widgets on specific pages. There are a lot of use cases for conditionally displaying widgets. For example if you want to display the login widget on particular pages, then you can do so easily with these plugins

Using the Display Widget Plugin (link)

The Display Widget Plugin is immensely popular. It has been downloaded half a million times and has rating of 4.8.

Using the plugin is quite straight forward. Just Install and activate the plugin.

Read more

How to Change Background Color of Text Widget – WordPress

In this Post I will show how you can quickly change the background color of a WordPress Text Widget.  Here are the instructions

Change the Background Color of all Text Widget

Use the following CSS rule to customize the background color of all text widgets.

.sidebar .widget_text { background-color:yellow; }

This rule will ensure that all text widgets have yellow as their background color. You can use the Simple Custom CSS plugin to add this style rule to your wordpress site

Read more

5 Plugins to add SoundCloud to WordPress

SoundCloud is the one of the most popular platforms for sharing free music. It is also an excellent place to find out new and interesting music, soundtracks etc. If you use SoundCloud regularly and want to display some of your favorite tracks in your WordPress website, you will need specialized plugins for that purpose.

Today, we will discuss about 5 of the best plugins to add SoundCloud to WordPress. By using these plugins, you will be able to showcase your latest tracks, playlists or your favorite SoundCloud channels in your WordPress Website.

Check out WebsiteBuilderGuide if you want to learn how to build a website

Read more

How to Add Custom JavaScript to a Specific Page in WordPress

In this tutorial I will share a simple technique to add custom JavaScript to a specific Page in WordPress. The best part is that we don’t need to make any edits to the templates files or the functions.php file.

The Concept

The Concept behind this tutorial is quite simple. We will make use of Custom Fields to add custom js. Here is what we will be doing

  • We will first create a custom field to hold the JavaScript code
  • We will then simply output the value of custom field on the respective Page

Simple, isn’t it? Lets start!!

Read more

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 more

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 more

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 more