Hide Franchise Tab if no franchises

This topic contains 2 replies, has 2 voices, and was last updated by  jotomas 4 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #528303

    jotomas
    Buyer
    Post count: 802

    Hello,

    I am reading this thread:

    https://wpgeodirectory.com/support/topic/franchise-tab-2/

    as I have the same issue:

    “If there are no franchises the tab displays a message “No listings were found matching your selection. Something missing? Why not add a listing?.” Is there a way to hide the entire tab if there aren’t any branches?”

    Your response is:

    “If a listing has no franchise, using the default tab, then the tab should not show.”

    I do not understand what do you mean by “default tab”. I am using the “Custom Field” “Franchises” Tab. Is this the default tab?

    The fact is, that if a listing has no franchise, the tab still shows. Example:

    https://inforoses.com/menjar-i-beure/bitakora/

    I tried to modify its shortcode, but I do not see how to get what I want.

    I look forward to your reply.

    Thank you very much once again for your help.

    Best regards.

    #528309

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #528328

    jotomas
    Buyer
    Post count: 802

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket