admin管理员组文章数量:1336340
need to change the Address content in the footer section for certain pages only
we are working in education domain the site has two main links one for ABC High school second is XYZ Nursery and primary school.
Here i wants to place two different address one for ABC high school and second one for XYZ Nursery school how can i make this two different addres in the site .
and also need to set the separate PRIMARY MENU for this .
Any one Suggest me for this asap
need to change the Address content in the footer section for certain pages only
we are working in education domain the site has two main links one for ABC High school second is XYZ Nursery and primary school.
Here i wants to place two different address one for ABC high school and second one for XYZ Nursery school how can i make this two different addres in the site .
and also need to set the separate PRIMARY MENU for this .
Any one Suggest me for this asap
Share Improve this question edited Jun 4, 2020 at 16:23 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Jun 4, 2020 at 15:28 Arumugam GArumugam G 132 bronze badges 2- Hello! Welcome to WPSE, can you include the code in your question that displays the address? It's not possible to answer this in a generic way, not all themes contain an address in the footer ( some themes don't have a footer at all ). Use the edit link under the tags in your question to adjust your question to include the code that displays the address in the footer – Tom J Nowell ♦ Commented Jun 4, 2020 at 15:44
- As an aside, have you considered using a multisiite instead, and creating 3 sites, one for each school? Then they can all be configured differently – Tom J Nowell ♦ Commented Jun 4, 2020 at 15:46
1 Answer
Reset to default 0Wordpress allows you to have multiple headers and footers which come in handy in situations like this. You can achieve this by simply creating footer files called something like "footer-one.php" and "footer-two.php" than where ever you would like to call the secondary footer in your theme file, like for example your "home-page.php" you simply include the name in <?php get_footer('two');?>
I hope this helps.
本文标签: theme developmenthow to change footer content for certain pages only
版权声明:本文标题:theme development - how to change footer content for certain pages only 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742374439a2462877.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论