Hide breadcrumbs from page

This topic contains 8 replies, has 4 voices, and was last updated by  Guust 8 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #53386

    drawsnfades
    Expired Member
    Post count: 6

    My client does not like the breadcrumbs at the top of the details and listing pages. Is there a plugin or way you would recommend ‘hiding’ or ‘moving’ the breadcrumbs. Possibly moving the breadcrumbs to the bottom of the listings or detail pages?

    site: http://golocalcity.com/events/united-states/south-carolina/bluffton/festival-1/bluffton-arts-and-seafood-festival/?gde=2015-09-16#post_profile

    Thank you

    #53419

    Guust
    Moderator
    Post count: 29970

    You could add this to your CSS:
    .geodir-breadcrumb {display: none;}

    #53460

    Paolo
    Site Admin
    Post count: 31206

    Or remove breadcrumb programatically from each GD page:

    
    
    
        remove_action('geodir_detail_before_main_content', 'geodir_breadcrumb', 20);
        remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20);
        remove_action('geodir_author_before_main_content', 'geodir_breadcrumb', 20);
        remove_action('geodir_search_before_main_content', 'geodir_breadcrumb', 20);
        remove_action('geodir_home_before_main_content', 'geodir_breadcrumb', 20);
        remove_action('geodir_location_before_main_content', 'geodir_breadcrumb', 20);

    and add them back using a different hook:

    
    
    
        add_action('geodir_detail_after_main_content', 'geodir_breadcrumb', 20);
        add_action('geodir_listings_after_main_content', 'geodir_breadcrumb', 20);
        add_action('geodir_author_after_main_content', 'geodir_breadcrumb', 20);
        add_action('geodir_search_after_main_content', 'geodir_breadcrumb', 20);
        add_action('geodir_home_after_main_content', 'geodir_breadcrumb', 20);
        add_action('geodir_location_after_main_content', 'geodir_breadcrumb', 20);

    I haven’t tested this, I’m 100% sure the remove part is correct, please let us know if the re-add works as you’d expect it.

    Thanks

    #54458

    drawsnfades
    Expired Member
    Post count: 6

    Guust

    Worked fine.

    Thanks so much!

    #54481

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #60509

    janine dodge
    Expired Member
    Post count: 153

    Hi,

    Regarding Guust’s and Paolo’s post, do we add these codes to functions.php and not under design > scripts? Thanks.

    #60512

    Guust
    Moderator
    Post count: 29970

    CSS can be added to style.css of your child theme.
    The code that Paolo posted goes in the functions.php file of your child theme.

    #60688

    janine dodge
    Expired Member
    Post count: 153

    Hi Guust,

    How can I add your code to the style.css file? Mine is a safari page. Maybe I did something wrong? Thanks.

    #60711

    Guust
    Moderator
    Post count: 29970

    In your WP admin: Appearance > editor > select your child theme > select your style.css

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount