The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
32 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 ...
-1
votes
0answers
27 views

Embed facebook post via shortcode and store in transient

I have created a shortcode to embed facebook posts within Wordpress and it seems to work as expected. I would like to expand it to cache it in a transient with refresh every hour. This is what I ...
0
votes
0answers
10 views

Some of my YouTube embedded videos intermittently failing to load?

I'm having a very odd problem with YT embeds. Starting today, they have intermittently failed to load on my site -- but only some of them. My theme supports video-type posts, and the embeds within ...
0
votes
1answer
43 views

Vimeo video embeds doesnt seem to work with ACF [closed]

I was trying to embed a vimeo link into a site using ACF custom fields and I am not getting anything in the front end but just a blank space as shown below. I tried multiple approaches including a ...
0
votes
0answers
116 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
2answers
200 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
3answers
95 views

WordPress embeds in AJAX inserted content

I have a page that is calling in the content from other posts (a custom post type, specifically) and inserting it into the page. It all works great, but I'm losing the functionality of WordPress ...
1
vote
1answer
90 views

How to Implement Responsive YouTube Video Framing? [closed]

I am using the YouTube embed functions to place my video inside my wordpress single post page. I do not want to use oEmbed because it gives me less custimization with hiding the information bar, ...
0
votes
1answer
95 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
0answers
50 views

Calling an external file using ajax

I'm trying to create a Medium-Like editor on Wordpress. I'm using this https://github.com/orthes/medium-editor-insert-plugin I've corrected the code about embedding images, but I still have problems ...
0
votes
0answers
44 views

WordPress default video playlist height issues on Chrome

recently I tried to use the default WordPress video playlist but it seems to have some issues with Chrome and IE. This is how a video shows up on Google Chrome and IE (I have tested with many ...
0
votes
0answers
34 views

How can I use a filter/hook to modify the URL passed in the content of an [embed] shortcode?

If I pass the [embed] shortcode an absolute URL that only includes the path (i.e. it starts with a slash and is hosted on the same server as the page itself), if it's a movie file, it doesn't ...
0
votes
1answer
151 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
votes
3answers
266 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; ...
0
votes
0answers
24 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 ...
0
votes
0answers
147 views

Video Embed & Thumbnail Generator on Homepage

I am working on WordPress at the moment and found the 'Video Embed & Thumbnail Generator' plugin which is really useful. The only problem is that the plugin adds its script and styling to posts ...
0
votes
1answer
205 views

Static image for embedded YouTube video instead of blank player?

Thanks to this answer I have embedded a YouTube video in a Text Widget using [video src="http://youtu.be/JQ_2De2cnzI&rel=0&showinfo=0"] However it displays as this blank player when the ...
1
vote
1answer
94 views

How do I embed in a text widget?

I'm trying to embed a YouTube video in a Text Widget and Wordpress 4.0 is stripping out the embed when rendering. For example, if I put this in the body of the widget: Before ...
0
votes
1answer
45 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 ...
1
vote
1answer
604 views

Embed .mov file via 'Add Media' not working

I know since WP 3.6 we've been able to upload and embed various file formats and that the 'Add Media' button effectively implements the correct media embed shortcode for us. I'm having a problem in ...
0
votes
0answers
20 views

Twitter Links to WP Posts with Summary

I don't have enough time to write full posts on my WP site anymore, but I tweet lots of links that earlier I would've written posts about. So I'd like for WP to consume my tweets and automatically ...
0
votes
2answers
369 views

How to embed YouTube videos in posts without adding suggested videos at the end?

I have started posting YouTube videos as posts. I simply copy and paste the URL and WordPress figures out how to embed it. I like this workflow, but I don't like the embed code that WordPress ...
0
votes
0answers
47 views

How to add a field to live preview in post editor?

WordPress 4.0 allows live previewing of certain shortcodes while editing a post. How can I customise the options that appear when I edit my embedded video? I want to add a custom field below the ...
0
votes
1answer
33 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 ...
1
vote
0answers
46 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 ...
0
votes
2answers
353 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
19 views

How do I adjust/remove img widths when embedding posts in a narrower external site?

I have a blog on a PHP site i.e. http://mywebsite.com/blog/ and want to embed complete posts in a page on http://mywebsite.com/ include('blog/wp-load.php'); $post=get_post($postid); ...
3
votes
3answers
305 views

Modify youtube video size on one page and show another size on different page

I have to display three videos (custom post type) on my first page. When clicking on the link, the post is displayed and video should be in default width. Can you help to find out how to change width ...
1
vote
2answers
262 views

Extract an embedded video from the content

I have added a post with the post format of video and I am trying to get to video so I can display the video in one div and the text in another like <div>the embedded video</div> ...
1
vote
1answer
94 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 ...
0
votes
5answers
4k 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
0answers
103 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
121 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
2answers
156 views

How to add oEmbed support to my theme?

oEmbed does not seem to work on my theme. I simply see the bare URL. I haven't been able to find instructions on how to implement it. Thanks.
0
votes
1answer
217 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 pocketlife.com.br , and now all my videos, which were used on the posts on this format: [youtube id="only the id here" width="600" height="350"] are not ...
0
votes
0answers
148 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
2answers
341 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 ...
1
vote
1answer
216 views

How to overwrite youtube embed?

I really like how you can just paste a URL right into the post... such as: http://youtube.com/watch?v=xyz or http://vimeo.com/123456 What I want to do is change the default code for this to support ...
1
vote
1answer
35 views

Embed tag length issues

I have a pdf in my media library that I am trying to embed on a page. The width works fine but the length does not. I am trying to basically represent 8.5 x 11 on the screen. As it is only about 3-4 ...
1
vote
1answer
152 views

Gist shortcode is not working

I freshly installed a brand new Wordpress for testing purpose as I am intending to refresh my current website. One of the requirement I have is to be able to embed code from Gist. Following the ...
0
votes
0answers
244 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
1answer
43 views

Increase size of Google Document Site Wide [closed]

How do I increase the size of an embedded Google document in Wordpress site wide. Without the need to add css width="100%" height="800px" to every iframe. <iframe ...
1
vote
2answers
4k views

Google Map iframe in a tab issue

I have embedded a map on the third tab on a page. Page here > 'Itinerary' tab If you go straight to the tab while the page is still loading - it loads the map perfectly. However, if you wait until ...
1
vote
0answers
232 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
1answer
175 views

Using shortcode within shortcode with dynamic variable

So I've written a shortcode to generate a Loop (which shows the most recent posts), the shortcode is simply [loop]. Here's the code which outputs the content of each post (which is the bit causing me ...
0
votes
2answers
157 views

WordPress fails to embed video URL

WordPress or my theme fails to embed this video URL: https://www.youtube.com/embed/vsTrAfJFLXI?rel=0?controls=0 but works with this URL: https://www.youtube.com/watch?v=vsTrAfJFLXI I need to ...
3
votes
2answers
689 views

Add a YouTube or Vimeo video as a post attachment?

I'm developing a gallery plugin and I was wondering if I could add a YouTube and Vimeo "embed" option to the media uploader to be able to add YouTube and Vimeo videos as attachments to a post instead ...
-2
votes
1answer
708 views

How to use Wordpress to embed a SoundCloud download link?

I'm trying to embed a download link for previews in a music site I'm building for a couple of friends. They are currently filling up the system with content and I'm using a SoundCloud iframe HTML5 ...
0
votes
1answer
251 views

Div around YouTube video

My posts have YouTube embedded videos in the form of: <object width="600" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ...
1
vote
1answer
233 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 - ...