Hi- I wish to display a longer snippet with the random featured item. The display_random_featured_item helper doesn't appear to have any arguments to adjust the number of characters. That didn't work. How do I do this?
Hi- I wish to display a longer snippet with the random featured item. The display_random_featured_item helper doesn't appear to have any arguments to adjust the number of characters. That didn't work. How do I do this?
In case anyone was confused, the sentence "That didn't work" wasn't meant to be part of my question. I had tried adding a snippet code without success.
You're correct, the display_random_featured_item
helper doesn't allow you to configure this.
As an alternative, you can use the random_featured_item
helper, which simply returns the item. You can then pass this item to the item
helper and display the item in whatever way you want.