Skip Navigation

[Resolved] I want to load the most recent post featured image in an image field (elementor)

This thread is resolved. Here is a description of the problem and solution.

Problem:

I want to load the most recent post featured image in an image field on a page (elementor image field)

Solution:

In order the get the feature image of latest post, it requires another post view:

https://toolset.com/forums/topic/i-want-to-load-the-most-recent-post-featured-image-in-an-image-field-elementor/#post-1955371

Relevant Documentation:

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by matthieuB-5 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1954567

I want to load the most recent post featured image in an image field on a page (elementor image field)

Im displaying the most recent post with a toolset view on the frontpage of my site, i want to load this posts feature image into an elementor image field so i can position it outside my view. The view loads the most recent post text, the image field load the most recent post feature image.

#1955371

Hello,

In order the get the feature image of latest post, it requires another post view:
- Query your posts
- Order by post date
- Display only one item
- In views loop, display the featured image.

I suggest you follow our document to display the featured image with Elementor
https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/#how-to-use-elementor-with-toolset

#1957025

My issue is resolved now. Thank you!