Hello!
I have one question at the moment about adding comment count at the end of post title. How could I do that?
I edited file td_module_mx18.php and edited line 24 to “<?php echo $this->get_title() . $this->get_comments();?>” but still it doesn’t add at the end of the title.
What would be the best solution for that?
Best wishes!
Hi,
That module does not have a comment count by default
– https://www.screencast.com/t/Lvu9bnCc2
You could edit the file like this
– https://www.screencast.com/t/jJFZseen
The comment count should be displayed on that module after this modification
– https://www.screencast.com/t/Q2KYpYbEus
Thanks
Hi.
Yes but can’t it be automatically? Just + comments number after title. Like other news sites “Page title (55)”
Hi,
This is proving to be quite difficult to do. Please make the modification like this
– https://www.screencast.com/t/6NSClQWt
And then enter this code in Theme Panel->Custom Css
– https://www.screencast.com/t/yHpRXDUeWqzf
It should display it like you want
.td_block_big_grid_fl_1
.td-module-comments,
.td_block_big_grid_fl_1
.entry-title {
float:none;
display:inline-block;
top: -5px;
}
Thanks