Thou shall make your Wordpress Theme a Wordpress 2.5 Compliant

June 5, 2008

If you’re blog is already running with Wordpress 2.5, I bet you must have created tons of image galleries within your posts already. Otherwise, it could be because you have disliked how the gallery post, the inside gallery pages and all its elements looked like. If that’s the case, I’m 99% sure that your Wordpress Theme is not Wordpress 2.5 compliant.

A Wordpress 2.5 Compliant theme must have an image.php template file. Having just a single.php template is not enough for you to be able to optimize the looks and functionality of your Wordpress 2.5 Image Gallery. Without this new file, your image gallery would only look as dull as this as compared to the screen shot below. And how to make an image.php template file is what we’re going to expound in this entry. But fret not, for creating this image.php template file is easy, even a faint-hearted soul would not have much trouble if the necessary procedures are followed.

First, you’ll have to make a duplicate copy of your single.php template file and name it as image.php.

Wordpress 2.5 Image Gallery Sample Screenshot
Sample Wordpress 2.5 Image Gallery post [Read more]

Wordpress 2.5 upgrade is not for the faint of heart

April 15, 2008

I am Blog Almighty and I have several blogs of which one of them has been running on 2.5 for some time now and there hasn’t been any major troubles going on though I’m still observing under the process of observing if there would be some back-end effects for the front end seems to have no problems at all. Rumor has it that this upgrade would kill some plugins though none of what I have been using was affected.Anyway, if you’re planning to upgrade your Wordpress versions, I suggest you do it first on a test blog. Why, because no one can make sure what would happen after you do and things get really messy if you’re not prepared. For most forum threads that I’ve been reading, I see a lot of people whining about a few bugs, their plugins not working and the inside pages of their gallery is not displaying correctly.

Well, I have already blogged about my WP2.5 upgrade here and I’ve already said that the upgrade, aside from the WP Gallery, there really isn’t any major inclusions that would make be jump for joy. And for the WP Gallery, it’s not working properly on my Mimbo theme so I made a few hacks and tweaks on the WP include files as what I’ve seen on one of the WP forum threads. Usually, the WP Gallery should work as this, but mine is working as this through the courtesy of Lightview Plus plugin.

[Read more]

Use of textarea for quick code sharing

March 2, 2008

Sometimes, when you want to build a link empire or a link train, you may want to consider giving your followers’ lives easier by giving them a little spoon-feeding. Like for an instance, I have a very creative logo here that I want your readers to post on their blogs to pester everyone until they notice what you’re saying. You may want to make it easier for them to follow suit. You know, click-copy-paste.

Like this. Click on the text below, it will be highlighted automatically and when embedded on your blog pages, it will display the Kubix Cube logo below with a link to this blog. Press Ctrl+C to copy the highlighted text.

The form uses the textarea HTML tag. And what does the codes inside it do is what we’re going to elaborate next.

1. textarea tag – this creates the entire form containing the codes to display.
2. onClick – this is an javascript behavior wherein the use of “this.select()” attribute will allow the entire text to be highlight on mouse click.
3. readonly – an attribute that prevents the embedded text to be modified
4. the rest are self explanatory.

So here’s the complete codes:

<textarea onClick=”this.select();” style=”width:350px;height:100px;font-family:tahoma;font-size:12px;” readonly><a href=”insert the target link here” title=”insert the mouse over text here“><img border=”0″ src=”insert the image source here“/></a></textarea>

Resize and text-align your Youtube videos

February 24, 2008

What you’re seeing on the left is a youtube video showing Ramiele Malubay’s audition in the Season 7 of American Idol. This video is also used in one of my posts on my personal blog. If you think that I’m trying to make too much senseless babbles here, you’re probably right but that is not what this post is about.

Did you ever wonder why you could not resize or text-align your YouTube videos in your posts? Well, I don’t know too but I finally got a solution to tweak your way into creative resizing and positioning of youtube videos into your wordpress blog posts.

Required tools

1. My Video plugin by Levi Putna.
2. Hard code for left-aligned table as this:

<table border=”0″ align=”left” width=”249″ cellPadding=”0″ cellSpacing=”5″>
<tr>
<td>My Video Code goes here</td>
</tr>
</table>

Do I need to elaborate on the table styling? If yes, I’ll be obliged.

[Read more]