如何使用后记和图像导出自定义后记类型详细信息

编程入门 行业动态 更新时间:2024-10-28 07:30:14
本文介绍了如何使用后记和图像导出自定义后记类型详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在两个网站上都有一个自定义帖子类型,我必须导出该帖子类型中的所有帖子,然后导入到第二个网站.

所以我的帖子类型是产品" .实际上,我可以使用Wordpress默认导入导出,但是问题是它不包括帖子类型中的全部详细信息,并且不导出所有图像.

在我的产品中,我在特色图片侧边栏旁还有一个图片库部分.在这里,我可以添加图库图像.

因此,如果我的帖子ID为324 ,并且为该帖子添加了两个厨房图片,那么在数据库post_meta_option中,我可以看到

post_id = 324 , meta_key = rtthemert_gallery_images , meta_value = 222,223 ,此处223,224是图像ID.

因此,请任何人都可以帮助我仅对此画廊图像进行导出查询,以便在我导入第二个站点时,画廊图像也需要自动添加到该帖子中.

解决方案

您可以使用 WP全部导出以导出,并 WP全部导入以便在其他站点上导入.这两个插件都是由同一家公司开发的,并且可以很好地协同工作.

该界面非常简单易用.

多年来,我已经在一些需要大量调整的大型数据库上使用它,但是我从未遇到任何问题.

I have a custom post type on two websites and I have to export all posts in that post type and import to the second site.

So my post type is "products". Actually, I can use Wordpress default import export but the problem is that it is not including the full details in the post type and not exporting all images.

In my product, I have an additional image gallery section near featured image sidebar. Here I can add gallery images.

so if my post id is 324 and I added two galley images for that post then in database post_meta_option I can see that

post_id=324, meta_key=rtthemert_gallery_images ,meta_value =222,223 here 223,224 are image id.

So please anyone can help me to make an export query for this gallery images only, so that when I import to the second site the gallery images also need to automatically added to that post.

解决方案

You can use WP all Export to export and WP all Import to import on the other site. Both plugins are developed by the same company and they work great together.

The interface is pretty straightforward and easy to use.

I've been using it for years on some really large databases with a lot of required tweakings and I never had any issue.

更多推荐

如何使用后记和图像导出自定义后记类型详细信息

本文发布于:2023-10-29 20:24:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1540649.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:后记   详细信息   自定义   如何使用   图像

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!