Add breadcrumb to Supreme theme listing page

This topic contains 6 replies, has 3 voices, and was last updated by  Craig Fryer 8 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #284485

    Craig Fryer
    Expired Member
    Post count: 110

    I have been wanting to add the breadcrumb to the listing pages (such as https://www.gojapango.com/places/tokyo/tokyo/landmarks/shibuya-crossing/). I saw the code in this thread https://wpgeodirectory.com/support/topic/switch-breadcrumb-and-title-map-and-one-listing/ and thought that may work, but it didn’t.

    I tried both:

    
    
    remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20);
    add_action('geodir_listings_page_title', 'geodir_breadcrumb', 10);

    and just

    add_action('geodir_listings_page_title', 'geodir_breadcrumb', 10);

    I used the Code Snippet plugin.

    #284927

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I asked tho the developers to check and let us know.

    They wil probably reply Monday morning though as they are all off now.

    Thanks for your patience,

    #285650

    Giri
    Expired Member
    Post count: 3155

    Try this.

    
    
    
    add_action('geodir_listings_content', 'geodir_breadcrumb', 1);
    #285656

    Craig Fryer
    Expired Member
    Post count: 110

    Thanks for your help, but it doesn’t seem to have worked.

    #285657

    Craig Fryer
    Expired Member
    Post count: 110
    This reply has been marked as private.
    #285661

    Giri
    Expired Member
    Post count: 3155

    Hi Craig,

    Sorry. I thought you were talking about listings page.

    Try this code for supreme detail page.

    
    
    
    add_action('sd-detail-details-before', 'geodir_breadcrumb', 1);
    #294395

    Craig Fryer
    Expired Member
    Post count: 110

    Thank you for this Giri.

    I just realised that this doesn’t solve my problem.

    I wanted to breadcrumb to show/make it easy to go to the main Neighborhood page, but of course the neighborhood isn’t part of the url structure.

Viewing 7 posts - 1 through 7 (of 7 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