Guest User

Untitled

a guest
Jul 23rd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <?php
  2. // Do not delete these lines
  3. if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
  4. die ('Thanks to not load this page directly.');
  5.  
  6. if ( post_password_required() ) : ?>
  7. <p><?php _e('Enter your password to view comments.'); ?></p>
  8. <?php return; endif; ?>
  9.  
  10.  
  11. <aside id="comments">
  12. <fb:comments xid="<?php echo md5(get_permalink()); ?>" numposts="10" width="500" publish_feed="true" title="<?php the_title(); ?>" url="<?php the_permalink(); ?>" notify="true" ></fb:comments>
  13.  
  14. </aside>
  15.  
  16. <?php if ( comments_open() ) : ?>
  17.  
  18. <div id="respons">
  19. </div>
  20.  
  21. <?php endif; // if you delete this the sky will fall on your head ?>
  22. <script type="text/javascript">
  23. jQuery('#respons').hide();
  24. </script>
  25. </aside>
Add Comment
Please, Sign In to add comment