Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM how to disable breadcrumbs in

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 3 years, 11 months ago.

  • Author
    Posts
  • #3394

    Vasily

    Hi
    I have a one more question =)
    How is it possible to disable breadcrumbs in single-estate_property.php page.
    I mean remove completely together with grey color div’s on the top and bottom of page.
    Thanks!

  • #3400

    Anna
    Keymaster

    Hi Vasily,

    There are 2 breadcrumbs functions in functions.php

    breadcrumb_container
    display_breadcrumbs

    The function that can be updated to not show breadcrumbs on property page. Something like this:

    if(!is_front_page()&& get_post_type()!=’estate_property’){$return_string=”;}

    We haven’t tested it live. I hope it works. If you need more help, please let me know.

    Thank you,
    Anna

You must be logged in to reply to this topic.