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

learn more… | top users | synonyms

1
vote
2answers
253 views

Wordpress get embedded/attachment video

I’m looking a way to get embedded video in PHP from WordPress post on a single.php page. I’ve implemented a slider that pulls post attachment images and would like to do the same for video. As the ...
1
vote
1answer
17 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 //////////////////////////////////...
1
vote
1answer
941 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 - ...
1
vote
1answer
394 views

How can I replace an oEmbed URL in post with actual embed HTML

What I want is to get the output of the Twitter oEmbed system into my actual posts. IMHO the embed output itself is high-quality, semantic HTML and I'd rather have it inside the post than in the embed ...
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
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
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
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); ...
0
votes
1answer
94 views

Do_Shortcode not working for Embed any tweet

I'm trying to use Custom Field types to embed twetter using the Do_Shortcode() like this : echo do_shortcode('[tweet https://twitter.com/wordpressdotcom/status/204557548249026561 ]'); And its not ...
0
votes
1answer
399 views

How to set YouTube video as featured image?

I am trying to have all my posts with post_format set as video, have said video as the featured image. Here is what I am working with thus far but I need some help: if($post_format == 'video') { ...
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 ...
0
votes
1answer
95 views

Apply height and width for the_content() inside youtube video tag

I am displaying video and content form this function the_content() for this am using you-tube [embed] link. How can i give height and width ??? Also, I am using the_post_thumbnail() for image it to ...
0
votes
1answer
45 views

Generating embed code for users to share

Recently I was stuck by an idea to let users and other bloggers to embed the entire page on of my blog on to their blogs. The problem is I have to change the URL every time in code and the codes ...
0
votes
1answer
155 views

How to stop unwanted splits in excerpts when using shortcodes for sliders or players

Am using this code in functions.php: Issue with enabling formatting in excerpts in Wordpress to allow shortcodes, javascript and formatting in the excerpt - works great, thanks. However, I am also ...
0
votes
1answer
81 views

Embed plugin into Custom Page Template

I've created a new page type: <?php /* Template Name: Pagina de Agenda */ ?> <?php get_header();?> <?php $info_address = get_option('theme_info_address') ;?> <div ...
0
votes
1answer
296 views

<object data = … > </object> changes after I save a post

I'm trying to embed an interactive graph by using the code below, and it works great: <object data="https://www.desmos.com/calculator/wr4nht4qbp" width="800" height="600"></object> When ...
0
votes
1answer
80 views

Embedded Feed Update

I am trying to embed a feed on my site. The plugin I am using is called Hungry Feed. I have the feed properly embedded and everything seems to be working except one thing. The feed updates... How ...
1
vote
0answers
52 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 ...
1
vote
0answers
99 views

Embedded tweets get wrapped in <p> tags and fail to load

So WordPress should embed tweets in posts just by pasting the tweet url, like so https://twitter.com/cnnbrk/status/496020289277689858 This works great, if you manage to avoid having the url wrapped ...
1
vote
0answers
339 views

How to change the way wp_embed handles only youtube videos?

What i'm trying to do is have youtube videos show a div when they stop playing. Wordpress replaces youtube links automatically with embed code. Instead I'd like to replace it with something like: ...
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....
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
0answers
29 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
30 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?)
0
votes
0answers
60 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, ...
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
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
0answers
88 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
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
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() { ... ...
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
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); ...
0
votes
0answers
23 views

Embed button for post screen

i would really appreciate it if someone could help me change the "add media" button on the post screen, and make it rather go straight to "insert from url" so that my users embed a link without ...
0
votes
0answers
69 views

extend native WP gallery to include video embeds

Developing a website for a designer, he should be able to easily add galleries into his posts. Galleries need to accept images, video, and video embeds. Currently i have some code which separates ...
0
votes
0answers
35 views

How to download embedded file directly from blog?

I am using WordPress 4.2.4. I embedded many files (apps,games) in my blog. When anyone clicks those links they are going to the embedded directory (one drive,google drive etc ). Is there any way to ...
0
votes
0answers
77 views

Display iframe or embeded posts on homepage

In my Blog there are many blog posts with a combination of iframe video posts and images posts. I need to filter the posts in two categories 1) Posts with Video (iframe or embeded) 2) Posts with ...
0
votes
0answers
531 views

Inserting a variable into a shortcode inside php

$idstring = do_shortcode( $cb_video_url ); long story short, this gets the YouTube video ID from a given url (example: 5kx45jHqQ ) and there is a youtube embed plugin for wordpress that uses the ...
0
votes
0answers
339 views

Embed google alerts rss feed into WordPress site

adjustment on my origonal question. How would I go about adding a new widget area to my current template so I can embed a google alerts rss feed? Cheers for any suggestions / solutions
0
votes
0answers
31 views

How to make Youtube short code transfer

I have moved my wordpress from wp hosted to privately hosted. I exported my posts and imported them in to my new site. Many posts included youtube embeds that look like this [youtube=http://www....
0
votes
0answers
194 views

How to embed php page from separate site

I have configured a Wordpress site for a client for which the content has been migrated from a static HTML site from 2004. The old site has a link which takes the user to a PHP form (also developed ...
0
votes
0answers
165 views

SWF in wordpress post

My question is somewhat a two part question. First I embedded a SWF file into my blog post using Easy Flash Embed plugin. It shows up on my desktop computer but when I view the post on my mobile ...
0
votes
0answers
243 views

How to include editable PDF in wordpress

I need to include a Existing PDF in website, where user can either fill or download it. I tried to use visual form generator, but it doesn't like actual form and I need to allow a user signature. ...
0
votes
0answers
341 views

Send and Embed Vine (in WP Post) on Facebook

I've written a bunch of functions in my theme's functions.php so that I can use a shortcode to post Vine videos, e.g [vine id="hx9LlrZxdqV"]. My functions will then grab the raw .mp4 URL and output it ...
0
votes
0answers
306 views

Disable Filter and Allow Embed/iFrame on Blogger Import

I'm trying to import blogger posts into a wordpress site but all embedded audio/video content is getting filtered out. I've commented out the following in kses.php: // Post filtering #add_filter('...
0
votes
0answers
199 views

Using Zoho Creator Database inside Wordpress Frame

Our agency network has an existing Wordpress-based website, and we would like to use Zoho Creator sort of like an intranet which is accessed through the Wordpress site. Basically, something along the ...
0
votes
0answers
126 views

Configuration Options for embedded YouTube Videos

I have some embedded You tube videos on my blog and I have a question about configuration as they are on static pages. Is there code or a WP plugin solution to make an embedded You Tube video to ...