Sauter la navigation

[Résolu] Images in Custom Posts Are Not Displaying

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

Using Elementor template to design those single photo-album posts, and using Elementor Gallery widget to display repeatable image fields.

Solution:

It is Elementor plugin can not output the images, I don't think we can fix their problem, you might need to check it with Elementor support.

As a workaround, you can try our Toolset Blocks plugin:

https://toolset.com/forums/topic/images-in-custom-posts-are-not-displaying/#post-1832895

Relevant Documentation:

https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/

This support ticket is created Il y a 4 années et 1 mois. 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)

Marqué : ,

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par barryG-4 Il y a 4 années et 1 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1830629

Tell us what you are trying to do? Display images in custom posts

Is there any documentation that you are following? No

Is there a similar example that we can see? All pages are private. Can I send you credentials for password protected area?

What is the link to your site? lien caché

#1830631

Hi, I’ve just put up a site at mollielee.com/private and have created 2 custom post types called Photo Albums and Letters. There is one custom field group associated with each post type and each group has two custom fields, one being a date field, the other an image field. I created a template page for each post type in Elementor.

Initially this morning I created one post for the Photo Album post type and one for the Letters custom post type just to check they were working with the template. All good. I sent the site to my client to show them and they asked me to add some more posts to make the site look more finished.

I added two more Photo Album posts and one Letter post and in all the new posts I’ve just added, none of the images are displaying. Even when I am in edit mode in the Elementor Template page and I change the preview options to any post other than the first one I created, the images don’t show.

The site is very basic and apart form the whole site directory being password protected there’s nothing odd about it. Only Toolset and Elementor related plug ins are installed.

Can you help please.

Can I give you admin login to have a look?

If I upload screenshots will they be private?

Many thanks,
Barry.

#1831675

Hello,

Please backup your website, and fill below private message box with login details and FTP access, also point out the problem page URL and view URL, thanks

#1832895

Thanks for the details, I can login your website and see the problem, but you are using Elementor template to design those single photo-album posts, and using Elementor Gallery widget to display those images, it is Elementor plugin can not output the images, I don't think we can fix their problem, you might need to check it with Elementor support.

As a workaround, you can try our Toolset Blocks plugin:
1) Deactivate/remove the "Photo Album Single" Elementor template
2) Install Toolset Blocks plugin, you can download it here:
https://toolset.com/account/downloads/
3) Follow our document to design those single photo-album posts with Toolset Content Template:
https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/
4) Display the images with Toolset Gallery block:
https://toolset.com/course-lesson/dynamic-galleries-and-sliders-for-templates-displaying-repeating-image-fields/

#1835741

My issue is resolved now. Thank you!