Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Showing image + title + first words of my posts on Home page

Started by Veehem 3 years ago · 7 replies · 452 views
3 years ago

I'm trying to do something like on this page https://demo.getgrav.org/blog-skeleton/
After the main image there are image + title + first words of all posts of my_category
Do I have to use a plugin? Or something like a Page Collections, if yes, I don't understand how to do it.

3 years ago

Did you try the approach, which is on the Blog skeleton? What exactly didn't work for you?

3 years ago

Thank you @Karmalakas Effectively this could be a solution.
But I was trying to find a way to have all my post of a specific Category automatically like that.
Maybe the GLightbox Gallery. do it but I'm not sure

last edited 01/02/24 by Veehem
3 years ago

I'm a bit confused. What's the actual problem? Is it that you don't know how to show image + title + intro or that you don't know how to show items only on a specific category?

Not sure how lightbox would help in any of these cases 🤔

👍 1
3 years ago

I was thinking to have a

  • a folder/Menu with all blogs pages from category 1
  • an other folder/Menu with all blogs pages from category 2
  • and so on
    And publish automatically image + title + intro of a the blog pages from category X

But maybe it's easier to put my blog pages of category X on the home page as the Skelton model do

3 years ago

Are you referring to category as a taxonomy category? There are multiple ways to achieve same result on Grav

3 years ago

What do you have so far and how is it different from the expected result?

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by blu3prince, 4 days ago
1 71 6 hours ago
Support · by complanar, 7 days ago
6 157 2 days ago
Support · by Rick Beebe, 7 days ago
2 117 3 days ago
Support · by alex, 5 days ago
2 101 4 days ago
Support · by Marcel, 2 weeks ago
1 152 5 days ago