• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Add Post Views Counter For Popular Posts

This code enables you to display the single post view count for each post. The code creates a new function get_views(); you can use in any template file or hook in using a custom function. Also included is a shortcode [views] you can add anywhere including inline with the default entry meta in the entry header or entry footer. Also included is code to add schema if desired.

Watch the following gif to see the post views counter tick over.

video

Here’s the code for members:

Register for full access

Related Tutorials

  • Show Most Visited Posts With The Genesis Featured Posts Widget

Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.