WordPress.org

Forums

WP-PostViews
[resolved] Is it possible to set minimum (initial) value? (2 posts)

  1. ParamasivanPN
    Member
    Posted 9 months ago #

    Hi,

    I have installed for posts views. Is it possible to set minimum initial value so that it will not start from 0 or 1 ?

    Thanks,

    https://wordpress.org/plugins/wp-postviews/

  2. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

    Yes, but you have to modify the plugin.

    Go to line 615 of wp-postviews.php https://github.com/lesterchan/wp-postviews/blob/master/wp-postviews.php#L615 and change the 0 to 1

Reply

You must log in to post.

About this Plugin

About this Topic

Tags