Posts Tagged ‘ Wordpress ’

WP: Splitting Category Listing Into Multiple Pages

Jun 19th, 2008 | By dikiem | Category: WordPress Tips and Hack

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 [...]



WP: Redirect from blogger.com to another location

Jun 16th, 2008 | By dikiem | Category: WordPress Tips and Hack

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 [...]



WP: Creating Dropdown List of Categories

Jun 14th, 2008 | By dikiem | Category: WordPress Tips and Hack

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 [...]



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

Jun 12th, 2008 | By dikiem | Category: WordPress Tips and Hack

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 [...]



WP-Themes: Premium News Style

Jun 9th, 2008 | By dikiem | Category: WP Themes

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 [...]



WP-Tips: Adjusting Excerpt Display Count

Jun 9th, 2008 | By dikiem | Category: WordPress Tips and Hack

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 [...]



WP-Tips: Error 404 Page Not Found Bug!

Jun 9th, 2008 | By dikiem | Category: WordPress Tips and Hack

I had spent a whole day on the weekend trying to figure out why my .htaccess setup and error 404 is not working on wordpress. After numerous posts reading and blogs reading, I came across a site that perfectly describe the issue. Turn out it is a bug in version 2.5 and higher. This was [...]



WP-Plugins: Zenfolio RSS

Jun 5th, 2008 | By dikiem | Category: WP Plugins

In setting up the Photography By Kevin section, I wanted to display random pictures from my photography gallery I had hosted over @ zenfolio. Why Zenfolio? After the previous design of a photogallery website and using a flash photo album, I got tired of maintaining it through PHP. Zenfolio seems to fit the need with [...]