The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
4k views

Applying automatic link class to images embedded to posts

I'd really love to be able to conditionally apply a CSS class to link elements of images embedded into posts, but I can't seem to figure this one out. Basically what I'd like to achieve is to replace ...
1
vote
3answers
2k views

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

I do not want to display the titles of videos I embed on my wordpress site. The way I've been doing this is using the embed link, inserting the iframe in the wordpress post and adding the custom ...
10
votes
1answer
6k views

Setting a post's featured image from an embedded YouTube video

If I create a post that has an embedded YouTube video in it (so all I do is paste the YouTube URL into the post and let Wordpress automatically embed it for me), is there a way to have the thumbnail ...
3
votes
3answers
254 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 ...
2
votes
1answer
1k views

How to create a static player top or bottom of wordpress?

I'm creating two websites, one radio station and one bands website. I want to add a player (already have a php with the player in it) to the top of the page, like a frame. The main point is to have ...
2
votes
1answer
3k views

add_filter to youtube embeds?

hey guys, when posting a youtube video link in the backend (in a post or a page) wordpress is automatically creating the embed code for me. Is it possible to add a filter to that? I'd love to change ...
4
votes
2answers
2k views

TED talks shortcode not working

I am trying to embed a Ted talk video using the shortcode: [ted id=myid] But it's not working. It shows the text instead of the video. Is there any configuration I need to check to make it work?
4
votes
4answers
3k views

WP Oembed not passing through the “autoplay=1” variable

I'm having a problem here: I am passing this through a custom field: http://www.youtube.com/watch?v=E6P1Q-UycHA&autoplay=1 (notice the autoplay=1) But when I load the video on my theme using ...
1
vote
1answer
56 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 ...
1
vote
1answer
71 views

Applying class to links around self hosted images embedded to posts/pages

So I need to add a class to links around the images for lightbox purposes. But only to images from the upload directory, not to external ones. I've found this solution by @TommiForsström here: ...
1
vote
1answer
162 views

Embed 'New Post' Form Inside 'New Post' Form

Is it possible to embed a 'New Post' form for one Custom Post Type inside of a 'New Post' form for another Custom Post Type? When a user adds a new post for the custom type 'Event', they should also ...
0
votes
1answer
976 views

Embed HTML5 files/subfolders in post?

I am attempting to publish an Adobe Captivate project to a WordPress blog. The .swf file is easy enough to handle, but the HTML5 version is giving me problems. The way that Captivate outputs HTML5 is ...
0
votes
1answer
6k views

how to embed external webpage in my wordpress page

I have two pages to embed within my WP site. Both contain data from an external site which runs our events management database. This data is presented on two pages - one for catering menus offered ...
0
votes
1answer
359 views

How do I embed a YouTube video in WordPress 3.0?

I've upgraded to version 3.0. My site is wordswithfriends.net My administration panel looks like the following I thought there was supposed to be a special YouTube button which I don't seem to ...
-1
votes
3answers
77 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; ...