SHARE
TWEET

single.php

carlh1 Mar 11th, 2013 55 Never
  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();
RAW Paste Data
Top