• My users are creating posts on the ‘front’end’ of wordpress, and are doing this within an custom styled iframe overlay.

    After publishing the post, the standard message appears ‘Post updated. View Post.’

    Because the user is in an iframe overlay, clicking view post keeps them within the iframe and breaks the experience.

    I’d like to force the ‘view post’ button in a new tab with _blank, but I assume this needs to be a function, I can’t find a way to do it. Alternatively, hitting view post could close the iframe and go to the post.

    Thanks,

    Ian

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Force 'view post' to open in a new tab after publish’ is closed to new replies.