- Add
wpTotalItems
,wpHasMultiplePages
,wpHasSinglePage
,wpHasPreviousPages
,wpHasNoPreviousPages
towpAggregates
- Use MVar instead of IntSet for storing displayed posts - the IntSet wasn't working with
apply
across templates.
- Add
Q
andQM
Field
s for fields accessed via an additional request using an ID or slug in the original request. - Add
PV
Field
for custom-parsed field without requiring a specific JSON type.
- Add Splice for a version of
wpPosts
calledwpPostsAggregate
wpPostsAggregate
will allow access to some information from the headers, like how many posts and pages of posts there are.- Unlike
wpPosts
, the posts are wrapped inwpPostsItem
. - There's also a separate
wpPostsMeta
that currently has the following splices:wpTotalPages
- displays how many pages of results are there from this querywpHasMorePages
- shows child markup if there are more pages (uses the post query fromwpPostsAggregate
's attributes)wpNoMorePages
- shows child markup if there are no more pages
- Eventually
wpPostsMeta
may give access to all the headers, but I haven't implemented that. - Add
wpCustomAggregrate
which works just same aswpPostsAggregate
.
- Feeds need to specify if they're using the default author field (an id) or inline guest authors fields.
- Changed Splice creation so that "false" fields don't render (this is because WP uses "text or false" as a sort of Maybe type, as far as I can tell -- if the field is entered, it's text, if not, it's "false".)
- Add "PN" and "PM" for custom-parsed fields with objects and lists
- Add "format" attribute to
wpDate
inwpPosts
- Change "format_out" to just "format" in
wpCustomDate
- 0.1.1.2 - Add missing Misc module for test suite, expose modules for test suite.
- 0.1.1.1 - Update for GHC 7.10.
- 0.1.1.0 - Initial release.