不需要/ a>出现在页面上

时间:2016-10-13 18:21:05

标签: html wordpress

Error 我有一个不想要的/ a>在显示页面上显示为支线卡/ a>。该链接应该读取分支线卡。错误直到最近才出现。我不是一般编码员 - 请帮忙!页面链接为http://guardianbp.com/branches/

以下是代码示例:

<!-- Product Catalog -->
        <?php if ( !empty( get_field('branch_product_catalog'))): ?>
        <section class="pt-medium pb-medium gray-bg">
            <div class="container">
                <div class="row">
                    <div class="col-md-1 col-sm-1 col-xs-1 "></div>
                    <div class="col-md-10 col-sm-10 col-xs-10 text-center">
                        <h1><span class="blue">Branch Line Card</span></h1>

                            <div class="lgbtn-icon-bg">
                                <a href="<?php the_field('branch_product_catalog'); ?>">
                                    <button type="button" class="btn btn-lg-productcatalog btn-lg">
                                    <i class="fa fa-book fa-5x"></i>
                                    <h2><small>view the</small><br />
                                    <?php the_title(); ?><br />
                                    Branch Line Card</h2>
                                    </button>
</a>
                            </div>
                            </div>

                    <div class="col-md-1 col-sm-1 col-xs-1"></div>
                </div>
            </div>
        </section>
    <?php endif; ?>

1 个答案:

答案 0 :(得分:0)

它看起来像一个不匹配的分隔符。似乎只有一个“&lt; a /&gt;”漂浮在:

之间
         </button>
</a>
          </div>