我正在尝试在wordpress网站的页脚中实现一些微数据。 Microdata如下:
<div itemscope itemtype="http://schema.org/LocalBusiness">
<span itemprop="name">Mivatech Security</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Notstraat 62</span>
<span itemprop="addressLocality">Asse</span>,
<span itemprop="addressRegion"></span>
<span itemprop="postalCode">1730</span>
</div>
Phone: <span itemprop="telephone">+32 (0) 477 871 130</span>
</div>
但是我有点困惑,因为footer.php调用地址的php代码,而不是HTML:
<footer id="footer">
<div class="upper-footer">
<div class="block">
<?php echo ot_get_option('b4u_address'); ?>
</div>
<div class="block">
Tel: <?php echo ot_get_option('b4u_phone'); ?><br>
Mail: <?php echo ot_get_option('b4u_contact_email'); ?><br>
Btw: <?php echo ot_get_option('b4u_vat_number'); ?>
</div>
如何在此页脚中实现微数据?