ACF 字段未显示在产品标签上
我已将 ACF 添加到我们现有的网站,该网站使用高度定制的子主题。
在我的新字段组中,我将位置规则设置为后分类法,它等于product_tag值(“经典”)。但是,这些自定义字段不会显示或存在。
我认为可以通过“屏幕选项”启用自定义字段,但产品标签分类页面上不存在屏幕选项。
我还禁用了除 elementor、ACF 和 woocommerce 之外的所有插件。也有同样的结果。
关于如何解决这个问题有什么想法吗?
I've added ACF to our existing site which is using a highly customized child theme.
On my new field group I set the location rule as Post Taxonomy which is equal to the product_tag value ("classic"). However, these custom fields are not displaying or present.
I thought that custom fields could be enabled via "screen options" however screen options is not present on the product_tag taxonomy page.
I also disabled all plugins with the exception of elementor, ACF and woocommerce. Also with the same result.
Any ideas on how to resolved this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够创建一个解决方案,通过functions.php 将自定义元添加到 woocommerce 产品标签和类别。
其中与分类相关联的分类术语 slug 可以是:帖子类别 =>类别,帖子标签 => post_tag,WC 产品类别 => Product_cat,WC 产品标签 =>产品标签
I was able to create a solution that would add custom meta via functions.php to woocommerce product tags and categories.
Where the taxonomy term slug that is associated with the taxonomy could be: Post Categories => category, Post Tag => post_tag, WC Product Categories => product_cat, WC Product Tags => product_tag