Disable wordpress sidebars without editing template

May 19, 2009

What we’ll be showing you is two quick and easy ways to disable widget areas using your theme’s functions.php file. Technically, what we’ll be doing is disabling the widgets, which is basically the same thing when you get right down to it. This article assumes that your theme sets no default code if no widgets are shown. Otherwise, it is outside the scope of this tutorial. Removing all widget areas What we’ll be doing in this first function is disabling all widgets on the home page. First, open your... [Read the full story]

Remove widget areas without editing wordpress template

March 12, 2009

One thing that’s always bothered you about needing to remove your widgetized areas(Sidebar, most of the time) in WordPress is that you have to dive into template files to do it. For example, you may want to create a post that doesn’t need widgets shown. That typically requires a little editing of your files. If you don’t feel like editing your theme files, no problem, here is the solution. What we’ll be showing you is two quick and easy ways to disable widget areas using your theme’s functions.php... [Read the full story]

Display wordpress Recent Comments Without Widgets

November 18, 2008

We know that you can easily display the recent comments with the help of a sidebar widget (If your WordPress blog supports widgets) but there is a simple solution that you can use to display recent comments without widgets, the following code will allow you to execute the recent comments in your blog anywhere in your template without widgets. Two primary features: It allows you to display recent comments without widgets. It lets you control how many recent comments to display. Firstly, open a new text file and place the... [Read the full story]