我知道 enfold 提供了将您的电话号码放在标题上方的选项,但我实际上想在标题本身中放置一个更大的号码。我已经这样做了,但由于某种原因,手机无法将电话号码识别为可点击的链接。这是代码:
$phone = avia_get_option('phone');
$phone_class = !empty($nav) ? "with_nav" : "";
if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>";
/* <div class="phone2">503-436-5584</div>
* Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart)
*/
do_action('avia_meta_header');
echo '</nav>';
?>
</div>
</div>
<?php } ?>
<div id='header_main' class='container_wrap container_wrap_logo'>
<div class='phone2'><a href="tel:503-436-5582">503-436-5582</a></div>
</a></strong><img class='cards' src='http://garagedoorsrepairwestlinn.com/wp-content/uploads/2014/01/crdit-card-logo.jpg' /></div>
<?php
/*
* Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart)
*/
do_action('ava_main_header');
?>
我究竟做错了什么?当我添加第二个时</div>
,它在计算机上显示为一个链接,但它完全取消了徽标和编号。