/** * @package WordPress * @subpackage Social Activity * @version 1.1.0 * * Default Main Page Template * Created by CMSMasters * */ get_header(); list($cmsms_layout) = cmsms_theme_page_layout_scheme(); echo '' . "\n"; if ($cmsms_layout == 'r_sidebar') { echo '
' . "\n\t"; } elseif ($cmsms_layout == 'l_sidebar') { echo '
' . "\n\t"; } else { echo '
' . "\n\t"; } echo '
' . "\n"; if (have_posts()) : while (have_posts()) : the_post(); if (get_post_format() != '') { get_template_part('framework/postType/blog/page/default/' . get_post_format()); } else { get_template_part('framework/postType/blog/page/default/standard'); } endwhile; echo pagination(); endif; echo '
' . "\n" . '
' . "\n" . '' . "\n\n"; if ($cmsms_layout == 'r_sidebar') { echo "\n" . '' . "\n" . '' . "\n" . '' . "\n"; } elseif ($cmsms_layout == 'l_sidebar') { echo "\n" . '' . "\n" . '' . "\n" . '' . "\n"; } get_footer();