Questions tagged [embed]
Wordpress supports several methods to include content from other sites in your site using its own API.
294
questions
0
votes
0
answers
16
views
Would it be possible to disable embeds for specific user roles? If so, how?
I would like to disable embeds for specific custom user roles. I found this solution to disable embeds from WPPagebuilders:
function my_deregister_scripts(){
wp_dequeue_script( 'wp-embed' );
}
...
0
votes
0
answers
36
views
Not allowing my site to be embedded elsewhere via oEmbed
Kind of "bizarre" question here.
Is there a way to disable the possibility of embedding (via oEmbed) my site elsewhere and instead having only the URL shown?
If you copy a URL into the block ...
0
votes
0
answers
12
views
Embedding a custom live chat (gen. from Salesforce) into my WordPress header
I'm having trouble embedding a custom live chat (gen. from Salesforce) into my WordPress header. Don't have PRO access. Any suggestions please?
2
votes
1
answer
171
views
Override base Gutenberg block default spacing in child theme's theme.json
I am trying to change the default top spacing (margin) for the Embed block used in Gutenberg. I noticed that for some reason, the default setting is
.wp-block-embed {
margin: 0 0 1em;
}
which ...
1
vote
0
answers
20
views
Prevent using oEmbed for a specific domain
We have a custom block that lets people embed content from https://somedomain.com.
The problem is that somedomain.com supports oEmbed poorly, and we’d rather use our own block.
Currently, if someone ...
0
votes
0
answers
44
views
add_filter is failing to append &rel=0 to end of YouTube URL in oEmbed
I'm working with a WordPress website owner who wants to only display their own videos in the "Related Videos" at the end of each embedded video. I've used Chrome Inspector to demonstrate ...
0
votes
1
answer
107
views
Including plain text URL to post on same site is converting the URL to an embed
If I paste a plain text link (non-hyperlinked) to a post on the same site (using Classic Editor) it converts the post's URL to an iFrame embed.
For example if my site is https://mysite.local and the ...
0
votes
0
answers
95
views
Youtube embedded videos unavailable
Three days ago all the embedded videos were working perfectly. Now some of them work but most show the message "Video unavailable" and a link to watch it on YouTube.
On debug info, I receive ...
0
votes
0
answers
12
views
Replacing embedded post images from another site
I am migrating a site to a new domain which contains post with embedded images. Is there an automated way for me to get the images uploaded to my site and replace the embedded of the old domain with ...
0
votes
0
answers
167
views
Embedding WhatsApp group discussion into website
WhatsApp groups are popular today. I thought to embed WhatsApp group into a website. Searched on WordPress.org repository but could not find anything. There are many plugins related to WhatsApp chat ...
0
votes
0
answers
67
views
wp_editor mce-view
We are using the wp_editor on a page on the front-end to allow subscribers to create a cpt post.
We added support for auto-turning youtube urls into embed tags:
function mce_scripts() {
...
0
votes
0
answers
24
views
(plesk)After adding 1000 youtube url to my 1000 different wordpress article, my all websites doesnt show yt url as embed
i added 1000 article with 1000 youtube url, i directly pasted youtube url, but after that, including that site, my all sites on my dedicated hosting doesnt show the youtube embed after i paste direct ...
0
votes
1
answer
132
views
How to add embed image in comments?
I'm looking for a way to display the images when the commenter adds a simple link to this image (without plugin, without upload, nor activate TinyMCE). For now, when the commenter adds a link to an ...
2
votes
1
answer
238
views
How to anchor to embed video
How would I create an anchor link from the Test text to the embed conten? I tried adding an id="03T" inside of the div within the embed comment block. However, when doing that I am unable to ...
1
vote
0
answers
346
views
What purpose does /embed/ URL have and how to avoid SEO problems?
I've noticed this with many WordPress projects (and clients) over the years so I thought it was worth a public thread. When you interlink a post/page that has embedding enabled, the iframe source will ...