statify icon indicating copy to clipboard operation
statify copied to clipboard

Add post views column to admin post table

Open zhyian opened this issue 1 year ago • 2 comments

Hi there!

This PR introduces a new Views column in the post and page tables of the WordPress admin, allowing users to see how many times each post or page has been viewed, based on tracking data.

Additionally, I decided to add statify_counter_post_types filter to allow extending the post types that display the views column.

How to Test:

  • Go to the Posts or Pages section in the WordPress admin area.
  • Make sure that checkbox Views is activated in the Screen Options.
  • Check for the new Views column in the post table.

Closes #283.

zhyian avatar Oct 22 '24 12:10 zhyian

That looks really good! It also follows out coding styles perfectly. In a local test, it also looks good!

2ndkauboy avatar Oct 22 '24 14:10 2ndkauboy