Home Forums General Issues Custom views counter


Custom views counter

  • I’m developing a portfolio with WordPress and ACF Pro plugin. I have a requirement to add a view counter for each work, the counter will appear under each work.

    But, when the user clicks on the work thumbnail it will open an external url and not the detail page or single custom post type page.

    Is it possible to add Number field type to the Custom Post Type, and each time the user click the thumbnail update the counter in the back end?

  • As a user of ACF I feel that that’s out of scope of what Advanced Custom Fields does. If the link goes to an external website then you would need to run some Javascript and AJAX to update a counter value.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Custom views counter’ is closed to new replies.