Skip to content

Conversation

@zhyian
Copy link
Contributor

@zhyian zhyian commented Oct 22, 2024

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.

@sonarqubecloud
Copy link

@zhyian zhyian marked this pull request as ready for review October 22, 2024 12:16
@2ndkauboy
Copy link
Member

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

@2ndkauboy 2ndkauboy requested a review from Zodiac1978 October 22, 2024 14:55
@stklcode stklcode added this to the 2.0.0 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display counter as new column in post table

3 participants