[英]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.