Wordpress supports several methods to include content from other sites in your site using its own API.

learn more… | top users | synonyms

0
votes
0answers
9 views

Embed a local page in to a post?

I've been trying to find a good way to embed a page from my domain into a WordPress page also hosted on my domain. My search brought me to a plugin called 'Advanced iFrame', but as you can see HERE, ...
0
votes
0answers
13 views

WordPress new embeds don't work

I'm trying to use this new WordPress functionality, that allows me to embed WordPress posts from one site to another. The one, where you just drop a link to a post and it transforms into a nice iframe....
1
vote
1answer
949 views

Any way to use a custom Parameter for vimeo embed without using an iframe?

I am trying to get some oembed parameters attached to my Vimeo clips. I tried to get it going using the following two instructions: Passing Parameters to a Vimeo link in a WordPress Custom Field - ...
0
votes
2answers
782 views

Embed IPB forums to wordpress page

I have a community that is really forum driven, and after messing with most major content management systems, I've really liked Wordpress for Its front news pages/blog posts. The issue that I'm ...
0
votes
1answer
15 views

Media previews on posts

Firstly a quick disclaimer - I'm fairly inexperienced when it comes to WordPress. I'm a programmer by profession but don't work with PHP or wordpress a lot. I've just done a theme change on a blog ...
0
votes
3answers
53 views

custom field (video/audio url) and embed functionality

