[英]Magento2 Fishpig how to get return ACF image url
我是magento2的新手。 现在,我通过使用Fishpig在magento2站点内执行wp post。 我的wp中安装了ACF,所以我想称呼它。
我的密码
我尝试控制台记录我的滑块ACF,因为它在fishpig文档中声明了使用$ post-> getMetaValue(“ slider”)在帖子中的重复器字段中得到4张图像,所以它返回4。
我的ACF字段
接下来,我想循环出转发器ACF字段并显示图像。 图片字段已设置为返回URL。
我怎样才能做到这一点? 使用什么方法? 请给我看示例代码。 非常感谢。
如果滑块返回4,则表明ACF无法正常工作。 确保您具有Magento中最新版本的ACF模块和免费的Magento WordPress集成模块。
[英]Fishpig magento2 Integration with wordpress
[英]Magento2 get the product URL in invoice mail
[英]How to add external image in magento2 pdp
[英]Magento2 how to get token by rest api?
[英]How to get current category in magento2?
[英]How can we change size of an attribute Swatch image in Magento2
[英]Magento2 how add image uploader field in admin cms
[英]Custom Image is not showing in Magento2
[英]Magento2 get products collection
[英]Magento2 how to upload images in image slider in the home page?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.