Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial for Card shortcode #335

Closed
imfing opened this issue Mar 28, 2024 Discussed in #333 · 0 comments · Fixed by #339
Closed

Partial for Card shortcode #335

imfing opened this issue Mar 28, 2024 Discussed in #333 · 0 comments · Fixed by #339
Labels
enhancement New feature or request
Milestone

Comments

@imfing
Copy link
Owner

imfing commented Mar 28, 2024

Discussed in #333

Originally posted by Gray-Stone March 26, 2024
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.

@imfing imfing added the enhancement New feature or request label Mar 28, 2024
@imfing imfing added this to the v0.8.0 milestone Mar 28, 2024
@imfing imfing linked a pull request Mar 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant