getting HTTP 500 ERROR when i edit the single.php in mobile theme.

Posted in: Newspaper
Post count: 3

i want to add this code
<?php if(td_util::is_amp()){
<amp-facebook-comments
width=”552″
height=”310″
layout=”responsive”
data-numposts=”5″
data-href=”<?php echo get_permalink($td_mod_single->post->ID); ?>”>
</amp-facebook-comments> }
else{
<div class=”fb-comments” data-href=”<?php echo get_permalink($td_mod_single->post->ID); ?>”
data-width=”100%” data-numposts=”5″></div>
} ?>
in the single.php in mobile themes but every time i try to add this i get an error.Please provide me a fix on how to add this code without errot

Post count: 23312

Hi,

Unfortunately, the theme has not been tested with FB Comments implementation and therefore, we cannot say for sure if it will work or not as expected with our theme, sorry! This implementation is custom and notices that we cannot provide support for this, sorry! You need to do it yourself and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you!

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.