This repository is archived due to the fact that the code wasn't updated for a long time. We've created a new repository on GitHub wp-net/WordPressXF-V2 which updates the whole logic to the latest Xamarin.Forms
bits.
This is a Xamarin.Forms app/framework (supporting Android, iOS and UWP) designed to turn easily WordPress Blogs / Sites into nice little apps.
It's built on
working and planned features for WordPressXF:
- Show posts
- Show comments
- Use SplashScreen
- Settings page
- Sign In
- Add comment
Since WordPress 4.7 the REST API has been integrated into the core so there's no need for any plugins to get basic functionality. If you want to access protected endpoints, this library supports authentication through JSON Web Tokens (JWT) (plugin required).
Just clone or download the repo and open it in Visual Studio. Before you can build you'll need to enter the URL to your WordPress blog/site in the file WordPressXF/WordPressXF/WordPressXF/Utils/Statics.cs. And don't forget to add /wp-json/
at the end.
namespace WordPressXF.Utils
{
public static class Statics
{
public static string WordpressUrl = "http://www.example.com/wp-json/";
}
}