最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - How to show link to product in custom fields?

programmeradmin1浏览0评论

I'm a noobie and I have a question that's probably very simple to many people. I'm using Advanced Custom Fields, and WP Data Tables (/).

I made a custom post type "PC", and custom fields "CPU". "CPU"'s field type is Post Object, and it points to a Woocommerce product.

So when I make a table with WP Data Tables, I put the "CPU" custom field as one of the columns. But it just shows the post ID of the product, not the name or the link to the product. I want it to show the name of the custom field and link it to the Woocommerce product. How can I do that?

Thank you, Andrew

发布评论

评论列表(0)

  1. 暂无评论