Need clear explanation about medias/files/attchments

Question

During an import, I need to add images and linked to a custom post using WPML like :

  1. post 1 in french

    1.1 picture foo.jpg (visible in library and attached to this post and add as featured image )

    1.2 picture bar.jpg (visible in library and attched to this post)

  2. post 1 in english

    2.1 picture foo.jpg (visible in library and attched to this post and add as featured image)

    2.2 picture bar.jpg (visible in library and attched to this post)

  3. post 2 in french…

Sometimes I´ve got these weird behaviours :

  • Featured image visible in post but not visible in library
  • Others images found but not visible in library
  • and others kind of bugs about this

So, I would like to get an explanation about how WordPress works to get images in library and be attached and as featured for others custom post type.
What happens in the database ?

If you have a good tutorial or explanation on the Web, please share me the link.

0
, , J.BizMai 3 years 2020-07-03T18:10:59-05:00 0 Answers 71 views 0

Leave an answer

Browse
Browse