Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pages.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type Page struct {
Author int `json:"author,omitempty"`
Excerpt Excerpt `json:"excerpt,omitempty"`
FeaturedImage int `json:"featured_image,omitempty"`
FeaturedMedia int `json:"featured_media,omitempty"`
CommentStatus string `json:"comment_status,omitempty"`
PingStatus string `json:"ping_status,omitempty"`
MenuOrder int `json:"menu_order,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions posts.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type Post struct {
Author int `json:"author,omitempty"`
Excerpt Excerpt `json:"excerpt,omitempty"`
FeaturedImage int `json:"featured_image,omitempty"`
FeaturedMedia int `json:"featured_media,omitempty"`
CommentStatus string `json:"comment_status,omitempty"`
PingStatus string `json:"ping_status,omitempty"`
Format string `json:"format,omitempty"`
Expand Down