Posted By

gd6d on 06/24/10


Tagged

css post wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

artificialid


How to Style Individual Wordpress Posts in Seconds


 / Published in: PHP
 

URL: http://themethesis.com/tutorials/styling-specific-wordpress-posts/

  1. Body Class
  2.  
  3. <body <?php body_class(); ?>>
  4.  
  5.  
  6.  
  7. Post Class
  8.  
  9. <div <?php post_class() ?> id="post-<?php the_ID(); ?>

Report this snippet  

You need to login to post a comment.