【问题标题】:Custom footer html tags自定义页脚 html 标签
【发布时间】:2013-05-03 16:30:57
【问题描述】:

在我的 Evolve 主题中,有一个部分可以使用以下文本自定义页脚:

Available HTML tags and attributes: <b> <i> <a href="" title=""> <blockquote> <del datetime=""> <ins datetime=""> <img src="" alt="" /> <ul> <ol> <li> <code> <em> <strong> <div> <span> <h1> <h2> <h3> <h4> <h5> <h6> <table> <tbody> <tr> <td> <br /> <hr />

当我尝试使用它们时,没有任何反应,html 代码显示为简单的文本。 有人知道这个问题吗?

【问题讨论】:

    标签: wordpress themes footer


    【解决方案1】:

    为什么不编辑footer.php?

    <?php $footer_content = evl_get_option('evl_footer_content',''); 
     if ($footer_content === false) $footer_content = '';
     echo esc_attr($footer_content);
    ?>
    

    将您的 HTML 推送到 $footer_content = 'insert here'

    如果我们有相同版本的“Evolve”,您可以在 footer.php 的第 88 - 91 行找到它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-02-23
      • 2022-11-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-23
      相关资源
      最近更新 更多