Technology

WordPress: Conditional Widget Display on Sidebar

Before when WordPress themes do not support widgets, we used to control lists on our sidebars via PHP modifications. It’s not a task for everyone, and widgets were created.

But the thing is, once you add a widget to your sidebar, it will automatically display itself on your homepage and your single pages as well.

Today I learned that you can control it, not via PHP, but on your style.css.

Every widget on your sidebar has a unique id. So you can control them easily on your style.css.

Ex.
li#tag_cloud { display:none; }

This will hide the Tags widget from the sidebar, but the thing is it won’t be shown to any page either. So you need to know what division it is included to. In my case, I use #home class for my main division when on homepage and #page class when on single pages.

So on my style.css, I have:
#page li#tag_cloud { display:none; }
This hides the Tags widget when on single pages.

You just have to make sure that you use different divisions for home and single pages. But if you have a better workaround for displaying widgets conditionally, let me know. I’d like to learn from you too.

Telepresence puts you at one place and many places at the same time

Late last night, I saw the clip at News Central about Cisco’s Telepresence Technology. This is also being implemented in my company since last year, and it’s totally amazing to know such technologies that greatly helps. Rather than going to clients’ site to meet them face to face, you may use telepresence instead. This may save you few hundreds of thousands for travel expenses. Of course, investing to this technology might be a bit pricey, but in the long run, you’re actually saving.

Telepresence technology uses High Definition screens and camera which provides real time motion detection. And sound systems that suits best your setup.

Let’s Fart Together

We all know it’s natural and God created it so we feel relieved at least, if we can’t pull em down yet. But sometimes it’s more of an embarrassment than a relief most especially when all the people around look at you when they smell it.

Worry no more, we can now fart wherever we have to because there’s now a new invented product that suppresses the smell of that dark air that passes through your intestines and comes out of your butt. It’s called Subtle Butt. It is a small pad that you put inside your underwear and when the gas pass through it, it filters the odor and now you’re safe. Yes, we are.

The only problem you have now is how to suppress the sound, but we can always master how to control it by following these simple steps.

Now let me take this opportunity to invite you for a farting session. Who’s interested?

The Best FREE Anti-Aging Solution

Most people are afraid of looking old and try to look younger than their age. The usual way of fighting against aging is using beauty creams, surgery, etc. If you have a hundred grands (in pesos) to spend, there’s no doubt you can have major make-over of yourself and look like 10-20 years younger.

There are ways to look young without spending much. One of the cheapest ways is to keep yourself neat. A haircut can make you look young for a hundred bucks (in pesos). For men, 40 bucks could do it, plus shaving facial hair. But still, you spend some amount here.

There’s a Free solution I discover and I want to share it with all of the people. Most people I know denies their age when asked about it. Some even try to change topics. My colleagues, for example, if asked about their age, the subtract few years from their real age and they do not know the are just making themselves look even older instead.

Given:
You are 30 years old who looks like 32.
You were asked about your age by a friend and told him your age is 30, you still look 2 years older.
If you said 28, you are now 4 years older than your age.

Does denying about your age make you look young? In the statement above, it’s clearly stated that subtracting some years from your age is not a good idea.

Now here’s the solution I want to share. Read more…

Asus Eee Laptop Bag

I am giving away another laptop bag for your asus eee pc at the end of the month. If you are interested, just head on to the contest post and join.