WordPress.org

Forums

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

  1. ParamasivanPN
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags