Sunday, February 28, 2010

How to add sidebar (widget) placeholder in Wordpress

I didn't find too many posts on Google about this, so I thought I'm going to help you guys to add sidebar (widget) placeholder in Wordpress; it's really so simple:

1 Register your sidebar


Simply open your template's functions.php (by default it's wp-content/themes/[yourtheme] - where [yourtheme] is the folder name of your theme):

Sunday, February 21, 2010

How to change style of Wordpress, Joomla!... CMS's

While it took me some time to find the best practice, I'm going to provide you with the easiest and fastest way to style your CMS (Wordpress, Joomla!) template, it is very simple actually: just open your blog / website with the template, look at the source code (you'll find an option 'View Source Code' or something similar in most of the browsers right-clicking anywhere on the page), locate the id's and classes you would like to modify, then go ahead and make a source code (or in file text) search among the template files (preferably .css) for the specific id or class name and change it as you please.

Saturday, February 13, 2010

CSS Uppercase / All Caps - a one liner

Well, I never really needed it, but then I did so I looked it up quickly and found this post about CSS Uppercase / All Caps. Easy-peasy :)

Saturday, February 06, 2010

Display different content for non-registered users and for registered users on Wordpress

I was looking up information as to how can I make sure that a WordPress.org blog displays different content for non-registered users and again a completly other content for registered users, but honestly I couldn't find any article or thread that explained it very well or simply missed the non-registered users part.

The code I'm going to provide you with below is an example to how I resolved this (very simple actually).

Wednesday, February 03, 2010

abolute position within div - a one liner

If you want to use absolute positioning within a div, you just have to set the parent div to relative.

You should put this in the head between the sytle tags:

Monday, February 01, 2010

Setting Up WordPress On Your PC Using XAMPP

You remember my post about XAMPP - the ultimate way to test a website before launch - a must have Freeware!? Well, it's really a must have application for a webdesigner. And of course, WordPress can be used with it too. If you want to know how, check out this guide: Setting Up WordPress On Your PC Using XAMPP.