在wordpress论文主题中创建footer.php
我正在论文主题文件夹中创建footer.php文件,但主题没有提取该内容,因此如何访问我页脚区域中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;">
<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主题