Orignally I can list the number of viewers for each post in the “Meta-Data” shown in the list of posts, and this is the effect of installing the “wp-postviews” plugin (PHP « Programming « Portfolio | lesterchan.net).
This is the effect of installing the “wp-postviews” plugin ( postviews). The original usage is very simple, just add the following code in the “content-single” template:
But when I’m using Bricks and want to be able to render the value of the field from Dynamic Data, I know that I can display the customized function via {echo}.
But since the function is from a plugin, I’ve used {echo:the_views()} and it doesn’t do anything.
How can I call the function of the plugin correctly?