我正在使用标题中包含FA图标的WP主题。
可以从主题自定义页面自定义图标。
我想将此图标转换为按钮链接(只需添加类似href ="#"这样的链接),无需更改样式或行为。
这是WP主题的演示:
http://wp-themes.com/arcade-basic/?TB_iframe=true&width=600&height=400
这里有标题模板中特定部分的代码:
<?php if ( $bavotasan_theme_options['header_icon'] ) { ?>
<i class="fa <?php echo $bavotasan_theme_options['header_icon'];?>"></i>
<?php } else {
$space_class = ' class="margin-top"';
} ?>
无法在i标记内进行任何链接。
提前致谢。
-Marcelo