Skip to content

ShashwatMittal/react-wordpress-theme

Repository files navigation

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.