Embedded URLs show up in Admin but not on real page
-
Hi, this question concerns free WordPress.com Themes.
I am very satisfied with Baskerville 2 because of the wide range of possibilities to embed news articles and videos, from other sites and YouTube. But I got enchanted by TwentySeventeen because it enables video-header. So I tried out TwentySeventeenwith the new sites I am planning to launch, if it could also embed external articles (they appear beautifully in small windows with featured image and quotation on Baskerville2 even if inside my own text).
While (in the case of TwentySeventeen) I did the same like in the case of Baskerville 2 (actually nothing just entering the URL) and the embeds in fact do show up perfectly inside the Admin version, also YouTube links open up, but as soon as I check it on the published page, it is not there and only the “dry” URL is seen as a link. I have tried to find embedding codes on different forums and tried them, but they did not work. I am not familiar with coding anyway and wish to have such a simple embedding as Baskerville 2 has: entering an URL and it does the rest.
I have also tried a few other Themes with advertised embedding, but none of them worked on the published page, only inside the Admin.
Now I am asking a few questions here:
1. Is there a rule which I am not aware of, for free WordPress sites and free Themes that only long-time and established websites show embedded links on published pages? (My Baskerville 2 website is from 2014)
2. How it can happen that the other Themes (TwentySeventeen and many other beautiful ones I tried) all do show the URLs in embed windows while I am still in the Admin, but do not show them on the published page? Where am I doing the mistake?
3. If there is no other solution, could you please advise a free Theme which would enable video header like TwentySeventeen and also works without problems with embedded URLs like Baskerville 2?
Many thanks!
The blog I need help with is: (visible only to logged in users)
-
Hi –
Thanks for writing to us. You should absolutely be able to embed YouTube or other supported links on any theme. That is a WordPress.com-wide feature and not theme specific. It doesn’t matter if it a free site or a free theme either.
Please send along a link to a post or page where you are unable to get the embeds working and we will be able to take a closer look from there.
-
Hello, Thank you for answering.
The link tested is for the article “How Nepal’s forensics infrastructure lets perpetrators get away with crimes” which is showing embedded on my older Baskerville 2 site’s Homepage (4th article down) https://halkoriatimes.wordpress.com/ as well as after clicking on the title https://halkoriatimes.wordpress.com/2019/09/09/how-nepals-forensics-infrastructure-lets-perpetrators-get-away-with-crimes/
But: If I am trying the same link on the TwentySeventeen new blog Homepage (4th article down) https://nepalnewsanalysis.wordpress.com/ or after clicking on the title https://nepalnewsanalysis.wordpress.com/2019/10/06/how-nepals-forensics-infrastructure-lets-perpetrators-get-away-with-crimes/ I am getting just a “dry” link without having been embedded like it is happening on Baskerville2.
I wish I could continue to use TwentySeventeen for this starting blog and get fully embedded articles with images already from the front-page, and embedded videos like on Baskerville2 because of the specific area (comparing and analyzing news from other sites). TwentySeventeen is otherwise ideal for my purpose and I prefer its video header option.
Thank you for advise!
-
I’m not sure I follow. What exactly are you trying to embed? I don’t see any embedded content on the Baskerville-2 site, nor any links that should be embedded on either of the posts you link to.
The only link I see in either post is https://www.recordnepal.com/wire/category-explainers-how-nepals-forensics-infrastructure-lets-perpetrators-get-away-with-crimes/, and that’s not embeddable.
Looking at those posts in the editor, it appears you added that link to the posts using the Add Media ->Insert from URL option, but that cannot be used to just embed any website you want. That option works exclusively for media file URLs.
Embedding content from any other website relies on pasting the link itself directly into a new line/new block in the editor, not using the Add Media button, and will only work if the site you’re embedding from supports the oEmbed protocol, AND has specifically been whitelisted for use on WordPress.com. The site at recordnepal.com meets neither of those criteria.
The post on your Baskerville-2 site that content is not being embedded. All the content you see in that post also exists in the editor, meaning someone typed or pasted all that content into the editor, and the image was explicitly set as the featured image. None of that can happen automatically.
The post on the TwentySeventeen site contains only the link, because that’s the only content that was added for that post inside the editor.
You can find the sites for which we do support embeds listed here:
https://en.support.wordpress.com/category/embedding-content/
-
Thank you for answering. In the meantime (did WordPress fix something?) some URLs did start to show up as embedded excerpts also on my TwentySeventeen site, for example https://nepalnewsanalysis.wordpress.com/2019/10/08/un-australia-eu-nations-concerned-the-himalayan-times/ . But not all which should. That’s why let me try again:
Just to clarify: I understand the difference between
1, adding media (I don’t call this embedding)
2, and adding an URL to an empty new line (without hyperlinking it) as an embed.My question was concerning the second option, which is perfectly working with Baskerville 2 and not working with the other site with the Theme TwentySeventeen for the very same URLs.
On Halkoriatimes.wordpress.com (Baskerville 2)
I enter the URL of https://www.recordnepal.com/wire/category-explainers-how-nepals-forensics-infrastructure-lets-perpetrators-get-away-with-crimes/ and it immediately unfolds with their image and their excerpt
1. inside my Admin page
2. as well as on the Home Page of my Halkoriatimes.wordpress.com site
3. and on the main article page after clicking on the title added by myselfOn Nepalnewsanalysis.wordpress.com (TwentySeventeen)
I enter the same URL https://www.recordnepal.com/wire/category-explainers-how-nepals-forensics-infrastructure-lets-perpetrators-get-away-with-crimes/ and, again, it immediately unfolds with their image and their excerpt
1. But only inside my Admin page
2. and not on the Front Page for that Category
3. and not on the main article page after clicking the title given by myselfThis concerns many other embedding-supported URLs too. I used this article just as one example.
Many thanks for eventual fixing or explaining.
-
Sorry, you are right, the Home Page for that category on the Baskerville 2 also did not show the embed for that particular URL and I added the featured image and title myself. But it did show the embed after clicking on the title, on the article page as a proper embedded excerpt with their image.
Better example is the URL http://buddhism-controversy-blog.com/2019/02/25/jamgon-mipham-did-not-incarnate/ behaving differently on both Themes:
After a mere entering of the URL to the Admin post edit window and giving a title by myself It shows up on the page of that category as an unfolded excerpt:
https://halkoriatimes.wordpress.com/category/tibetan-buddhism-controversies/
As well as after clicking on the article title it shows a classical embed with excerpt, their image and link to “read more”:
Jamgon Mipham did not incarnate — Tibetan Buddhism – Struggling With Diffi·Cult Issues
If I do the same with the same URL on the TwentySeventeen site Nepalnewsanalysis.wordpress.com:
It does not unfold as embed on the category page:
https://nepalnewsanalysis.wordpress.com/category/religion/, and the link behaves like a hyperlink.
Maybe now it is clearer what did I mean. Thank you for looking into it.
-
This is more just a difference in how the theme’s designer wanted their theme to operate.
There are two types of content loops in WordPress,
the_content(which shows all content and executes any HTML), andthe_excerpt(which shows a plain text except where HTML is not executed and just part of the plain text).All themes of course use
the_contentfor single post/page views, and many also use it for post listings, but some do usethe_excerptfor post links instead, which is what you’re seeing here.Overall, nothing is broken or wrong, it’s just a difference in how the two theme designers want their themes to operate.
- The topic ‘Embedded URLs show up in Admin but not on real page’ is closed to new replies.