empty get_the_content
Hello,
$output = '[su_tabs vertical="yes"]';
// Posts are found
if ( $posts->have_posts() ) {
while ( $posts->have_posts() ) {
$posts->the_post();
global $post;
$output .= '[su_tab title="';
$output .= get_the_title();
$output .= '" disabled="no" anchor="" url="" target="blank" class=""]';
$output .= get_the_content();
$output .= "[/su_tab]";
}
}
$output .= "[/su_tabs]";
//echo $output;
echo do_shortcode($output);
?>
I have post formated by Muffin Builder and when I use php function get_the_content() respond is blank.
This is my code:
$output = '[su_tabs vertical="yes"]';
// Posts are found
if ( $posts->have_posts() ) {
while ( $posts->have_posts() ) {
$posts->the_post();
global $post;
$output .= '[su_tab title="';
$output .= get_the_title();
$output .= '" disabled="no" anchor="" url="" target="blank" class=""]';
$output .= get_the_content();
$output .= "[/su_tab]";
}
}
$output .= "[/su_tabs]";
//echo $output;
echo do_shortcode($output);
?>
Is there any solution how to get Muffin Builder with get_the_content() function?
Comments
the right side at http://themeforest.net/user/muffingroup#contact and
Thanks