Your address will show here +12 34 56 78

Home Forums Change default header to none just for Agents, Just for Properties, or just for Posts in PHP

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years ago.

  • Author
  • #99686


    For blog post

    In header_media.php you should have something like

    if is_single and is_post do not show header (You will have to research for the exact function names – all functions are from wordpress api)


    For particular custom post types you should use:

    is_singular( $post_types );

    where $post_types can be estate_property if is property, estate_agent if is agent or post.

    Hope this helps.


You must be logged in to reply to this topic.