Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Any way to create a metafield that is a blog article picker?

Any way to create a metafield that is a blog article picker?

protohominid
Shopify Partner
5 0 0

There is a metafield of type "page" that lets you pick a one page or a list of pages. Is there any way to do this same thing, but picking blog articles instead?

Replies 3 (3)

SBD_
Shopify Staff
1831 273 423

Hey @protohominid 

 

Not a blog picker per se, but one workaround is to use type "URL" - although this is more work for the merchant.

Scott | Developer Advocate @ Shopify 

protohominid
Shopify Partner
5 0 0

Yeah, that wouldn't work for what I need. I need to be able to get the article object in the theme's code so I can output the article's title and featured image along with the url. Any chance Shopify will add this metafield type in the future?

SBD_
Shopify Staff
1831 273 423

Passing along your feedback for consideration 🙂

Scott | Developer Advocate @ Shopify