简体   繁体   English

能够快速将项目添加到自定义帖子类型

[英]Ability to quickly add items to custom post type

Is there the ability to quickly add items to a custom post type in WordPress? 是否可以在WordPress中快速将项目添加到自定义帖子类型? I want to be able to add multiple short items (client id, article, id, price) to a custom post type at once, like the function of the ACF Repeater fields. 我希望能够一次将多个短项(客户ID,商品,ID,价格)添加到自定义帖子类型,例如ACF转发器字段的功能。 在此处输入图片说明

So basically a "+" button underneath these 3 fields to add another set of 3 fields so you can add multiple products at the same time. 因此,基本上,这3个字段下面有一个“ +”按钮,可以添加3个字段的另一组,因此您可以同时添加多个产品。 Is there a plugin for this or any other option? 是否有用于此或任何其他选项的插件?

As long as your custom post type supports custom fields this is build into wordpress. 只要您的自定义帖子类型支持自定义字段,它就会内置到wordpress中。 In your post edit screen click the 'Screen Options' tab in the top right under the 'Howdy' menu. 在您的帖子编辑屏幕中,单击“ Howdy”菜单下右上角的“ Screen Options”标签。 Check the 'Custom Fields' checkbox and you'll see a new meta box below the post body. 选中“自定义字段”复选框,您将在帖子正文下方看到一个新的元框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM