WordPress.org

Support

Support » Plugins and Hacks » WP-PostViews » Post views color based on number of views

Post views color based on number of views

  • Hi ,

    I need a help regarding to give color for post views in wordpress post based on number of views , if a post have more than 50 views i need give green color else black color , i am using WP-PostViews plugin to display page views in posts , this is the short code i used to display number of views <?php if(function_exists(‘the_views’)) { the_views(); ?>

    Please check this image to get more idea about my question

    http://wordpress.org/extend/plugins/wp-postviews/

  • The topic ‘Post views color based on number of views’ is closed to new replies.
Skip to toolbar