}
        if ($user_description) {
            echo '<p>' . str_replace("\n", '<br />', $user_description) . '</p>' . "\r\t";
        }
        echo '</div>' . "\r" . '</aside>' . "\n";
    }
    if ($project_tags) {
        $tgsarray = array();
        foreach ($project_tags as $tagone) {
            $tgsarray[] = $tagone->term_id;
        }
    } else {
        $tgsarray = null;
    }
    if (is_array($cmsms_project_more_posts)) {
        cmsms_related(in_array('related', $cmsms_project_more_posts), $tgsarray, in_array('popular', $cmsms_project_more_posts), in_array('recent', $cmsms_project_more_posts), $cmsms_option[CMSMS_SHORTNAME . '_portfolio_project_r_p_l_number'], 'project', 'pj-tags');
    }
    comments_template();
    echo '</section>' . "\r\t" . '</div>' . "\n";
}
echo '</section>' . "\n" . '<!-- _________________________ Finish Content _________________________ -->' . "\n\n";
if ($cmsms_layout == 'r_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
} elseif ($cmsms_layout == 'l_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" class="fl" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
}
get_footer();
				
				fjs.parentNode.insertBefore(js, fjs);
			} (document, 'script', 'facebook-jssdk'));
		</script>
	</div>
	<div class="cl"></div>
	<a class="cmsms_share" href="#"><span><?php 
        _e('More sharing options', 'cmsmasters');
        ?>
</span></a>
	<div class="cmsms_social cl"></div>
<?php 
        echo '</aside>' . "\n";
    }
    if (is_array($cmsms_testimonial_more_posts)) {
        cmsms_related(false, null, in_array('popular', $cmsms_testimonial_more_posts), in_array('recent', $cmsms_testimonial_more_posts), $cmsms_option[CMSMS_SHORTNAME . '_testimonial_post_p_l_number'], 'testimonial');
    }
    comments_template();
    echo '</section>' . "\r\t" . '</div>' . "\n";
}
echo '</section>' . "\n" . '<!-- _________________________ Finish Content _________________________ -->' . "\n\n";
if ($cmsms_layout == 'r_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
} elseif ($cmsms_layout == 'l_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" class="fl" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
}
get_footer();
Esempio n. 3
0
        }
        if ($user_description) {
            echo '<p>' . str_replace("\n", '<br />', $user_description) . '</p>' . "\r\t";
        }
        echo '</div>' . "\r" . '</aside>' . "\n";
    }
    if (get_the_tags()) {
        $tgsarray = array();
        foreach (get_the_tags() as $tagone) {
            $tgsarray[] = $tagone->term_id;
        }
    } else {
        $tgsarray = null;
    }
    if (is_array($cmsms_post_more_posts)) {
        cmsms_related(in_array('related', $cmsms_post_more_posts), $tgsarray, in_array('popular', $cmsms_post_more_posts), in_array('recent', $cmsms_post_more_posts), $cmsms_option[CMSMS_SHORTNAME . '_blog_post_r_p_l_number']);
    }
    comments_template();
    echo '</section>' . "\r\t" . '</div>' . "\n";
}
echo '</section>' . "\n" . '<!-- _________________________ Finish Content _________________________ -->' . "\n\n";
if ($cmsms_layout == 'r_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
} elseif ($cmsms_layout == 'l_sidebar') {
    echo "\n" . '<!-- _________________________ Start Sidebar _________________________ -->' . "\n" . '<section id="sidebar" class="fl" role="complementary">' . "\n";
    get_sidebar();
    echo "\n" . '</section>' . "\n" . '<!-- _________________________ Finish Sidebar _________________________ -->' . "\n";
}
get_footer();