Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/287.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在wordpress论文主题中创建footer.php_Php_Wordpress_Wordpress Thesis Theme - Fatal编程技术网

在wordpress论文主题中创建footer.php

在wordpress论文主题中创建footer.php,php,wordpress,wordpress-thesis-theme,Php,Wordpress,Wordpress Thesis Theme,我正在论文主题文件夹中创建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;">

我正在论文主题文件夹中创建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>                             

关于Liveagl.com

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

您可以通过在
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');

参考:

您使用的是哪一版本的论文?我目前使用的是论文2.0主题