No commit activity in last 3 years
No release in over 3 years
An extension for Middleman that enables the building of static websites using WordPress-managed content. This extension pulls content from WordPress via the WP REST API plugin for WordPress.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.3
 Project Readme

middleman-wordpress

An extension for Middleman that pulls content from WordPress.

About

This extension pulls content from WordPress via the WP REST API plugin for WordPress.

Installation

gem install middleman-wordpress

Configuration

in config.rb

activate :wordpress do |wp|
  wp.uri = 'example.com'
  wp.custom_post_types = [:events, :resources, :other_things]
end

Import Data

To import data, run:

middleman wordpress

License

Copyright (c) 2015 Wise & Hammer. Middleman-WordPress is free software and may be redistributed under the terms specified in the license.