By Stephen Walker

A new feature in Avada is the ability to get a view count for the life of a page or post as well as a count for the current day. While this is not a replacement for more robust analytics, it is a nice way to see if a page or post is popular. Unfortunately, if you look at the page or post, even if you have authenticated, your view counts. This is really noticeable when you are working on a page and keep looking at it to verify it works on mobile, tablet, and desktop or use a tool like Sizzy. Also, if you copy a page or post, those values come with the new copy. So how do you reset them?

Resetting the views counts is not an option that is added to the Avada page settings or any other place within the normal user interface. In order to reset them, you must first show the built-in Custom Fields. You do this through the Screen Options. Once there are values in those fields, they will appear and you can set the count to the desired value.

screenshot of the custom fields
Avada view count values

Update – If you are using ACF Pro, which is bundled with Avada, you will be frustrated as the custom fields are hidden when the plugin is activated. You need to add the following code to your functions.php or script managers. According to what I found online, ACF made this choice to improve performance, so you may need to evaluate it for yourself.

add_filter('acf/settings/remove_wp_meta_box', '__return_false');

Originally published on January 18, 2022

share the article

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

RELATED ARTICLES

  • New Feature – Quick Tips

    I have struggled to find the time to write full tutorials or even longer posts, so I am adding a Quick Tips category. This is similar to the news shorts, but almost every article will include code or a quick tip (imagine that) about an Avada setting or quirk.

  • Left Bar Separator

    Just using some custom CSS to create a color bar before a heading.

  • RSS and Avada

    RSS is an excellent way to get content to readers that don't have time to visit a hundred sites a day.

  • Borders and Boxes Demo

    Tryin to explain the layout fundamentals of Avada. Simple and not unique, but not necessarily intuitive for newcomers.

  • Conditional rendering – Oh the power

    In version 7.3 the ThemeFusion team added conditional rendering to the Avada toolset, but what they didn't do is explain all of the possible use cases.

  • Avada for the win – again

    In my apparently relentless pursuit of finding an alternative for Avada, I once again made my way around the builderverse and once again I am back to Avada.