A React based WordPress theme using the WordPress Rest API.
Switch branches/tags
Nothing to show
Clone or download
Latest commit ffb3191 May 11, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
actions Implements categories and tags with slugs May 9, 2017
assets Adds README May 11, 2017
components Implements changes May 10, 2017
constants Implements changes May 10, 2017
layouts Implements changes May 10, 2017
reducers Implements changes May 10, 2017
LICENSE Initial commit Apr 19, 2017
README.md Adds README May 11, 2017
class-tgm-plugin-activation.php Updates. May 1, 2017
functions.php Implements changes May 10, 2017
index.php Updates. May 1, 2017
main.js Implements changes May 10, 2017
package.json Adds styling for the theme Apr 27, 2017
screenshot.png Updates. May 1, 2017
style.css Implements sidebar links May 9, 2017
webpack.config.js Updates. May 1, 2017

README.md

Black Hawk

By Shashwat Mittal

A React powered WordPress theme.

screenshot

Description

Black hawk is a REST API powered WordPress theme which uses the React Javascript library by Facebook for its front end rendering. All the data is fetched using WordPress REST API and rendered using React.

The things to be kept in mind before using this theme:

  1. Make sure you have WordPress updated to 4.7 or higher that supports the REST API endpoints.

  2. The WP REST API does not yet provide any endpoints for Menus and Sidebar. The theme uses the following plugins to support them:

  3. WP REST API Menus by Fulvio Notarstefano

  4. WP REST API Sidebars by Martin Pettersson

  5. The theme does not support all the permalink options provided by the WordPress admin panel. The permalink need to be set to /%year%/%monthnum%/%postname%/ for the theme to work. It will automatically set the permalink to the required option when installed.

  6. The theme will not display anything if Javascript is disabled. Make sure Javascript is enabled in the browser.

Display

The theme uses Bootstrap for styling its views and components.

NPM Packages

Support

The theme is in development mode right now. Expect regular changes. Also feel free to send a pull request and report issues if you find any.