Skip to content

Commit

Permalink
fix(posts-query): specific posts getting
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek committed Apr 7, 2022
1 parent b9f0108 commit f9326db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/blocks/homepage-articles/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
},
"textAlign": {
"type": "string",
"default": "left"
}
"default": "left"
}
}
}
2 changes: 1 addition & 1 deletion src/components/query-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class QueryControls extends Component {
per_page: 100,
include: postIDs.join( ',' ),
_fields: 'id,title',
post_type: postType,
postType,
} ),
} ).then( function ( posts ) {
return posts.map( post => ( {
Expand Down

0 comments on commit f9326db

Please sign in to comment.