Hide shortcode-tab if shortcode is empty?

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 1 year, 4 months ago.

  • Author
  • #467908

    Full Member
    Post count: 121


    This is a follow up to this thread:

    I have added ”Custom fields” > ”Shortcode” -tabs that contains gd_listings -shortcode with a ”current_author” -filter and hide_if_empty=”1″
    Preferably I would only like to display these tabs if the gd_listings shortcode contains anything to show.
    …if the shortcode doesn’t have anything to display the tab should not be visible

    Is it possible to use geodir_tab_settings for this? …any chance you could provide a basic example?



    Alex Rollin
    Post count: 27815

    That would require a customization, but I will flag your topic for the developers in case they can provide a quick example.

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

The topic ‘Hide shortcode-tab if shortcode is empty?’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.