Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ll bet that you’ve echo’d the output of your shortcode?

    That’s the most common issue with this, so easy to pick up. The solution is pretty easy too. Just use ob_start() and buffer the content, or build a string with all of the HTML content and them return the result of which ever one you decide on.

    Remember that shortcodes always have to return their content, not output it.

    Thread Starter Rey Den Nalasa

    (@raiden08)

    Got it, I’ll give it a try.

    Thread Starter Rey Den Nalasa

    (@raiden08)

    It did work @catacaustic. Had to do this. Thank you.

     
    $output = ob_get_clean();
    return $output;
    
    
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode displays first rather than column after publish’ is closed to new replies.