Displaying the titel of the news posts in the Footer with Dynamic Data
Hi There,
I am working on this site https://fca.isar3.de/ and want to place and link the titles of the 5 newest Blog Posts in the footer – see, like this:
Is this possible using Dynamic Data or do you have any other suggestion?
Looking forward to hear from you.
Many thanks and
best regards,
Daniel
Comments
Hi,
You can create a Query Loop wrap with blog posts that is limited to displaying 5 posts:
https://www.youtube.com/watch?v=maE0FuFIhjQ&list=PLyfUqkbtW2kxq8AY0SivMxX7kf2H9Y-Wf
Best regards
Great Phil,
Thanks – now, is there a possibility to add a titel over it? Like: "NEWS".
I´ve tried putting one wrap inside another wrap – but then I don´t get the possibility to choose the query loop.
Do you have an idea?
Best regards,
Daniel
For such a layout you would have to put the titles in separate wraps above like this:
Best regards
But then it won´t work responsive – on mobile screens? The titles would be one under the other and the contents after all the titles.
On mobile display, you can use the order to adjust it:
https://support.muffingroup.com/video-tutorials/order-on-mobile/
Best regards
Hi Phil,
unfortunately (after separating al sections) this doesn´t work – as soon as the wrapper is converted into a query loop it doesn´t allow "Positioning". See here:
Any other idea (and this time, I would appreciate if you tested it before... this took me quite some time).
Many thanks and
best regards,
Daniel
My apologies. I overlooked that.
The only thing that comes to my head right now is a wrap with a negative Offset:
You must put it right below the Query Loop wrap, and add top padding to QL wrap so it will have space to fit this text.
Best regards
Thank you Phil.
I tried your approach but found a different solution: I changed the order via CSS in the Theme Options giving it an ID. That did the job.
@media only screen and (max-width: 767px) {
#news-footer {
order: 6;
padding-bottom: 40px;
}
}
But thanks anyway – mission accomplished 🚀
Best regards,
Daniel
I am happy to see that you managed to do what you need.
Best regards