首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在wordpress论文主题中创建footer.php

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

Stack Overflow用户
提问于 2013-01-22 19:48:27
回答 1查看 428关注 0票数 0

我在论文主题文件夹中创建footer.php文件,但主题不是拉出该内容,所以如何访问我的页脚区域的footer.php文件的内容。

代码语言:javascript
复制
<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>                             
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-01-22 19:58:15

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

您可以通过在function.php文件中添加以下代码来完成此操作。

代码语言:javascript
复制
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/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14457850

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档