How to Turn Off Comments on WordPress Pages

In this tutorial I will share a simple snippet which allows you to disable / turn Off comments on WordPress Pages.

The snippet is quite simple and does two things

1) It first checks if the post is of type ‘page’. The check is done after the post object is completely created.

2) In case the post belongs to disabled category, the code uses comments_open() filter to close the comments on the page.

Read moreHow to Turn Off Comments on WordPress Pages

A Comprehensive Review of the BJ Lazy Load Plugin for WordPress

HI Guys, as you can guess from the title, In this post I will be taking a look at BJ Lazy Load plugin for WordPress.  Before we start with the plugin review,  lets talk about Lazy Loading and why it is worth implementing on your website.

What is Lazy Loading and how does it work?

The concept of Lazy Loading is quite brilliant and the brilliance lies in its simplicity. The idea is to defer the loading of images which are not in the view port.  In other words the idea is to only load images which are visible to users.  The images which are below the fold will not be loaded until the user  scrolls to them.  It reduces the amount of resources to be loaded thus resulting in faster webpages.

This technique can be extremely effective for websites with ton of images. So if you are developing a photography websites or a Pinterest like website the you should definitely look into this.

Read moreA Comprehensive Review of the BJ Lazy Load Plugin for WordPress

How to Disable and Hide Comments on Posts of specific categories

In this tutorial I will share a simple snippet which allows you to disable / hide comments on Blog Posts of selected categories.

The snippet is quite simple and does two things

1) It first checks if the post belongs to disabled categories. The check is done after the post object is completely created.

2) In case the post belongs to disabled category, the code uses comments_open() filter to close the comments on the particular post.

Read moreHow to Disable and Hide Comments on Posts of specific categories

Quick Tip: Remove the Menu in Twenty Twelve Theme

In this post I will share a quick and simple way to hide menu in the Twenty Twelve Theme for WordPress. It quite simple and will take only 5 minutes. The best part is that we will achieve this without creating a child theme.

Step 1

Install the Simple  Custom Css Plugin from here

This is simple but very useful plugin.  It allows administrators to add custom CSS styles that override Plugin and Theme default styles. 

Read moreQuick Tip: Remove the Menu in Twenty Twelve Theme