wp8

Windows Phone 8 Starter Kit for WordPress

Posted on February 5, 2013 by

After many emails, and much procrastination, I finally had a chance tonight to update the Windows Phone Starter Kit for WordPress over to Windows Phone 8 and update it to support WordPress 3.5.1.

For those of you running the old WP7 version, the changes you need to make to support WordPress 3.5.1 are pretty simple, but do require a bit of code writing.  To make it as easy as possible, this set of steps *should* work for a simple update:

  1. Open your Starter Kit in Visual Studio 2012 (this is now a Windows Phone 8 project, not a Windows Phone 7 project, so Visual Studio 2012 is now required).
  2. Copy all the code from https://github.com/ChrisKoenig/Windows-Phone-Starter-Kit-for-WordPress/blob/master/Networking/WordPressPlugInReader.cs and paste over the top of the existing code in your Visual Studio project.
  3. Recompile and test locally

Basically what I had to do was add a variable parameter to each of the query strings on the URIs requesting data from the WordPress site as it seems that WP3.5+ is caching the data based on the query string parameters now, which it didn’t used to do before.

If this doesn’t work, let me know and I’ll try to help walk you through it.

Comments (1)

 

  1. Dexter says:

    Can you share the WP7 version of this

    https://github.com/ChrisKoenig/Windows-Phone-Starter-Kit-for-WordPress

    I tried backward compatibility but several errors impossible to solve.
    Whole project would be perfect…thanks in advance :)