duanke6057 2018-10-19 00:56
浏览 191

Wordpress标题(使用多个标题)在自定义页面上显示两次

I currently am trying to do multiple headers in wordpress. I want the home page to have a custom header while the rest have a simple menu header. I have done this in the past but its been a long time since ive needed to and cant figure out what im missing this time around.

I have created the custom header php (header-splash.php) and use the code

get_header('splash'); in the php bracket

on my page-splash.php page to call the header. However when doing this, the header that is the default header is showing up UNDER the content but above the footer for some reason.

You can see an example via a screen shot here https://imgur.com/a/uhFFtV9

Ive been testing a few thing that i have seen for ways to do multiple headers, however none seem to work and are years and years old of articles so im guessing things have changed over the years as well.

Thanks for the help!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
    • ¥15 正弦信号发生器串并联电路电阻无法保持同步怎么办
    • ¥15 划分vlan后,链路不通了?
    • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
    • ¥15 个人网站被恶意大量访问,怎么办
    • ¥15 Vue3 大型图片数据拖动排序
    • ¥15 Centos / PETGEM
    • ¥15 划分vlan后不通了
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)