Articles of ios

How can I improve the performance of this query_posts loop?

I created a WordPress page template to build a customised XML feed for certain WordPress posts on my site. Specifically, the page template renders XML and only includes certain custom post types and only if these posts contain specific meta data. I’m using the data to feed WordPress content to an iOS application. It seems […]

How to query WordPress from another application?

We’re building an iOS app for BarbadosPropertyList.com. The iOS app needs to query the website and download recent listings data, including titles, datestamps, thumbnails and custom fields. We would like to know the best practice for querying WordPress data from an external app?

MP4 video on wordpress working on desktop, not on mobile devices

I embedded a video in the following URL: https://www.speurtochten.nl/over-ons/ I made it with Premiere Pro CC, exported it as H.264. The code I use in WordPress: I tried uploading several dummy videos instead (http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4), and they worked perfectly fine on the desktop AND on a mobile phone. On my iPhone, I get “Error loading this […]

WordPress as webapp login session

Using iOS specific metatags I enabled webapp mode on a WP site. It works nice, but I’m facing a problem: Switching between apps breaks the WP session. The webapp loads the splash image again and shows the specified index page instead of the page visited and left earlier and the logged in state is reseted […]

Apple push notification doesn't work

I wrote a plugin which fires an apple push notification to IOS devices. When I fire it manually via the root directory, it works perfectly. The catch, when I move it to plugin folder and run it as a plugin using: add_action( ‘publish_post’, ‘post_published’ ,10,2); it returns a ssl error from apple servers. Nothing was […]

Multisites, upload issues, and iOS!

This question has changed significantly. I have the latest version of WordPress and am hosting it on an Apache server. Link to Blog: http://blogs.bzaeds.org/test/2012/05/11/video-test/ Now, here’s the thing. When I upload a video to WordPress it will play on a Mac in Firefox with the WordPress URL the item is given (ex: http://blogs.bzaeds.org/test/files/2012/05/720-dunk.mp4″ provider=”video). In […]

WordPress Iris Colour Picker adding iOS touch events

I’ve implemented an Iris Colour Picker into the front-end of my theme thanks to the help provided in this question and all works well on the desktop front. However, it seems as though when it comes to an iPad device the colour picker doesn’t work as expected. The mouse dragging event isn’t being recognised, however […]