2016-10-03 113 views

回答

0

只要把你的footer.php内,并呼吁要包括或使用get_template_part()get_footer()

+0

我的页脚是固定的,但内容我不需要它在页脚我需要它在<?php get_template_part(??); ?>我已经尝试过这种方法并失败了。 – scottiescotsman

+0

我已经解决了。我添加了一个名为Secondfooter.php的文件,其中包含了预期的代码,然后调用了<?php get_template_part('Secondfooter'); ?>我想要插入代码的地方。 – scottiescotsman

相关问题