When I print a url onto my site, it automatically gets wrapped in:

<blockquote class="wp-embedded-content" data-secret="tDj3qpdVAi"><a href="https://www.example.com/">Example Domain</a></blockquote>

even though all I printed to the page is "https://www.example.com/". What is this mechanism and how can I disable either on a specific page or site-wide?

What I Tried

  • in order to do this you would need to copy paste the URL into the content, it would need to be on its own on a blank line, and not a link. If you make it a link, or put other text on that line, then the problem would not occur
    – Tom J Nowell
    May 23, 2022 at 14:38
  • it is just a url, there is no link until this mechanism makes one using the plain text url.
    – ubsd
    May 23, 2022 at 15:57
  • I'm just describing how the behaviour is intended to work, if there's literally anything other than the URL on the line it won't happen, otherwise a URL on a line on its own that is not a hyperlink will be interpreted as an OEmbed and WP will try to replace it with the relevant embed on display. Try it with a youtube video and you'll see it turn into a video player on the frontend. Knowing this it should allow you to avoid the problem while figuring out the answer to this question, and it provides helpful info for anybody trying to answer it
    – Tom J Nowell
    May 23, 2022 at 16:29
  • hmm you are right, but I want the URL to appear to be on the line by itself... is there an invisible character or <noombed> or something that I can put on the line to prevent the transformation but still look like its by itself?
    – ubsd
    May 23, 2022 at 17:03

1 Answer 1


Print that plain text url as a link:

<a href=“https://example.com”>https://example.com</a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.