Now I would like to print a single article from category "Magazine".
To do that, I have created a custom field in my category with ACF acfarticles i called "magazine" so I can choose an article in my category.
Now I'm trying to use this structure :
{articles category="Magazine" id="this:magazine"}This investigation has been published in [title]{/articles}
But nothing is printed.
Am i missing something ?
Maybe it is not possible to use the "this:" structure on a blog page?
But as I told you, it works for the first structure.
So I'm wondering.
Should work. Depends on what value that magazine field is holding. Maybe ACF is doing something unexpected.
Why not use Regular Labs Articles Field?
regularlabs.com/articlesfield
Why not simply make a radio field (or something else) attached to the articles that marks the article as the 'main category article'?
And then use that to filter by.
Hi all of you and thank you so much for your feedback.
I went with the metakey field (in category AND article) with which I could get the result expected (metakey="this:metakey")...
Any chance to have the Custom field in Category supported one day ? Just to know...
Regards.