我在论文主题文件夹中创建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> 发布于 2013-01-22 19:58:15
你需要用论文页脚覆盖你的自定义页脚。
您可以通过在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/
https://stackoverflow.com/questions/14457850
复制相似问题