short code output too early
How can I insert my plugin code via shortcode inside post body in exact position?
The problem is that wp engine inserts the plugin code BEFORE post body all the time. Can it be fixed?
For example: I have some
[shortcode option="value"], that generates some text with image inside div container. When I put it inside the post AFTER the text, wp outputs this code:
<div> here is my plugin code </div> <p> here is the text of the post </p>
… and so it gets in the top of the post.
Where is my fault?