Why does my short code get executed before other content?

By popular demand:

The solution is simply to replace print to return . Shortcodes should always return the value instead of printing or echoing it out.

Leave a Comment