/**
  *
  */
 function button($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Button', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'button', 'options' => array(array('name' => __('Button Text', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('This is the text that will appear on your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'text'), array('name' => __('Link Url', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Paste a URL here to use as a link for your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'link', 'default' => '', 'type' => 'text'), array('name' => __('Size <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('You can choose between three sizes for your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'size', 'default' => '', 'options' => array('small' => __('small', MYSITE_ADMIN_TEXTDOMAIN), 'medium' => __('medium', MYSITE_ADMIN_TEXTDOMAIN), 'large' => __('large', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), array('name' => __('Color Variation <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose one of our predefined color skins to use with your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'variation', 'default' => '', 'target' => 'color_variations', 'type' => 'select'), array('name' => __('Custom BG Color <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Or you can also choose your own color to use as the background for your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'bgColor', 'type' => 'color'), array('name' => __('Custom Text Color <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('You can change the color of the text that appears on your button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'textColor', 'type' => 'color'), array('name' => __('Align <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Set the alignment for your button here.<br /><br />Your button will float along the center, left or right hand sides depending on your choice.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'align', 'default' => '', 'options' => array('center' => __('center', MYSITE_ADMIN_TEXTDOMAIN), 'left' => __('left', MYSITE_ADMIN_TEXTDOMAIN), 'right' => __('right', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), array('name' => __('Target <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __("Setting the target to 'Blank' will open your page in a new tab when the reader clicks on the button.", MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'target', 'default' => '', 'options' => array('blank' => __('Blank', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), 'shortcode_has_atts' => true));
         return $option;
     }
     extract(shortcode_atts(array('size' => '', 'align' => '', 'link' => '#', 'target' => '', 'variation' => '', 'bgcolor' => '', 'textcolor' => ''), $atts));
     $size = $size == 'large' ? ' large_button' : $size;
     $size = $size == 'medium' ? ' medium_button' : $size;
     $size = $size == 'small' ? ' small_button' : $size;
     $align = $align ? ' align' . $align : '';
     $target = $target == 'blank' ? ' target_blank' : '';
     $variation = $variation && empty($bgcolor) ? ' ' . $variation : '';
     $styles = array();
     if ($bgcolor) {
         $styles[] = 'background-color:' . $bgcolor . ';border-color:' . $bgcolor . ';';
     }
     if ($textcolor) {
         $styles[] = 'color:' . $textcolor . ';';
     }
     $style = join('', array_unique($styles));
     $style = !empty($style) ? ' style="' . $style . '"' : '';
     $out = '<a href="' . esc_url($link) . '" class="button_link hover_fade' . $size . $target . $align . $variation . '"' . $style . '><span>' . mysite_remove_wpautop($content) . '</span></a>';
     return $out;
 }
 /**
  *
  */
 function minimal_table($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Minimal Table', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'minimal_table', 'options' => array('name' => __('Table Html', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the content of your table.  You need to use the HTML table tags when typing out your content.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea'), 'shortcode_carriage_return' => true);
         return $option;
     }
     return str_replace('<table>', '<table class="minimal_table">', mysite_remove_wpautop($content));
 }
 /**
  *
  */
 function fancy_header3($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Fancy Header 3', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'fancy_header3', 'options' => array(array('name' => __('Header Text', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the text you wish to display as your header.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea'), array('name' => __('Color Variation <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose one of our predefined color skins to use with your header.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'variation', 'default' => '', 'target' => 'color_variations', 'type' => 'select'), array('name' => __('Custom Text Color <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('You can change the color of the text that appears on your header.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'textColor', 'type' => 'color'), 'shortcode_has_atts' => true));
         return $option;
     }
     extract(shortcode_atts(array('variation' => '', 'textcolor' => ''), $atts));
     $variation = $variation && empty($textcolor) ? ' class="' . trim($variation) . '_text"' : '';
     $style = $textcolor ? ' style="color:' . trim($textcolor) . ';"' : '';
     return '<h6 class="fancy_header3"><span' . $variation . $style . '>' . mysite_remove_wpautop($content) . '</span></h6>';
 }
 /**
  *
  */
 function highlight4($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Highlight 4', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'highlight4', 'options' => array(array('name' => __('Highlight Text', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the text that you wish to display with your highlight.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea'), 'shortcode_has_atts' => true));
         return $option;
     }
     extract(shortcode_atts(array('css' => '', 'classes' => ''), $atts));
     if (!empty($css)) {
         $css = ' style="' . $css . '"';
     }
     if (!empty($classes)) {
         $classes = ' ' . $classes;
     }
     return '<span class="highlight4' . $classes . '"' . $css . '>' . mysite_remove_wpautop(do_shortcode($content)) . '</span>';
 }
 /**
  *
  */
 function squeeze_list($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Squeeze List', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'squeeze_list', 'options' => array(array('name' => __('Style', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose the style of the squeeze list that you wish to use. Each one has a different icon.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'style', 'default' => '', 'options' => array('checkmark_list' => __('Checkmark List', MYSITE_ADMIN_TEXTDOMAIN), 'arrow_list' => __('Arrow List', MYSITE_ADMIN_TEXTDOMAIN), 'alert_list' => __('Alert List', MYSITE_ADMIN_TEXTDOMAIN), 'info_list' => __('Info Arrow', MYSITE_ADMIN_TEXTDOMAIN), 'no_list' => __('No Arrow', MYSITE_ADMIN_TEXTDOMAIN), 'plus_list' => __('Plus List', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), array('name' => __('List Html', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the content of your list. You need to use the &#60;ul&#62; and &#60;li&#62; elements when typing out your list content.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea', 'return' => true), 'shortcode_has_atts' => true, 'shortcode_carriage_return' => true));
         return $option;
     }
     extract(shortcode_atts(array('style' => '', 'css' => '', 'classes' => ''), $atts));
     $style = $style ? ' ' . trim($style) : ' checkmark_list';
     if (!empty($css)) {
         $css = ' style="' . $css . '"';
     }
     if (!empty($classes)) {
         $classes = ' ' . $classes;
     }
     $content = str_replace('<ul>', '<ul class="squeeze_list' . $style . $classes . '"' . $css . '>', $content);
     return mysite_remove_wpautop(do_shortcode($content));
 }
 /**
  *
  */
 function dropcap4($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Drop Cap 4', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'dropcap4', 'options' => array(array('name' => __('Drop Cap Text', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the letter you wish to display as your dropcap.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'text'), array('name' => __('Color Variation <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose one of our predefined color skins to use with your dropcap.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'variation', 'default' => '', 'target' => 'color_variations', 'type' => 'select'), array('name' => __('Custom BG Color <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Or you can also choose your own color to use as the background for your dropcap.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'bgColor', 'type' => 'color'), array('name' => __('Custom Text Color <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('You can change the color of the text that appears on your dropcap.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'textColor', 'type' => 'color'), 'shortcode_has_atts' => true));
         return $option;
     }
     extract(shortcode_atts(array('variation' => '', 'bgcolor' => '', 'textcolor' => ''), $atts));
     $variation = $variation && empty($bgcolor) ? ' ' . $variation : '';
     $styles = array();
     if ($bgcolor) {
         $styles[] = 'background-color:' . $bgcolor . ';border-color:' . $bgcolor . ';';
     }
     if ($textcolor) {
         $styles[] = 'color:' . $textcolor . ';';
     }
     $style = join('', array_unique($styles));
     $style = !empty($style) ? ' style="' . $style . '"' : '';
     return '<span class="dropcap4' . $variation . '"' . $style . '><span>' . mysite_remove_wpautop($content) . '</span></span>';
 }
 /**
  *
  */
 function accordion_group($atts = null, $content = null)
 {
     $out = '';
     if (!preg_match_all("/(.?)\\[(toggle_framed)\\b(.*?)(?:(\\/))?\\](?:(.+?)\\[\\/toggle_framed\\])?(.?)/s", $content, $matches)) {
         if (!preg_match_all("/(.?)\\[(toggle)\\b(.*?)(?:(\\/))?\\](?:(.+?)\\[\\/toggle\\])?(.?)/s", $content, $matches)) {
             return mysite_remove_wpautop($content);
         } else {
             for ($i = 0; $i < count($matches[0]); $i++) {
                 $matches[3][$i] = shortcode_parse_atts($matches[3][$i]);
             }
             for ($i = 0; $i < count($matches[0]); $i++) {
                 $out .= '<h6 class="toggle_accordion"><a href="#">' . $matches[3][$i]['title'] . '</a></h6>';
                 $out .= '<div class="toggle_content" style="display: none;">';
                 $out .= '<div class="block">';
                 $out .= mysite_remove_wpautop($matches[5][$i]);
                 $out .= '</div>';
                 $out .= '</div>';
             }
             return '<div class="toggle_frame_set">' . $out . '</div>';
         }
     } else {
         for ($i = 0; $i < count($matches[0]); $i++) {
             $matches[3][$i] = shortcode_parse_atts($matches[3][$i]);
         }
         for ($i = 0; $i < count($matches[0]); $i++) {
             $out .= '<div class="toggle_frame">';
             $out .= '<h6 class="toggle_accordion"><a href="#">' . $matches[3][$i]['title'] . '</a></h6>';
             $out .= '<div class="toggle_content" style="display: none;">';
             $out .= '<div class="block">';
             $out .= mysite_remove_wpautop($matches[5][$i]);
             $out .= '</div>';
             $out .= '</div>';
             $out .= '</div>';
         }
         return '<div class="toggle_frame_set">' . $out . '</div>';
     }
 }
 /**
  *
  */
 function email_link($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Email Link', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'email_link', 'options' => array(array('name' => __('Link Text', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('This is the text that will display as your link.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'text'), array('name' => __('Email', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Paste the email that you wish to use here.<br /><br />When the reader clicks on this link an email client will open with your email ready.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'email', 'default' => '', 'type' => 'text'), array('name' => __('Color Variation <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose one of our predefined color skins to use with your link.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'variation', 'default' => '', 'target' => 'color_variations', 'type' => 'select'), array('name' => __('Target <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Setting the target to "Blank" will open your page in a new tab when the reader clicks on the button.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'target', 'default' => '', 'options' => array('blank' => __('Blank', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), 'shortcode_has_atts' => true));
         return $option;
     }
     extract(shortcode_atts(array('email' => '#', 'variation' => '', 'target' => ''), $atts));
     $email = trim($email);
     $variation = $variation ? " {$variation}_sprite {$variation}_text" : '';
     $is_email = preg_match('/^[a-z0-9&\'\\.\\-_\\+]+@[a-z0-9\\-]+\\.([a-z0-9\\-]+\\.)*?[a-z]+$/is', $email);
     if ($is_email) {
         $nospam = $email ? ' rel="' . mysite_nospam($email) . '"' : '';
         if ($email == trim($content)) {
             $content = mysite_nospam($content);
             $class = ' email_link_replace';
         } else {
             $class = ' email_link_noreplace';
         }
         $out = '<a href="#"' . $nospam . ' class="email_link' . $class . $variation . '">' . mysite_remove_wpautop($content) . '</a>';
     } else {
         $out = '<a href="' . $email . '" class="email_link' . $variation . '">' . mysite_remove_wpautop($content) . '</a>';
     }
     return $out;
 }
 /**
  *
  */
 function squeeze_box5($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('Squeeze Box 5', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'squeeze_box5', 'options' => array('name' => __('Box Content', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the content that you wish to display inside your box.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea'));
         return $option;
     }
     extract(shortcode_atts(array('css' => '', 'classes' => ''), $atts));
     if (!empty($css)) {
         $css = " style='" . $css . "'";
     }
     if (!empty($classes)) {
         $classes = ' ' . $classes;
     }
     return '<div class="squeeze_box5' . $classes . '"' . $css . '>' . mysite_remove_wpautop(do_shortcode($content)) . '</div>';
 }
 /**
  *
  */
 function margin90($atts = null, $content = null)
 {
     if ($atts == 'generator') {
         $option = array('name' => __('margin90', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'margin90');
         return $option;
     }
     return '<div class="margin90">' . mysite_remove_wpautop($content) . '</div>';
 }
 /**
  *
  */
 function framed_tabs($atts = null, $content = null)
 {
     extract(shortcode_atts(array(), $atts));
     $out = '';
     $i = 0;
     foreach ($atts as $tab) {
         $tabs[$i] = $tab;
         $i++;
     }
     if (!preg_match_all("/(.?)\\[(tab)\\b(.*?)(?:(\\/))?\\](?:(.+?)\\[\\/tab\\])?(.?)/s", $content, $matches)) {
         return mysite_remove_wpautop($content);
     } else {
         for ($i = 0; $i < count($matches[0]); $i++) {
             $out .= ' [tab title="' . $tabs[$i] . '"]' . $matches[5][$i] . '[/tab] ';
         }
     }
     return do_shortcode('[tabs_framed] ' . $out . ' [/tabs_framed]');
 }
 /**
  *
  */
 function tabs_vertical($atts = null, $content = null, $code = null)
 {
     if ($atts == 'generator') {
         $numbers = range(1, 10);
         $option = array('name' => __('Vertical Tabs', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'tabs_vertical', 'options' => array(array('name' => __('Number of tabs', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Select the number of tabs you wish to display.  The tabs are the selectable areas which change the content.  Vertical tabs will display on the left hand side.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'multiply', 'default' => '', 'options' => $numbers, 'type' => 'select', 'shortcode_multiplier' => true), array('name' => __('Tab 1 Title', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the title for your tab.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'title', 'default' => '', 'type' => 'text', 'shortcode_multiply' => true), array('name' => __('Tab 1 Content', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the content that will display with your tab.  Shortcodes are accepted.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea', 'shortcode_multiply' => true), array('value' => 'tab', 'nested' => true), 'shortcode_has_atts' => true));
         return $option;
     }
     if (!preg_match_all("/(.?)\\[(tab)\\b(.*?)(?:(\\/))?\\](?:(.+?)\\[\\/tab\\])?(.?)/s", $content, $matches)) {
         return mysite_remove_wpautop($content);
     } else {
         for ($i = 0; $i < count($matches[0]); $i++) {
             $matches[3][$i] = shortcode_parse_atts($matches[3][$i]);
         }
         $out = '<div class="tabs_vertical_frame">';
         $out .= '<span class="bg_top"></span>';
         $out .= '<ul class="tabs_vertical">';
         for ($i = 0; $i < count($matches[0]); $i++) {
             $out .= '<li' . ($i == 0 ? ' class="current"' : '') . '><a href="#">' . $matches[3][$i]['title'] . '<span></span></a></li>';
         }
         $out .= '</ul>';
         $out .= '<span class="bg_bottom"></span>';
         $out .= '</div>';
         for ($i = 0; $i < count($matches[0]); $i++) {
             $out .= '<div class="tabs_vertical_content">' . mysite_remove_wpautop($matches[5][$i]) . '</div>';
         }
         return '<div class="tabs_vertical_container">' . $out . '</div><div class="clearboth"></div>';
     }
 }
 /**
  *
  */
 function blockquote($atts = null, $content = null)
 {
     $option = array('name' => __('Blockquotes', MYSITE_ADMIN_TEXTDOMAIN), 'value' => 'blockquote', 'options' => array(array('name' => __('Blockquote Content', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Type out the text that you wish to display with your quote.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'content', 'default' => '', 'type' => 'textarea'), array('name' => __('Align <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Set the alignment for your quote here.<br /><br />Your quote will float along the center, left or right hand sides depending on your choice.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'align', 'default' => '', 'options' => array('left' => __('left', MYSITE_ADMIN_TEXTDOMAIN), 'right' => __('right', MYSITE_ADMIN_TEXTDOMAIN), 'center' => __('center', MYSITE_ADMIN_TEXTDOMAIN)), 'type' => 'select'), array('name' => __('Color Variation <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('Choose one of our predefined color skins to use with your quote.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'variation', 'default' => '', 'target' => 'color_variations', 'type' => 'select'), array('name' => __('Cite Name <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('This is the name of the author.  It will display at the end of the quote.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'cite', 'default' => '', 'type' => 'text'), array('name' => __('Cite Link <small>(optional)</small>', MYSITE_ADMIN_TEXTDOMAIN), 'desc' => __('If you found your quote online then paste the URL here.  It will display after the author.', MYSITE_ADMIN_TEXTDOMAIN), 'id' => 'citeLink', 'default' => '', 'type' => 'text'), 'shortcode_has_atts' => true));
     if ($atts == 'generator') {
         return $option;
     }
     extract(shortcode_atts(array('variation' => '', 'cite' => '', 'citelink' => '', 'citename' => '', 'citeimgcustom' => '', 'citeimgavatar' => '', 'cite_sc' => 'false', 'testimonial_sc' => 'false', 'raw' => 'true'), $atts));
     $variation = $variation ? ' class="' . trim($variation) . '_sprite"' : '';
     $cite = $cite ? ' <cite>&ndash; ' . $cite . $citelink . '</cite>' : '';
     if ($testimonial_sc == 'true') {
         if (!empty($citeimgcustom) || !empty($citeimgavatar) || !empty($cite_sc) || !empty($citelink)) {
             $cite = '<span class="testimonial_author">';
             if (!empty($citeimgcustom)) {
                 $gravatar_size = apply_filters('testimonial_gravatar_size', '40');
                 $cite .= '<span class="testimonial_image">' . mysite_display_image(array('src' => $citeimgcustom, 'title' => '', 'alt' => '', 'height' => $gravatar_size, 'width' => $gravatar_size, 'wp_resize' => mysite_get_setting('image_resize_type') == 'wordpress' ? true : false)) . '</span>';
             }
             if (!empty($citeimgavatar)) {
                 $cite .= '<span class="testimonial_image">' . get_avatar($citeimgavatar, apply_filters('testimonial_gravatar_size', '40'), THEME_IMAGES_ASSETS . '/testimonial_gravatar_default.png') . '</span>';
             }
             if (!empty($cite_sc) || !empty($citelink)) {
                 $cite .= '<span class="testimonial_meta">';
                 if (!empty($cite_sc) && $cite_sc != 'false') {
                     $cite .= '<span class="testimonial_author_name">' . $cite_sc . '</span>';
                 }
                 if (!empty($citelink)) {
                     $cite .= '<span class="testimonial_author_website"><a href="' . esc_url($citelink) . '" class="target_blank">' . (!empty($citename) ? $citename : $citelink) . '</a></span>';
                 }
                 $cite .= '</span>';
             }
             $cite .= '</span>';
         } else {
             $cite = '';
         }
     }
     if ($raw == 'true') {
         return '<blockquote' . $variation . '>' . mysite_remove_wpautop($content) . $cite . '</blockquote>';
     } else {
         return '<blockquote' . $variation . '>' . mysite_remove_wpautop($content) . $cite . '</blockquote>';
     }
 }