WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
Show the number of views only [HOT] (2 posts)

  1. D J
    Member
    Posted 1 year ago #

    I am using the following code to show the number of views in the template.
    if(function_exists('the_views')) { the_views(); } 150 Views
    However I want to display only the numeric value and not the word "Views"
    How can I do that?

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

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    change that in the plugin's option settings;

    dashboard - settings - PostViews - Post Views Options: Views Template: - remove the word views

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags