Venkat Adapa's Tech Blog
Thursday, May 13, 2010
Different styles for each post in wordpress
Use below process to set different styles for different posts
$postid=$post->ID;
if($postid == 88)
{
$newclass = 'some-css-class-name';
}
h3 class="<= $newclass;?>" > $the_title /h3
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment