Archived topic
Dynamic Content
4 replies · Started by Juned on January 29, 2022
Hi!
How do I fetch the latest blog image, title, date and author name automatically at "Our Latest Articles" and "Baseball Cards" as mentioned in the attached url? As of now I entered all those manually.
Thanks in advance.
Hi there,
Are you referring to using the content template?
https://docs.generatepress.com/article/block-element-content-template/
If so it can be only used in blog and archive pages.
You can consider using the query loop or latest posts block from WP core:
https://wordpress.org/support/article/query-loop-block/
https://wordpress.org/support/article/latest-posts-block/
Thanks Leo. The Latest Posts Block work perfectly.
Kindly guide me for that "Baseball" container (Query Loop Block):
1. I want to have the Title at below image.
2. Image sizes should be properly aligned.
Please help.
Hi there,
I tried again:
1. Title is below now.
2. I want to alingn Images and their sizes.
The Latest Posts block is a WP core block so the theme has no control over it.
I'm not 100% sure how it handles the image size but you can try checking with WP's support team.
Thanks for your understanding.