/WordPressUWP

This is a framework for turning a WordPress site into a Universal Windows Plattform App.

Primary LanguageC#MIT LicenseMIT

WordPressUWP

Join the chat at https://gitter.im/ThomasPe/WordPressUWP Build status

This is a Universal Windows Platform app framework designed to turn WordPress Blogs / Sites into nice little apps. It's built on

Features

working and planned features for WordPressUWP:

  • Show posts
  • Show comments
  • Settings page
  • Sign In
  • Add comment
  • Push Notifications
  • Live Tiles
  • Continuum Support

Quickstart

WordPress Plugins

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).

Getting Started

Just clone or download the repo and open it in Visual Studio. Go to the Config.cs class inside the root folder and enter your site uri.

public static class Config
{
    public const string BaseUri = "http://yoursite.com/";
    public static string WordPressUri = $"{BaseUri}wp-json/";

    // Push Notification Settings
    public const string HubName = "NotificationHubName";
    public const string AccessSiganture = "Endpoint=";

    // Comments
    public static int CommentDepth = 3;
}

Hall of Fame

This is a list of apps based on the WordPressUWP framework. Feel free to add yours!