Extend Listing Tabs

This topic contains 4 replies, has 3 voices, and was last updated by  T L 4 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #529497

    T L
    Expired Member
    Post count: 48

    Still working on moving GDV1 mods to GDV2.

    I’m not seeing a hook to extend the listing tabs in GDV2. In V1 this was a hook “geodir_detail_page_tab_list_extend”. Is there any equivalent in V2 I’m missing?

    Thanks

    Tom

    #529498

    Guust
    Moderator
    Post count: 29970

    Can you explain what you are trying to do?

    You can just add any tab at
    Places (or other CPT) > Settings > Tabs tab.

    https://wpgeodirectory.com/reordering-tabs-in-geodirectory-v2/

    Thanks

    #529499

    T L
    Expired Member
    Post count: 48

    Thanks Guust.

    I am needing to dynamically add or remove tabs dependent on other WP values.

    For Example: If a listing does not yet have an email contact address, I want to add an “Invite Vendor” form versus an “Enquiry” form.

    Another example: Depending on a package level, I show or hide a related vendors tab.

    That’s just two of a few customizations.

    Hope that helps. Again, I’m looking to recreate functionality that existed in GDV1.

    #529610

    Kiran
    Moderator
    Post count: 7069

    Hello There,

    We have improved detail page tabs via CPT Settings. I have added some new hooks to customize tabs.

    It will be in next release. See patch here https://github.com/AyeCode/geodirectory/pull/1060/commits/4b45a610b2851184e207db388b2708e1e540bb51

    Kiran

    #529864

    T L
    Expired Member
    Post count: 48

    Excellent. Thank you Kiran! This will be very helpful.

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

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

Open Support Ticket