Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter FELiXik

    (@felixik)

    I tried to use

    [su_posts template="templates/my-list.php"]

    with my code:

    <?php echo do_shortcode("[su_tabs vertical=\"yes\"]"); ?>
    
    <?php
    // Posts are found
    if ( $posts->have_posts() ) {
    	while ( $posts->have_posts() ) {
    		$posts->the_post();
    		global $post;
    ?>
    
    <?php echo do_shortcode("[su_tab title=\". the_ID() .\" disabled=\"no\" anchor=\"\" url=\"\" target=\"blank\" class=\"\"]"); ?>
    
    <?php echo do_shortcode("[/su_tab]"); ?>
    
    <?php
    	}
    }
    ?>
    
    <?php echo do_shortcode("[/su_tabs]"); ?>

    but the only output to web is [/su_tab] [/su_tabs]

Viewing 1 replies (of 1 total)