Skip Navigation

[Resolved] add custom posts recent post with Featured image to widget sidebar

This support ticket is created 2 years, 11 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 3 replies, has 2 voices.

Last updated by Luo Yang 2 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2301561
toolset4.png

Tell us what you are trying to do?
add custom posts recent post with Featured image and some descriptions to widget sidebar like image in attachments
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
take a look for image attachments
thanks

#2301769

Hello,

I suggest you try these:
1) Enable legacy view:
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/
2) Setup the post view with legacy editor, and output the feature images + other post information
3) In the sidebar, add a text widget, and display above post view's shortcode:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view

#2302187
toolset5.png

thanks for reply
your solution is not help me to display recent custom post
it's just help to display custom posts manually
i need add option in widget sidebar for display custom posts and select how many number i need to display with date and descriptions and future image then this options will show recent custom posts automatically
you can see image in attachments

#2302665

There is a misunderstanding, your screenshot is for WordPress built-in latest post widget, Toolset plugins can not modify it, there isn't such kind of feature within Toolset plugins.

The workaround I provided above is using Toolset plugins to setup the widget manually:
https://toolset.com/forums/topic/add-custom-posts-recent-post-with-featured-image-to-widget-sidebar/#post-2301769