Passing an array to category for dynamic categories #191
jonwinstanley
started this conversation in
Ideas
Replies: 1 comment
-
|
Hello : ) +1 that would be something very helpful to me as I have a dynamic number of categories to assign to an item. Right now, I'm considering playing with Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to pass a small number of article tags to the category method and have them rendered as elements in the feed.
However, an array is not permitted, and neither is a comma separated list. The category method requires additional arguments to be passed.
With a dynamic number of tags, this means I have chosen to do as follows, which seems inefficient.
Then in my view, I exclude empty string categories.
Am I missing something here, is having dynamic tags a bad idea for some reason?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions