1

祝大家有美好的一天。我在使用 Wp-All Import 导入 Autoroyal 主题中的图像时遇到问题。该主题仅支持序列化的图像。

这是xml的格式:

<images>
<image>
<small>http://graphics.gestionaleauto.com/gonline_graphics/13940689_T_5f6f00abb8a0e.jpg
</small> 

导入如下:

{images[1]/image[1]/small[1]},{images[1]/image[2]/small[1]} 

ETC...

我的问题是:如何序列化图像以便主题能够识别它们? ps:显然XML文件有更多的图片要导入

a:2:{s:3: "url";s:122: "hxxp://massoli.noleggioevia.it/wp-content/uploads/autoroyal-uploads/2020/10/27-2020-Honda-CR-V-blue-CR-V-Hybrid-source.jpg";s:2: "id";s:4: "6156";}

感谢大家的宝贵帮助。

4

0 回答 0