partial for Card shortcode #333
-
I would love to use the card shortcode to create a tilted view of my posts with featured images. I don't want to type every single post into a card shortcode as this is not scalable when I move posts around. I would prefer a programmatic way of looping through my posts (and maybe with filtering as well), and generate cards from the loop. Since I can't put shortcode in shortcode, the only option seems to be using partials. Can someone help me to get a basic version of the a card partial? Even a very stripped down version would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Created an issue #335 for tracking the implementation progress. |
Beta Was this translation helpful? Give feedback.
@Gray-Stone the card partial is now available: #339
hextra/layouts/shortcodes/card.html
Line 41 in 0d6cbba
you can try it out by upgrading to the latest main branch or wait for the next release which will be very soon