WordPress Hacks

In setting up this website, I had to spend a lot of time researching and understanding WordPress. I’ve reviewed ton of plugins, themes, and even had to do some PHP modification. With that, this page is dedicated in sharing my finding with other who plan to use WordPress engine for their blogging website.

WordPress Tips and Hack

Upgrading to WP2.7: Wordpress Automatic Upgrade

I recently upgrade from WP2.5 to WP2.7. For anyone who is interested, there is a fairly simple method on doing this upgrade. You could use the plug-in “Wordpress Automatic Upgrade“. It will automatically backup the database, download, and handle the upgrade for you in a simple manner. I completed the entire upgrade in less than [...]


Jan 8th, 2009 | By dikiem | Category:WordPress Tips and Hack | no comments | 541 views


WP: Splitting Category Listing Into Multiple Pages

Here is a little neat trick for Wordpress. Normally, you would use the WordPress tag “query_posts” to query against the database to list all of the posts relating to one or more categories.
Usually a simple query against a category would like something like this:

<?php query_posts(showposts=5&cat=$category);
while(have_posts()) { the_post();

}
?>

Basically all this is doing is show 5 posts [...]


Jun 19th, 2008 | By dikiem | Category:WordPress Tips and Hack | no comments | 570 views


WP: Redirect from blogger.com to another location

This should be helpful for anyone who decided to host their own blog using WordPress another location. It took me awhile to search for this since the new blogger version template style changed a bit.
http://laffers.net/howtos/howto-redirect-blogger-to-wordpress
Thanks to laffers.net for putting this together. It was extremely useful!
Here are snip of what he presented there. All credit goes [...]


Jun 16th, 2008 | By dikiem | Category:WordPress Tips and Hack | no comments | 264 views


WP: Creating Dropdown List of Categories

Here is a little WordPress tip / trick. For anyone who is trying to build their sidebar and or want to add a dropwdown list style for category listing, this is one simple method.
http://codex.wordpress.org/Template_Tags/wp_dropdown_categories
You can use the code snip they’ve provided
<li id=”categories”>lt;h2><?php _e(’Posts by Category’); ?></h2>
<?php wp_dropdown_categories(’show_option_none=Select category’); ?>
<script type=”text/javascript”><!–
var dropdown = document.getElementById(”cat”);
function onCatChange() {
if [...]


Jun 14th, 2008 | By dikiem | Category:WordPress Tips and Hack | no comments | 257 views


Alternative RSS Method (Zenfolio, Flickr, etc.,)

I had mentioned in the Wordpress Plugin section, there is an Zenfolio RSS plug that is used to display nice little thumb nails on the side bar of your Zenfolio Galleries. In search of finding something more specific, I came across an alternative method. While it is no plug in yet, but a simple PHP [...]


Jun 12th, 2008 | By dikiem | Category:WordPress Tips and Hack | 2 comments | 498 views


WP-Themes: Premium News Style

A lot of people have asked me what theme is used for this new design and layout. When looking into redesigning the domain, I wanted something to infuse all of the blogspot account I have and with the content management style I had with the Nuke-PHP engine I used previously. That lead me to use [...]


Jun 9th, 2008 | By dikiem | Category:WP Themes | 3 comments | 234 views


WP-Tips: Adjusting Excerpt Display Count

In wordpress, the commonly used tag to show summary of an article or post is <?php the_excerpt(); ?>. By default, if you don’t provide an excerpt, wordpress will use the first 55 words in the article as the excerpt.
What if you want to have more or less than 55 words, how is this accomplished?
You can [...]


Jun 9th, 2008 | By dikiem | Category:WordPress Tips and Hack | 1 comment | 186 views