Php Wordpress添加按钮链接
我有以下代码,正常的Php Wordpress添加按钮链接,php,html,css,wordpress,button,Php,Html,Css,Wordpress,Button,我有以下代码,正常的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 = "Servic
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>
[
服务模式=“boxpattern-1”
bgcolor=“#ffffff”
图标=”http://www.aquaflowright.com/wp-content/uploads/2017/01/cogwheel.png"
title=“服务”
button=“了解更多信息”
]调查、测试、安装、维修、维护、通知和收入保证[/service]
如果这在代码中,请使用do\u 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" ]'); ?>