Wrap template content with div

This commit is contained in:
Brian Miyaji
2014-06-28 16:32:55 +10:00
parent eef43be7e9
commit 09ab8c7807

View File

@@ -28,6 +28,8 @@ class SP_Template_Loader {
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! in_the_loop() ) return; // Return if not in main loop
$content = '<div class="sp-post-content">' . $content . '</div>';
ob_start();
if ( $position <= 0 )