I need to put manual facebook comments into the code.
o know it should be placed in td_module_blog_1
this is facebook code:
<div class=”fb-comments” data-href=”<?php echo get_permalink(); ?>” data-width=”470″></div>
now.. how to transform? this solution doesn’t work
$buffy .= ‘<div class=”fb-comments” data-href=”‘ . get_permalink() . ‘” data-width=”470″></div>’;
can you help me?
Hello,
unfortunately we cannot offer custom work anymore. We would have gladly made it for you but we work very hard on the updates and features for all the users. You can always get a freelancer from sites like: http://www.microlancer.com/
I am very sorry for this, we would have gladly do it if we had more free time.
Thanks for understanding!
Marius,
This might be custom work, but the fact that this code doesn’t work has everything to do with how you guys coded the post templates. The code provided by facebook works on every other theme that uses the single.php file to set up the post lay-outs. The fact that the code that Zelatech mentioned doesn’t work does not mean that you can hide behind the fact that it’s custom coding, seeing as it is a normal piece of coding that can be implemented on every other site without any problems.
I’m having the same problem, and i suggest you help us out and provide us with the code that should make the comment box work.
Thanks!
zelatech, I posted this problem on Stackoverflow and one those guys provided me with the right code:
$buffy .= '<div class="fb-comments" data-href="' . get_permalink() . '" data-colorscheme="light" data-numposts="5" data-mobile="false" data-width="700"></div>';
The problem was caused by the apostrophes (‘), as you can read here:
Marius, as far as not providing us with this simple piece of coding, it would literally have cost less time to post this code than to tell us you don’t have time to answer these kind of questions!