Hello Vlad,
On the single post page, the view count and comment count are displayed properly(image 1). I want to implement similar functionality on post grids, such as Flex Block or Big Grid Post.
Is this functionality available out of the box? If not, could you please guide me on how to achieve this using code?
Thank you for your assistance.
Image 1 (View Count and Comment count in single post page): https://postimg.cc/Fd1FVWMq
Image 2 (This is the place where I want to show the view count and comment count)- https://postimg.cc/8fjHDSqH
-
This reply was modified 1 year by
Saniya.
Hello,
I recommend to use the flex block builder https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/ and create a module -> https://forum.tagdiv.com/modules-builder-newspaper-theme/ here you can add the post view and comment count.
Thank you!
I appreciate your suggestion, but it hasn’t completely resolved my
issue. I managed to integrate a view count in the flex block module,
but this has disrupted the pre-made design provided by the Newspaper
theme. Moreover, it’s crucial for me to have the view count displayed
in the post loop as well, as it is utilized across various sections of
the site such as the search page and author page. If this
functionality isn’t available out-of-the-box, could you please guide
me on how to implement this feature through custom code?
OLD WEBSITE: https://watercraftjournal.com/
NEW WEBSITE: https://watercraftdemo.yashamsoft.com/home-2/
Images
Old Website: https://postimg.cc/yDYGKz83
How old website shows views count on posts loop also: https://postimg.cc/G475hS47
Custom module I have created to show views count: https://postimg.cc/64t0hd74
design lost in custom module: https://postimg.cc/xkNtjjD8
Thanks,
Saniya Saher
Hello Saniya Saher!
A workaround there could be to create two modules there: https://app.screencast.com/6bpwU72C0Oj82
First module should display one post and the second one could have another limit and an offset 1, so you can use the same filter.
In order to edit the existing modules and customize it as you want, it requires a lot of custom code which is not covered by the support team.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/.
Thank you!