Support » Plugin: Contact Form 7 » Possible bug with contact form shortcode at end of post

  • Hey everyone!

    I have an issue that might be a plugin bug or a wordpress bug or maybe it’s working as intended, but it just doesn’t seem like that. 🙂

    Whenever I add a contact form short code at the end of a post it seems that the shortcode doesn’t get included in what wordpress considers it to be post content as any other code injection after that shows up before the shortcode (thus before the form itself).

    For example, we have an ad unit right at the end of the post and when there’s no form in the post the ad unit displays correctly at the end of the post, but anytime we add a form at the end of that post, the ad displays above the form.

    We can solve this by either putting the form manually in a div or a paragraph tag or by simply adding another text after the form itself.

    Is this behavior meant to be like this or is this a bug? 🙂

    Thanks!

  • The topic ‘Possible bug with contact form shortcode at end of post’ is closed to new replies.