Tag Archives: wordpress

Definitive Sticky Posts Guide for WordPress 2.7

If you’re familiar with the loop, you’ll probably recognize the following code (or some variation of it):

<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php the_content(); ?>
<?php endwhile; endif; ?>

In order to use the new post_class template tag, just be sure to wrap the content of each post that the loop outputs in a new div. The code would looks something like this:

<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>

Source

Understand WordPress Templates.

If you like to modified your WordPress template and make your website awesome.

this is a good read :).

Stepping Into Templates

http://codex.wordpress.org/Stepping_Into_Templates

Template Tags/query posts

http://codex.wordpress.org/Template_Tags/query_posts

Displaying the latest post title on a regular home page

http://wordpress.org/support/topic/158343

How To Style Your Most Recent WordPress Posting

http://www.farfromfearless.com/2008/09/06/how-to-style-your-most-recent-wordpress-posting/

WHERE’S THE CATEGORY ID’S

http://fresh01.co.za/2008/05/15/wordpress-25-wheres-the-category-ids/

WordPress Theme Hacks

http://www.webdesignerwall.com/tutorials/wordpress-theme-hacks/