How to Insert Navigation Menu inside a Page or a Post

In this Post I will share a technique which can be used to insert the Navigation Menu inside your content like Page or a Post. It is really simple and can be done without writing any code.

The Idea Behind

Well the concept is pretty simple. We will insert the navigation menu by embedding the Custom Menu widget inside our content. We will utilize the AMR Shortcode Widget plugin for this.

Read moreHow to Insert Navigation Menu inside a Page or a Post

How to add Widget to Pages and Posts in WordPress

Widgets are very powerful and are extremely easy to use. However their usage is  limited to the widget ready areas.   What if you want to embed widget in a Page or Post?

In this post I will cover a plugin which allows you to embed any widget in a Page or Post. The plugin  AMR Shortcode Widget. Its a very popular plugin with 4.9 rating and has over 100,000 downloads.  Here are the instructions to use it

Read moreHow to add Widget to Pages and Posts in WordPress

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 moreHow to Display or Hide Widgets on Specific Pages and Posts

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 moreHow to Change Background Color of Text Widget – WordPress

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 moreHow to Add Custom JavaScript to a Specific Page in 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