• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    JavaScript
  • Created about 9 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A ReactJS web app that mirrors the look, feel, and functionality of the Twenty Sixteen WordPress theme.

Twenty Sixteen, REST + React

Chris Hutchinson, 2015

A web app that mirrors the look, feel, and functionality of the Twenty Sixteen WordPress theme.

Index

Current Functionality

  • Index
  • Archive
  • Search
  • Header
  • Menu
  • Sidebar (Search)
  • Footer
  • Single post
  • Single page

Rationale

This app has been built to:

  1. Learn some React
  2. Create an example WordPress "theme" using the REST API
  3. Encourage discussion around the future of WordPress the REST API

Requirements

Running & Building

  • Clone this repo
  • Run npm install from the root of the directory
  • Run grunt serve to run the server
  • Run grunt build to build to the /dist directory

This app was scaffolded out using generator-react-webpack. You can use that to add new React components, actions or stores.

Things to know

This isn't built as an installable WordPress, yet. It should be run separate to your WordPress installation at present.

To do

  • Get this code rendering on a server, ensuring the first load comes through without a flash of blank content
  • Build out the remaining sidebar widgets
  • Build out taxonomy pages
  • Add commenting to posts
  • Add authentication for users via oAuth
  • Create a config file for the API endpoint
  • Add support for v2 of the WordPress REST API
  • Figure out how to deal with custom menu items
  • Add transitions between routes
  • Build this into a packaged WordPress theme
  • Fix issues when switching between the same route (e.g. searching for 'new', then searching again for 'hello' – the Archive component does not update)

More Repositories

1

cardkit

A simple, powerful and fully configurable image editor for web browsers and servers. Optional UI included.
JavaScript
726
star
2

train-departure-screen

Python script to display replica real-time UK railway station departure screens for SSD13xx devices
Python
213
star
3

ios-shortcuts-demos

JavaScript
45
star
4

quickQuote-times

A tool for journalists to easily find and add video quotes to news articles. Built by @pietrop on a Times Digital Development Summer Internship.
JavaScript
35
star
5

reactpress

A React WordPress theme using the WP REST API
JavaScript
19
star
6

wp-multi-outputs

A plugin that provides a framework for multiple output formats on WordPress
PHP
15
star
7

train-delay-logger

A simple Rust command-line app for logging delayed trains (> 15 minutes) between two stations
Rust
10
star
8

sir-trevor-generator

A generator for Sir Trevor JS blocks
JavaScript
10
star
9

christmas-tree-painter

🎄 Festive Christmas tree decoration with Node.js, TypeScript and WS281x lights
TypeScript
10
star
10

slack-testing-library

A mock server and library for testing interactive Slack apps
TypeScript
7
star
11

emojipinions-wordpress

Emoji reactions / opinions for WordPress
PHP
6
star
12

talk-react-testing-library

Test like you mean it with React Testing Library
TypeScript
5
star
13

air-quality-alexa-skill

Alexa Skill for the UK Defra air quality index
JavaScript
4
star
14

soil-moisture-sensor-python

Python script for reading value of an analog soil moisture sensor via an MCP3008 and Raspberry Pi
Python
3
star
15

microsoft-todo-rss

Turn your Microsoft To Do lists into RSS feeds
TypeScript
3
star
16

acf-field-sir-trevor-js

An Advanced Custom Fields field for Sir Trevor JS
PHP
2
star
17

realthyme

First time Node.js / Mongo / Express project: to develop a real-time voting web app in a weekend (April 18th - 20th 2014).
JavaScript
2
star
18

sir-christopher-js

Custom Sir Trevor blocks
JavaScript
2
star
19

electronics-resources

Tutorials, events, software, hardware and reading material for getting started in electronics + IoT
2
star
20

react-async-status

A simple React hook for managing the status of an async action and an associated message
TypeScript
1
star
21

til

Today I learned
1
star
22

scriptornoscript

Script or No Script - A simple guessing game for JavaScript scripts, libraries and frameworks
JavaScript
1
star
23

alexa-serverless-template

A Node.js template for building Alexa skills with Serverless
JavaScript
1
star
24

site

A Next.js site for all my projects and published content
TypeScript
1
star
25

themeconf

A talk about using the WordPress REST API with Advanced Custom Fields and WordPress
JavaScript
1
star