0

我在论文主题文件夹中创建 footer.php 文件,但主题并未拉取该内容,因此如何访问页脚区域中 footer.php 文件的内容。

<div id="footer">
<div class="container clearfix">
    <div class="footer-widget widget_text" id="text-10">
    <h4 class="widgettitle" style="text-indent: 0px;">
 <cufontext>About </cufontext><cufontext>Liveagl.com</cufontext></h4>                             
4

1 回答 1

1

您需要使用论文页脚覆盖您的自定义页脚。

您可以通过在function.php文件中添加以下代码来实现。

remove_action('thesis_hook_footer', 'thesis_attribution');
function my_custom_footer() {
  //Your custome footer code goes here
}
add_action('thesis_hook_footer', 'my_custom_footer');

参考:http ://thesistutor.com/how-to-change-the-footer-content/

于 2013-01-22T11:58:14.867 回答