【发布时间】:2016-03-30 00:59:12
【问题描述】:
有人知道如何在高级自定义字段中将静态标签替换为 PDF 附件的标题吗?
<?php if( get_field('other_reports') ): ?>
<p><strong><a href="<?php the_field('other_reports'); ?>">Disclosure Reports</a></strong></p>
<?php endif; ?>
我想将“披露报告”替换为 PDF 附件的标题属性(例如 111 Main Street)。
提前感谢您的任何指导。
【问题讨论】:
标签: php wordpress pdf advanced-custom-fields