I was wondering if there is any way to combine a custom field (in custom post type) with an embed shortcode? Long story short - a user type into a field called videox and an url for a video (youtube, ...
1
vote
1answer
18 views

Setting youtube size in functions.php

I'm using the code below to set the width and height of youtube embeded links ////////////////////////////////////////////////////////////////// // Youtube shortcode //////////////////////////////////...
0
votes
0answers
16 views

Turn shortcode into HTML view right after the user types it in the admin editor

WordPress automatically embeds from many providers. Let's say I type an URL from YouTube in the admin editor, it instantly shows the video at "Visual" tab, the iframe embed, but the URL remains ...
0
votes
2answers
735 views

pdf (25MB) - how to display and enable download?

I have tried to upload it simply through the media library ,but it didnt display correctly (very low resolution) and some users couldnt even see it (just an empty space) ,so I used an iframe tag in a ...
2
votes
2answers
3k views

Get first video from the post (both embed and video shortcodes)

The goal is to grab the first video (embed or shortcode) from the post. So we need to check post content if it has embedded videos ( supported by WP ) or [video] shortcodes. Multiple videos and embeds ...
1
vote
2answers
34 views

OEmbed from Pinterest

I'm looking for a way to show a certain pinterest pinboard in a post. I've found in the WordPress.com Documentation that you can simply post your pinboards URL there. This is not possible on a ...
0
votes
1answer
463 views

How to create a shortcode for embedding pdf in iframe?

General information I am creating a site with WordPress. For the content I want that the PDF files can be embedded inside an iframe. So I first created a WordPress function to hook in ...
1
vote
1answer
54 views

How to change WordPress embedded player size or show just the play button

Even though I tried to alter the width of the embedded player size [embed] which looks this using [embed width="50" height="50"], but no matter what value I use it will not change the size. ...
0
votes
1answer
17 views

CartoDB embedding doesn't work

I added some custom php to my site in order to be able to embed a leaflet map using an [iframe src=""] tag. This works. More recently I've wanted to embed a CartoDB map. e.g. [iframe src="https://...
2
votes
1answer
21 views

Hiding Comments Icon On oembed

I need to hide the comments icon on oEmbed widgets or disable the comments icon feature completely. I've been looking at the following links: https://developer.wordpress.org/reference/files/wp-...
0
votes
0answers
31 views

how to apply filter to url of wordpress embed shortcode

I use wp embed shortcode to embed videos from my server into my posts. For some reasons i changed my server address and now i want to apply the following function to url of wp embed shortcode. Please ...
0
votes
0answers
18 views

Some oEmbeds in posts getting corrupted and then just staying URLs

When inserting in Tweet URLs into a post, all the URLs will work initially and be automatically converted to the Embed. However, after the post is edited and saved a few times, I notice that some of ...
0
votes
0answers
24 views

My Wordpress editor deletes all characters after emoji - how can I fix this?

Here's my issue: I have an Instagram post that I want to embed. I go to Instagram, I get the embed code, which includes emoji, I paste it into the WP editor on a new post (note that I am on the "text" ...
0
votes
0answers
33 views

Embed an audio file from Dropbox

Is there any way I can embed an audio file hosted in Dropbox to play within a Wordpress site? (Like one can with YouTube, Vimeo videos?)
1
vote
1answer
51 views

Customize Embedded Tweets (or, How To Hide Photos in Embedded Tweets)

I'm relying on the WP functionality to embed a tweet. When I add a tweet URL, like so: https://twitter.com/SamFlowers/status/724417082247528448 to the editor, it expands and shows the following: ...
0
votes
0answers
62 views

Wrap Javascript embeds like Twitter and Instagram?

Is there a way to wrap Javascript embeds like Twitter and Instagram that don't use the iframe/embed type embedding? I am able to do this when those embeds (Twitter and Instagram) are using oEmbed, ...
14
votes
2answers
8k views

What does wp-embed.min.js do in WordPress 4.4?

Question What does the wp-embed.min.js file do? I noticed it is added to the end of my blog page footer. How can I get rid of it? Effort After some googling and I found Embeds on the Codex. Why ...
1
vote
1answer
20 views

How can I override print_embed_sharing_dialog() in Wordpress 4.5

Is there a way to hook into print_embed_sharing_dialog() and modify its output without hacking the core? We -really- dislike the new HTML output and Wordpress output options and want to display just ...
2
votes
6answers
14k views

Soundcloud embed shortcode does not work

The soundcloud short code does not seem to be working. I've tried over several days and it just shows up as raw code. Is this a glitch, has support officially been discontinued, is there some ...
0
votes
2answers
26 views

How to add style in functions.php depending on conditions?

I'm a newbie for coding, I would like to learn how to add css style conditionally in functions.php My header controlled by .header-outer class. What would it be the best way to add css depending on ...
1
vote
1answer
27 views

Video Embed with Captions in Turkish

I normally embed videos by directly writing the URL in the WP built in [embed] code. Like: [embed]https://www.youtube.com/watch?v=p_o4aY7xkXg[/embed] But now I want this video to open automatically ...
0
votes
0answers
42 views

Embed handler in custom field

I am trying to implement wordpress function wp_embed_register_handler() into a custom field. Using this instead of wp_oembed_add_provider(), for the urls I use do not offer oembed support. With help, ...
0
votes
1answer
25 views

TED talk embedded videos cut off by sidebar

I've published a post on a new WP site which includes two TED talk videos. I used embed codes supported through the Jetpack plugin (e.g. [ted id=2252]). My problem is that the right edge of the videos ...
1
vote
0answers
53 views

How can I remove the first video from a post and feature it?

I am trying to develop a theme in which when you select a 'video' post format, it automatically gets the first video from the post and features it (instead of where the featured image would normally ...
0
votes
2answers
54 views

oEmbded with wp_insert_post() [embedly]

I try to add articles via wp_insert_post but as it seems the oEmbed function of Wordpress doesn't work properly. I work with embedly as you can embed any website. I realized that the oEmbed ...
0
votes
0answers
9 views

Save to boolean custom field when video is embedded in post

For my site I want my visitors to be able to tick a checkbox to only include content (posts/pages) with video embeds in a search query. This would be possible if I stored the state (true/false) in a ...
0
votes
3answers
787 views

Convert all youtube link to embed

I have this function to convert any YouTube URL in any post or page to embed :- function embed_youtube_an($post_content) { global $posts; //preg_match('|http://www.youtube.com/watch?v=([a-zA-Z0-...
1
vote
1answer
54 views

disable video URL auto-embedding for a part of the post

In a post I want to add a list of URLs as a plain text. However, as some of URLs points to video sites, wordpress tries to embed those as videos. What is the way to disable this automatic embedding ...
0
votes
1answer
56 views

iframe with Youtube video appears for logged-in users, but not for incognito users

I have a YouTube video on a site's homepage, but when viewing the site as an unknown / non-logged-in user, it's NOT showing up at all. And when viewing in admin / a logged-in WP user of the site, it ...
2
votes
1answer
122 views

Manipulating oembed_dataparse stopped working for YouTube embeds

My go-to code to manipulate YouTube embeds does not work anymore. Can anyone explain to me what I am doing wrong? This is my code in functions.php // OEMBED FILTER function bolster_oembed_filter( $...
0
votes
0answers
61 views

Embedding Facebook in blog post not working

there once was this feature of embedding Facebook status posts simply by entering the URL see here or here (edited: apparently I misunderstood the content of that blog post). So now I am trying to ...
0
votes
0answers
89 views

How do i embed an alt text to a YouTube video link in my post?

This is my first post so please bear with me. I am not sure if this is possible but is there a way of embedding an alt text to a youtube video link in posts? Or is there another way around this? Many ...
0
votes
0answers
16 views

tinymce: how to replace stuff with stuff *permanently* after inserting

really need some help. Basically I need the following. If you enter a specific type if URL to the tinyMCE Post Editor, it shall be instantly replaced with other stuff. Mainly because this requires an ...
0
votes
0answers
24 views

tinymce wpview instance URL

I want some special URL types to be transformed in embedded content objects in the tiny MCE editor. I registered some them like that add_action('init', function() { ... ...
4
votes
4answers
473 views

Moving a PHP web-app to Wordpress

I've been running a niche job-search web-site for the past several years. I wrote it from scratch in PHP. Essentially it allows members to search for or post job ads. As you can imagine it has ...
0
votes
1answer
25 views

custom COOKIE on custom page

i have problem with create function for set cookie dynamically. when i try in custom page i have of course header is set and i tried something like this: in custompage.php: myfunction($cookiename,$...
0
votes
1answer
821 views

How to make my new theme read [youtube id=“id of the video here” width=“600” height=“350”]?

I recently changed the theme on my website, and now all my videos, which were used on the posts with this format: [youtube id="only the id here" width="600" height="350"] are not understood, ...
0
votes
1answer
26 views

What is the proper way to embed the HTML of an external form such as payflowlink from paypal?

I've had a request to paste in the following into a donations page for a group. The trouble is that WP is (rightfully) curtailing this HTML to prevent me or anyone from doing something less than ...
0
votes
1answer
33 views

set cookies or let system know a user has been on site

I would like to set a button on my site that links to a registration page (this registration is off site by a company called wufoo so it will not be registering on the wordpress site) if a visitor has ...
0
votes
0answers
41 views

Youtube - Embed as IFRAME

When I embed a YouTube video through the suggest manner (paste url) it adds this as an object. Is there a way to embed as IFRAME intsead?
0
votes
2answers
789 views

Embed PDF into wordpress

is there's a way to show a PDF file inside Post in wordpress ? i used tag but if someone have Internet Download Manager , Dialog will appear to Download the PDF file if visitor click cancel they ...
0
votes
0answers
53 views

How to wrap an element around youtube videos

function youtube_wrapper($postcontent) { // Match YouTube iFrames $youtubestring = '~<iframe.*youtube.*</iframe>~'; preg_match_all($youtubestring, $postcontent, $matches); ...
3
votes
1answer
388 views

How to add new embed handler not supported by oembed

I am looking to embed videos from websites that do not offer oembed support, but the reference offered on wp codex about wp_embed_register_handler() is just too broad for someone like me. I tried ...
0
votes
3answers
949 views

Embedding Youtube video on comments

In my posts, you can embed a video of Youtube by adding the link to the post. You don't have to do anything beside that. On my comments, I can't do the same thing. Is it possible to embed Youtube ...
0
votes
1answer
162 views

Hook WP_Embed run_shortcode

I want to hook run_shortcode inside WP_Embed, but I can't figure out how to pass $tag argument to add_filter global $wp_embed; add_filter( '$wp_embed->run_shortcode' , 'my_run_shortcode' , 0); ...