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.

Gist shortcode is not working

Gist tags and oembed handling is specific to WordPress.com, and doesn’t come bundled with standard WordPress from wordpress.org You will need to acquire a plugin to register gists as an oembed provider, or add embed tags. There are plenty of plugins that do this available, I use this one. If you’d like to write your … Read more

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

Which HTTP headers to use for subdomain embedding?

I was able to figure out that because Lightsail uses a Bitnami deployment of WordPress, Bitnami overrides the .htaccess file. Instead you have to update the /opt/bitnami/apache2/conf/httpd.conf file by adding the following content: <IfModule headers_module> <IfVersion >= 2.4.7 > Header always setifempty X-Frame-Options ALLOW-FROM https://*.example.com </IfVersion> <IfVersion < 2.4.7 > Header always merge X-Frame-Options ALLOW-FROM … 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

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