WordPress.org

Support

Support » Themes and Templates » [Resolved] New theme, header ignore pages?

[Resolved] New theme, header ignore pages?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kafkaesqui

    @kafkaesqui

    Find this line:

    elseif ($page_name == "about_short") {/*ignore*/}

    Add another line right after it, basically a duplicate, specifying the Page you want to ‘ignore’:

    elseif ($page_name == "about_short") {/*ignore*/}
    elseif ($page_name == "i_hate_peas") {/*ignore*/}

    Make sure to use the Page or ‘post’ slug here, not the ID or title. Just add a new line for each Page you want to pass over.

    ajtaylor20

    @ajtaylor20

    Perfect Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] New theme, header ignore pages?’ is closed to new replies.
Skip to toolbar