Getting unwanted embed code

  • Unknown's avatar

    Hello, I know very little about wordpress, so please excuse me if my questions are dumb.

    I have a blog on wordpress.com and I have an issue with it.
    The code editor is adding extra stuff that makes the post look wrong.
    I just want to add a few links like this:
    https://www.example.com/page1.html
    https://www.example.com/page2.html

    I use the Code Editor and I add simple links but for some of them, the editor is adding some extra, unwanted stuff like this:

    ..

    And then it adds the link, and it changes the link text. Instead of putting the link as link text, it is adding the title of the page linked

    It is really annoying, I just wish I could add plain links to my post without any fancy.

    For the rest of the links, it is converting them into this:

    https://www.example.com/page1.html

    But sometimes it is adding that unwanted ‘wp-embedded-content’ stuff

    Is there any way to prevent this from happening?

    Thanks for reading this

  • Unknown's avatar

    Well I did something wrong in the question, it is not showing the code as I indended:

    <p>

    It is not possible to edit my own question to fix it?

    I pretty much feel kinda lost now..
    Hard for eme to even ask something properly.

  • Unknown's avatar

    < blockquote class=”wp-embedded-content” data-secret=”epiO5KarvK”><p>

  • Hello there,

    Many thanks for reaching out.

    Can you point us toward the post you’re working on please so that we can take a look.

    It doesn’t look like the code you described has rendered into the forum – are you able to provide a screenshot of this please?

    A good tool to share this with is: https://snipboard.io/

    Many thanks in advance.

  • Unknown's avatar

    Many thanks for your reply!

    I think it is quite very bad the fact that the forum does not have the option to edit messages.
    At very least it should have a preview, so you know how your post will look like before posting. If it doesn’t look well, then you have a chance to correct it.
    But having no edit and no preview is..

    Well one such post is here:

    Vanilla WoW addons by category

    For example this link
    https://legacy-wow.com/vanilla-addons/ct-mailmod/
    instead of getting
    https://legacy-wow.com/vanilla-addons/ct-mailmod/
    I am getting this:
    [empty line]
    CT MailMod
    [empty line]

    I am just posting a set of links, one per line
    And for most of them, the text of the link – or the caption – or the description or whatever you want to call it – is the link itself. And that’s what I need.
    But for some links, the description is not the link itself. Instead, Wordpres.com is downloading that link, it reads the title on that page and it changes the description with the title of that page. And it’s allso adding some empty lines before and after that link
    I don’t need that. I just need it to show the plain link just like the rest of the links.

    When I inspect the code, I find that extra stuff:
    < blockquote class=”wp-embedded-content” data-secret=”gh1xmwyhqw”>< p>

    Is there a fix for this?

  • Hello there,

    Many thanks for that information.

    For example this link
    https://legacy-wow.com/vanilla-addons/ct-mailmod/
    instead of getting
    https://legacy-wow.com/vanilla-addons/ct-mailmod/
    I am getting this:
    [empty line]
    CT MailMod
    [empty line]

    Ok, when I look at that post, those links are blockquotes, rather than ordinary paragraph blocks.

    Are you copying and pasting this from somewhere else? If yes, can you share this please.

    It sounds like you’re wanting add links normally, as seen here: https://wordpress.com/support/links/#add-links-to-posts-pages-and-widgets – is that correct?

    Many thanks.

  • Unknown's avatar

    Thanks for the reply.

    I copy from my text file from my computer. I have a text file where I update that info. Sometimes I upload that text file to my wordpress blog post.

    Please consider that I am using the code editor.

    My text file looks like this:

    <b>Quest level in Quest Log:</b>
    
    FastQuest
    https://github.com/laytya/EQL3 CT_QuestLevels - http://www.vanilla-addons.com/dls/ctmod/

    I used the code option, but since I have no edit and no preview, I will use quote too:

    <b>Quest level in Quest Log:</b>

    FastQuest


    https://github.com/laytya/EQL3
    CT_QuestLevels – http://www.vanilla-addons.com/dls/ctmod/

    It is a simple text file with absolute minimum html code (< b>)

  • Unknown's avatar

    This is in fact the lines that wordpress treat differently:

    <b>Mail:</b>
    https://github.com/shirsig/Mail
    https://github.com/wow-vanilla-addons/Postal
    
    CT MailMod
  • Ah ok, placing a URL on an empty line can trigger an oEmbed if it’s available.

    Instead, try, for example:

    <a href="https://legacy-wow.com/vanilla-addons/ct-mailmod/">https://legacy-wow.com/vanilla-addons/ct-mailmod/</a>

    As long as it’s not a bare URL, it won’t trigger any available oEmbeds.

  • Unknown's avatar

    Thanks

    Why it triggers oEmbed only sometimes? Why not always?
    How is this a useful feature anyways to trigger an action randomly, sometimes?

  • Unknown's avatar

    Is there any way to disable this “awesome” oEmbed feature that randomly triggers for certain links?

  • Hello there,

    Why it triggers oEmbed only sometimes? Why not always?
    How is this a useful feature anyways to trigger an action randomly, sometimes?

    It depends on the link and what’s being shared, it wouldn’t be possible to embed a link that has little to nothing behind it for instance.

    Is there any way to disable this “awesome” oEmbed feature that randomly triggers for certain links?

    Currently, that’s not possible.

    You may want to use the suggestion provided above and in the meantime use:

    
    <a href="https://legacy-wow.com/vanilla-addons/ct-mailmod/">https://legacy-wow.com/vanilla-addons/ct-mailmod/</a>
    
    

    I hope this helps.

  • The topic ‘Getting unwanted embed code’ is closed to new replies.