Releases: CentralTimes/wp_centraltimes
Releases · CentralTimes/wp_centraltimes
v0.7.1
- Fixed bug that left out the Editorials tab category.
v0.7.0
- Project has been renamed from
wp_ct_rest_api
towp_centraltimes
- Registered a new endpoint
/centraltimes/v1/sno-gallery/(?P<ids>(\d+,*)+)
, to return SNO gallery image data
v0.6.0
- Registered a new endpoint
/centraltimes/v1/ngg-gallery/(?P<id>\d+)
, to return gallery image data - Modified
/centraltimes/v1/shortcodes
to return an array of shortcode names instead of shortcode keys
v0.5.1
- Metas registered in v0.5.0 did not actually exist. Removed those registrations, and fixed behavior by registering
metas ofpost
(endpointposts
in namespacewp/v2
):writer
,sno_deck
,jobtitle
,video
, &videographer
to REST fieldsct_writer
,ct_subtitle
,ct_jobtitle
,ct_video
, &ct_videographer
, respectively.
v0.5.0
The plugin currently performs the following changes to the REST API:
- Registers a field,
ct_raw
, containing raw un-rendered post data, with shortcodes, to each post on/wp/v2/posts
- Registers a new endpoint
/centraltimes/v1/shortcodes
, which describes the internalshortcode_tags
global
variable. (
shortcode names are the keys) - Registers a new endpoint
/wp/v2/staff_profile
for the SNOstaff_profile
custom post type. - Registers post meta fields
jobtitle
,name
,schoolyear
,sno_deck
,staffposition
, andwriter
as keys under
eachstaff_profile
entry. - Registers custom taxonomies at the endpoints
/wp/v2/staff_year
and/wp/v2/staff_name
, forstaff_year
andstaff_name
respectively.