WordPress keeps altering my embed code

The issue is WordPress’ core configuration of TinyMCE, which strips IFRAME tags. You can modify this configuration, to allow IFRAME tags, by hooking into tiny_mce_before_init. For example, the following code will prevent TinyMCE from stripping IFRAME, PRE, and DIV tags: function mytheme_tinymce_config( $init ) { // Change code cleanup/content filtering config // Don’t remove line … Read more

Search XML file from within WordPress?

Here’s a PHP library which uses SOAP calls to access JIRA: https://github.com/jrbeeman/php-jira However, if you can get the XML file into a place PHP can access it then you can use general PHP calls to parse and read the XML file, e.g. SimpleXML http://php.net/manual/en/book.simplexml.php From there you can put your code in a theme template … Read more

vimeo/youtube video embed with thumbnails

If you embed a vimeo video at that size it hides the playback buttons, no magic involved. EDIT- to display a static thumb of a youtube video: your video url: http://www.youtube.com/watch?v=WQO-aOdJLiw take the v= portion of the url to get the large thumb url: http://img.youtube.com/vi/WQO-aOdJLiw/0.jpg and the small thumb url: http://img.youtube.com/vi/WQO-aOdJLiw/1.jpg

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

If the custom field contains just the URL you can achieve this using wp_oembed_get $video_url=”https://vimeo.com/75791532″; $video = wp_oembed_get( $video_url ); echo $video; If the custom field contains other content as well something like this should work. $content=”<p>Check out hte latest vid!</p> https://vimeo.com/75791532″; $content = apply_filters(‘the_content’, $content); echo $content; the_content filter automatically applies the oembed filter.

Audio Playlists – Multiple file type support?

No, it’s not supported currently in the core playlist as I understand it. The following are just some rough ideas: Within the WPPlaylistView.playCurrentSrc() method, in the wp-playlist.js file, we have: this.mejs.setSrc( this.playerNode.attr( ‘src’ ) ); This is currently only for a single source. I checked the definition of srcSet() in MediaElment.js and found: // This … Read more

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

Child theme for TwentyEleven: create the child theme folder, twentyhalf create a style.css file with the content: /* Theme Name: Framed Audio Theme URI: http://wordpress.stackexchange.com/questions/69624 Version: 1.0 Description: Index page with framed content – one frame points to a parent page with the slug of ‘sample-page’ and the other for a folder at the root … Read more

Youtube parameters within WordPress embed code?

It doesn’t look like load policies are configurable with WP’s auto-embed. But see the docs on how to use WP’s embedding: http://codex.wordpress.org/Embeds And see the Developer Resources and API at WP: http://developer.wordpress.com/docs/oembed-provider-api/ WP’s auto-embedding uses oEmbed, and the specs and API are here: http://oembed.com/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)