function ewf_projects_sc_related($atts, $content)
{
    global $post;
    $options = shortcode_atts(array("items" => 2, "exclude" => $post->ID, "id" => null, "exclude" => null, "nav" => "false", "navposition" => "", "order" => "DESC", "hassidebar" => "false", "itemsperrow" => "2", "service" => null), $atts);
    return ewf_projects_sc_overview($options, null);
}
$service_tax_term = get_term_by('slug', $wp_query->query_vars['service'], EWF_PROJECTS_TAX_SERVICES);
#echo '<div class="row"><div class="alert alert-info"><strong>Portfolio blog ID</strong>:'.$page_portfolio.' &nbsp;&nbsp;&nbsp;&nbsp; <strong>Sidebar Settings</strong>:'.$page_layout.'</div></div>';
switch ($page_layout) {
    case "layout-sidebar-single-left":
        echo '<div class="row">';
        echo '<div class="span3">';
        dynamic_sidebar($page_sidebar);
        echo '</div>';
        echo '<div class="span9">';
        echo ewf_projects_sc_overview(array('service' => $service_tax_term->slug), null);
        echo '</div>';
        echo '</div>';
        break;
    case "layout-sidebar-single-right":
        echo '<div class="row">';
        echo '<div class="span9">';
        echo ewf_projects_sc_overview(array('service' => $service_tax_term->slug), null);
        echo '</div>';
        echo '<div class="span3">';
        dynamic_sidebar($page_sidebar);
        echo '</div>';
        echo '</div>';
        break;
    case "layout-full":
        echo '<div class="row">';
        echo '<div class="span12">';
        echo ewf_projects_sc_overview(array('service' => $service_tax_term->slug), null);
        echo '</div>';
        echo '</div>';
}
get_footer();