CSS Tips: Class or ID?

September 1, 2010 by nichive · Leave a Comment
Filed under: How-To 

I work a lot with websites, and I’m having this fond for WordPress engine since the  most thing that I should work with is how to re-design a theme. I’m not so good with image manipulation or graphic design, hence I work a lot with CSS and the template parts.

CSS (Cascading Style Sheets) is used for styling the site (HTML) elements. By declaring how an element should look (or behave), the work is becoming less. Name it fonts size, colors, how images looks, and event positioning certain elements, all is become much easier once the styling has been declared.

Styling the elements can be done either generally, or specifically. For instance when you declare a single CSS for <p> tag, then every time you use that instance it will styled as you declared. But when you need to create a different looks for another <p> tag somewhere on your page, then you can be more specific by using an ID or a Class.

The easiest way to tell the difference is by looking at the CSS part of your website. An ID is noted by using “#” (hastag symbol) while a Class is noted by using “.” (period symbol).

Read more

Solving Incoming Links Widget Problem in WordPress

June 19, 2010 by nichive · 3 Comments
Filed under: How-To 

If you are a WordPress user, then you’d probably notice the “Incoming Links” widget that reside in your Dashboard. Recently there’s been an issue with error message being displayed. Well, if you are looking for a solution, then read on.

The “Incoming Links” widget works by searching the web for any page that is linking to any page in your website (read my post about inbound link) And the way to do that is by taking advantage of the Google Blog Search.

By sending a GET request, one can get a search result in an RSS output. Then the WordPress engine (and its built-in function) will parse the RSS and show the result in widget that you can custom (how many records to show, etc.)

Well, if it’s a built-in functions, then why it’s not working?
Did WordPress made a flaw in the development phase?

Read more

Full Size Image in WordPress Default Gallery

March 5, 2010 by nichive · 1 Comment
Filed under: How-To 

WordPress Gallery is indeed a handy tools to neatly insert your collection of pictures and order them easily in your post, without being bothered by performing manual arrangement (such as using tables, etc.) through the HTML editor. But there was this time when I feel annoyed because when one of the image in the gallery was clicked, the loaded page didn’t show a full scaled image, instead it displayed a medium-size.

I then realized that this is something that related to theme’s functionality, because there is no option to set the image size in the gallery setting.

The solution is by adding a specific template that handles the image attachment page. If you check your wp-content/themes folder, you will notice that those files that are found in there, are templates which WordPress uses to display the content of your blog (or the category, or the attachment).

By default, WordPress uses the single.php file as the template that handles all your image attachments. And this default is something that we should tinker with :smile:

Read more for steps and the code you need

Next Page »