• Anna
    August 19, 2015 at 8:04 am #120725

    get_header function is loading core function of wordpress. So it cannot be removed from certain php page/post templates.

    To remove header, what you need to do is write some php code into header.php

    you should create a if block like this

    if ( !is_singular('estate_property') ){


    code that you want to appear for the rest of the pages like menu and media header shoud be in there



    !Make sure that inside the if you have both opening and closing statements for any div used

    Also, you may want to read the documentation for is_singular function https://codex.wordpress.org/Function_Reference/is_singular


You must be logged in to reply to this topic.