代码之家  ›  专栏  ›  技术社区  ›  Iustin Beceneagă

当我在某个页面上时,我的wordpress标题消失了

  •  -1
  • Iustin Beceneagă  · 技术社区  · 8 年前

    get_headers() 用于我的自定义页面。

    当我从主页导航到projekte的页面时,我的标题不见了。

    my site

    here is my screenshot

    2 回复  |  直到 8 年前
        1
  •  0
  •   Vueer    8 年前

    自定义标题示例:

    header-custom.php
    代码: get_header('custom');

    对于本例,请确保自定义标题位于主题根目录中。

        2
  •  0
  •   Harshal Valanda    7 年前

    只要改变你的功能。它是 get\u header不是get\u headers,因此请遵循此文档。

    get_头()

    https://codex.wordpress.org/Function_Reference/get_header

    推荐文章