How to make your theme Wordpress 2.5 ready?

When I first tried Wordpress 2.5, I thought I messed up because I couldn’t make the Photo Gallery look like as how I’m seeing it from other bloggers. However, through constant frequenting at several forums, I finally found out that it was the image.php file that I have to tweak to make the inside gallery pages appear as it should. Now that I know what to do, my Wordpress Theme don’t have an image.hp file to start tweaking with.

How to make your theme Wordpress 2.5 ready?

1. Create a copy of your single pages and re-name it image.php.

2. Open the image.php file and look for something similar to

<?php the_content(’Read the rest of this entry…’); ?>
*This is supposed to be the code for the post content

<?php wp_link_pages(array(’before’ => ‘<p><strong>Pages:</strong> ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
*While this is supposed to be the Pages Navigation Links

3. Now you will replace both lines of codes with

<?php echo wp_get_attachment_image( $post->ID, ‘large’ ); ?>

<div class=”caption”><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the “caption” ?></div>

<?php previous_image_link() ?><?php next_image_link() ?>
*This is the code for the thumbnail navigation

4. Style them if deemed necessary.

5. Upload your image.php file in your theme folder and experience the magic of Wordpress 2.5 Gallery.

Continue reading » · Rating: · Written on: 05-09-08 · No Comments »

How often do you upgrage your Wordpress System?

A Beta release (2.5) is already available for public download, would you update? What is your current Wordpress version?

This blog is using version 2.3.2, the available version when I installed in from the Hosting Control Panel. Two of my other blogs are also still using version 2.3.2 and I don’t see any need for upgrading. For me, as long as there’s no problem with my current system or there’s no new feature in the new version that interests me, I don’t need to upgrade just so I could go with the flow. If I remembered it right, the only time I upgraded was when the tag system was introduced. The new version, according to the release notes, will enable customizability of your dashboard and some other stuff.

In a nutshell: I have been working for a laptop manufacturing firm for more than 5 years now and based from our experience, everything new almost always comes with a few bugs. And most of the times, the would bugs take at least 3 months to be fixed. Sometimes it could take half a year. Sometimes forever and the developer would just discontinue the product.

Continue reading » · Rating: · Written on: 03-20-08 · No Comments »

Resize and text-align your Youtube videos

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.

Continue reading…

Continue reading » · Rating: · Written on: 02-24-08 · 3 Comments »