Description
Frontity allows for a params
attribute on source
like:
packages: [
...
{
name: "@frontity/wp-source",
state: {
source: {
api: "https://mysite.com/wp-json",
params: {
orderby: "slug",
order: "asc",
per_page: "99"
},
...
We would like to be able to add params
also for postTypes
, like:
...
postsPage: "/news",
postTypes: [
{
type: "quote",
endpoint: "quote",
archive: "/quote",
params: {
orderby: "date",
order: "asc",
per_page: "7"
}
}
]
...
This feature is based on a feature that was missing for a user.