我有以下代码,而正常href
无法添加指向该按钮的链接。有什么想法吗?
<p style="text-align: center;">
[
service pattern = "boxpattern-1"
bgcolor = "#ffffff"
icon = "http://www.aquaflowright.com/wp-content/uploads/2017/01/cogwheel.png"
title = "Services"
button = "Learn More"
]Surveys, Testing, Installation, Repair, Maintenance, Notices, and Revenue Assurance[/service]</p>
答案 0 :(得分:0)
如果这在代码中,请使用do_shortcode():
<?php echo do_shortcode('[service pattern="boxpattern-1" bgcolor="#ffffff" icon="http://www.aquaflowright.com/wp-content/uploads/2017/01/cogwheel.png" title="Services" button="Learn More" ]'); ?>