Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

single.php

By: carlh1 on Mar 11th, 2013  |  syntax: None  |  size: 0.29 KB  |  views: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $latteParams['post'] = WpLatte::createPostEntity(
  3.         $GLOBALS['wp_query']->post,
  4.         array(
  5.                 'meta' => $GLOBALS['pageOptions'],
  6.         )
  7. );
  8.  
  9. ob_start();
  10. comments_template('');
  11. ob_get_clean();
  12.  
  13. /**
  14.  * Fire!
  15.  */
  16. WPLatte::createTemplate(basename(__FILE__, '.php'), $latteParams)->render();