Felikss Veilands
asked 11 years ago
3 Answers
Felikss Veilands
answered 11 years ago

sorry, after clicking on "enter" I posted only titles 🙂 so, the problem is that in home page comments count appear only on visible items, but when I scroll down, comments count not appear. I have changed standard comments to facebook comments and comments count code I’ve added to content.php file. In which file I should make changes to see the comments on scrolled down items. My English is terrible, but I hope you understand the problem. Also, you can see the website (there you can see that with comments link all is ok, but when you’ll scroll down, on new items comments count not appear) Regards, Felix

Felikss Veilands
answered 11 years ago

Hi Rambu,

I’ve added facebook comments script directly to comments.php file.

To show comments count, I’ve modified content.php file:

<span class=”comments-link”>
<fb:comments-count href=”<?php echo get_permalink($post->ID); ?>”></fb:comments-count>
<?php comments_popup_link( ‘<span class=”leave-reply”>’ . __( ‘comments’, ‘wallpress’ ) . ‘</span>’, __( ‘comments’, ‘wallpress’ ), __( ‘comments’, ‘wallpress’ ) ); ?>
</span>

Thanks!

Felikss Veilands
answered 11 years ago

Hi Rambu,
Thank you very much, works perfect!
Regards,
Felix

Powered by DW Question & Answer Pro