• Hi, why my shortcode of easytimetable always BEFORE all content? How can i display it where I want? I tried to change from echo,print to return but im not coding much so can u help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Hi rksmartus

    You have to return the shortcode output. If that doesn’t work post the shortcode here.
    posting code

    • This reply was modified 6 years, 5 months ago by keesiemeijer. Reason: Change link

    Hi rksmartus

    Keesiemeijer is correct, I think i’ll just add to that with an example to return the shortcode.

    <?php 
    $display = '';
    $display .= 'information you wish to return, this can also be form fields and so on';
    $display .= 'another line with more information like a header <h2>Title</h2>';
    return $display;
    ?>

    Hope this helps

    • This reply was modified 6 years, 5 months ago by Design2code.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode above contect’ is closed to new replies.