Click Here to download our free whitepaper on
The Rewards of VoIP Implementations

Recent Articles

AOL In2TV Begins Its Broadcast Day
Warner Bros and AOL officially opened up In2TV, and have a variety of classic programming available to their online viewers.

Google Idol
Yeah, I don't get this, but I'm sure some people probably think its the greatest thing since… that other thing.

iTunes Goes Mad For March Basketball
Alumni and fans alike will be able to purchase next-day access to condensed men's college basketball broadcasts from iTunes for playback on the computer or a video iPod.

Kids Virtually Visit Open Heart Surgery
High school students from Ohio and Michigan watched an open heart surgery procedure as part of an interactive videoconference.

MySpace Adds Film To Music
Long known as a site for music fans as well as its heavy Internet traffic and social networking, MySpace hopes to draw filmmakers as it has bands to its domain.

PersonMaps Google Mashup
Always the mashup fan on the look for cool new apps., check out PersonMaps.

No RSS? Feed43 lets you make your own
This is gonna be controversial, that's for sure. Your favorite site doesn't provide news feeds?

CNBC has Origami
CNBC has video of the Origami. Well, one of them. Channel 9 will have almost an hour with Origami's architect, Otto Berkes.


03.16.06

Excellent Hack For K2 WordPress Theme

By Neville Hobson

One of the things I continue to find a bit tricky with WordPress and the customized K2 theme I have on this blog is tweaking the sidebar to include or exclude elements on certain pages.

Until now, I've been digging into the code in the sidebar PHP file and, through trial and error (and mostly luck), have ended up with results I've more or less been happy with. No dreaded parse error messages after my tweaking nor major display disasters.

All this has been fine for what displays on this blog's home page. Where I've really run into difficulties is getting things to display or not display in the sidebar on other pages such as individual posts, archive pages, category pages, etc. For instance, I've never been able to get the RSS subscription options to display on any page other than the home page. This is all to do with the conditional statements in the PHP code where I've scratched my head over code like this -

<?php /* If this is a category archive */ } elseif (is_category()) { ?><?php printf( __('You are currently browsing the %1$s weblog archives for the \'%2$s\' category.'), ‘<a href="‘ . get_settings('siteurl') .'">' . get_bloginfo('name') . ‘</a>', single_cat_title('', false) ) ?>

But no more!

I've just installed a very nifty hack for K2 called Sidebar Modules written by Ben Sherratt. As described by Ben:

A hack for K2 to allow you to edit the contents of your sidebar. Drag and drop the modules, add your own custom content, decide what to display where, and other general funky stuff.

Funky indeed. It works a treat. It makes it so simple and easy to do exactly what you want to do, shielding you almost completely from any code editing. Reminds me of the ease of use with TypePad Typelists.

If you use K2 on your WordPress 2.x blog, this hack is indispensable. Ben, thanks for developing it.

Speaking of WordPress, version 2.0.2 has just been released. This is described as a security fix. Looks like quite a few bug fixes as well. I'm currently running 2.0.1 and do plan to upgrade. Soon.

[Edit] I've encountered a little problem so I've disabled Sidebar Modules for the moment. Help requested in the K2 Forum.



About the Author:
Neville Hobson is the author of the popular NevilleHobson.com blog which focuses on business communication and technology.

Neville is currentlly an independent communication practitioner helping companies build dynamic relationships with customers, employees, shareholders and other key audiences and influencers. Visit Neville Hobson's blog: NevilleHobson.com.



About ClicksToday
A collection of sometimes off the wall but always interesting websites. ClicksToday delivers the very best of the web in every edition. The best of the web on display

ClicksToday is brought to you by:

WebProNews.com Jayde.com
MarketingNewz.com SalesNewz.com
CareerNewz.com InvestNewz.com
SohoDay.com WebsiteNotes.com
AdvertisingDay.com ManagerNewz.com
SearchNewz.com CRMNewz.com


-- ClicksToday is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2006 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


The best of the web on display ClicksToday News Archives About Us Feedback ClicksToday Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact