A React powered WordPress theme.
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:
-
Make sure you have WordPress updated to 4.7 or higher that supports the REST API endpoints.
-
The WP REST API does not yet provide any endpoints for Menus and Sidebar. The theme uses the following plugins to support them:
-
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. -
The theme will not display anything if Javascript is disabled. Make sure Javascript is enabled in the browser.
The theme uses Bootstrap for styling its views and components.
- React-Router-DOM
- React-DOM
- React-Render-Html
- React-Redux
- Redux
- Redux-Thunk
- Redux-Logger
- Isomorphic-Fetch
- Webpack
- Webpack Dev Server
- Babel-Loader
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.