Limiting article section in theme json to defined blog

dilwyn84
New Member
7 0 0

Hi all - 

I'm trying to add a custom article section to my theme scheme, but I'd like to be able to choose which blog the article comes from by limiting it in the json. I'm wondering if anyone knows if there's a filter to set this; I can't see it in the docs so am worried it doesn't exist but think it'd be really crazy if that was the case.

Something like (example in last line)

 

{
   "type": "article",
   "id": "featured_article",
   "label": "Article to feature on this page",
   "blog": "News"
}

 

0 Likes