An extension for Middleman that pulls content from WordPress.
This extension pulls content from WordPress via the WP REST API plugin for WordPress.
gem install middleman-wordpress
in config.rb
activate :wordpress do |wp|
wp.uri = 'example.com'
wp.custom_post_types = [:events, :resources, :other_things]
end
To import data, run:
middleman wordpress
Copyright (c) 2015 Wise & Hammer. Middleman-WordPress is free software and may be redistributed under the terms specified in the license.