$cs_counter_node++;
     get_template_part('page_cause', 'page');
 } else {
     if ($cs_node->getName() == "slider" and $cs_node->slider_view == "content") {
         $cs_counter_node++;
         get_template_part('page_slider', 'page');
     } elseif ($cs_node->getName() == "contact") {
         $cs_counter_node++;
         get_template_part('page_contact', 'page');
     } else {
         if ($cs_node->getName() == "team") {
             $cs_counter_node++;
             get_template_part('page_team', 'page');
         } elseif ($cs_node->getName() == "accordions") {
             $cs_counter_node++;
             cs_accordions_page();
         } elseif ($cs_node->getName() == "tabs") {
             $cs_counter_node++;
             echo cs_tabs_page();
         } elseif ($cs_node->getName() == "services") {
             $cs_counter_node++;
             cs_services_page();
         } elseif ($cs_node->getName() == "video") {
             $cs_counter_node++;
             echo cs_video_page();
         } elseif ($cs_node->getName() == "quote") {
             $cs_counter_node++;
             echo cs_quote_page();
         } elseif ($cs_node->getName() == "column") {
             $cs_counter_node++;
             cs_column_page();
function cs_shortcode_pb_accordion($atts, $content = "")
{
    global $cs_node, $acc_counter;
    $content = str_replace("[accordion_item", "<accordion_item", $content);
    $content = str_replace("[/accordion_item]", "</accordion_item>", $content);
    $content = str_replace('accordion="accordion"]', ">", $content);
    $content = str_replace(']', ">", $content);
    $content = str_replace("<br />", "", $content);
    $content = str_replace("<p>", "", $content);
    $content = str_replace("</p>", "", $content);
    $content = "<accordion>" . $content . "</accordion>";
    $content = htmlspecialchars(stripslashes($content));
    $content = str_replace('&', '', $content);
    $content = str_replace(array('amp;#8221;', 'lt;', 'gt;'), array('"', '<', '>'), $content);
    $cs_node = new stdClass();
    $cs_node->accordion_element_size = "";
    $cs_node->accordion_content = $content;
    return cs_accordions_page();
}