Saltar navegación

[Resuelto] drawing items from another dataset (images) into a post via an ID

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Minesh 1 year, 7 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2784203

I want to pull images from an old site into posts using an ID that is in the import from the posts. I set up a new type (Images) and imported the images (jpgs) and their data (in the database). I also set up a many to many relationship betweent the post type and the images type. But when I went to work on the template for my Posts, which are also imported and have a field for the ID fpr the images, I couldn't figure out how to draw on a different tool type to get the data (the image url associated with the ID and its title and caption) to appear. I used WP All Import and reviewed those settings, too, thinking the two types could be associated there, but didn't get any result.

Looking forward to your help.

Thanks,
Charmaine

#2784254

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand you have old site X with posts having images (multiple images) per post, so images will be a repeating field (multiple instance) and now you have new site Y with same posts and you want to import images from old site to new site.

If this is true:
- Please check the following related tickets that might help you:
=> https://toolset.com/forums/topic/to-add-pictures-in-a-slide-by-wp-import/
=> https://toolset.com/forums/topic/wp-all-import-and-toolset-types-importing-image-from-url/#post-1557351