Hello,
Thanks for a great theme! We’ve just updated to the latest version from v4.6 to 6.1
All is well, except the page view counters are now gone from our homepage! Instead, it shows a comment counter.
Can you please check (www.askdrmaxwell.com) and advise on how to get rid of comment counter from home page, and instead replace it with the view count like before?
Thanks!
James
I think you would need to edit the modules you’re using to comment out the comments, and uncomment the view count. It’s a new theme, so good idea to see how the demo works on themeforest.
I’m sure TagDiv folk will provide more specific answer, but with the weekend here if you need to so something “now” – you will likely need to try editing one of the modules you’re using.
Hi,
Unfortunately the post view is not available anymore on modules you will need custom work to views appear there. Please check this topic(answer 4) – https://forum.tagdiv.com/topic/many-issues-with-new-v6-update/ and do this for each module. Also you can hide comment counter from modules using custom css in Theme Panel > Custom Css – http://screencast.com/t/O4gh5ShNh or comment this line for each module – http://screencast.com/t/mWzxKkMqUu
.td_module_wrap .td-module-comments {
display: none;
}
Thanks!
Hi Alin,
Thanks for your quick reply. Just got around to this.. I’ve followed the exact instructions on answer #4 of the link you gave (https://forum.tagdiv.com/topic/many-issues-with-new-v6-update/). I’ve done this for modules 1 and 11.
However, the views are still not showing on our page (www.askdrmaxwell.com). Can you please take a look and advise on what we need to do to get the views back up?
Thanks for your help!
James
Hi,
I’ve tested tested on a module and works fine, see here:
1. added get_views();?> http://screencast.com/t/LvOEYMEb76R
2. copied the get_views() function in td_module.php from td_module_single_base.php http://screencast.com/t/6pDj3N6S
3 Used this CSS for a better alignment
.td_module_wrap .td-module-meta-info .td-post-views {
position: relative;
display: inline-block;
top: 2px;
margin-left: 14px;
color: #aaa;
}
.td_module_wrap .td-module-meta-info .td-post-views span {
margin-left: 5px;
}
Result: http://screencast.com/t/IBvCvum1oP
Please check again all the steps from there, should work.
Hi Marius,
Thanks for your help! I’ve also just now double-checked these exact steps and also tried adding your CSS. Still no luck. I tried disabling all plugins and that also has not solved the issue. I am feeling frustrated with the recent theme updates…. seems the site is always breaking đ
Where exactly do I “copy the vies function from td_module_single_base.php to td_module.php”… I mean, where in td_module.php do I place the vies function? Should the location placed matter in this case?
Thank you,
James
Hi,
I have checked your site and I did not found module 1 or 11 on your site. Please note that if you refer to the block 1 and block 11(that you have on homepage) it is not the same:
*block1 use module 4 and module 6 – http://screencast.com/t/B6ieZPRe
*block 11 use module 10 – http://screencast.com/t/bxyuRWXx
You can copy the views function anywhere you want in td_module.php file, for example after comments function like in single – http://screencast.com/t/rAFdAPtc28Hr This should work also in your case, unfortunately we cannot provide custom work at this time as the time doesn’t allow us, we can make only some suggestions!
Thanks!