Remove tab, condition?

This topic contains 2 replies, has 2 voices, and was last updated by  anders 1 year, 11 months ago.

  • Author
    Posts
  • #404567

    anders
    Full Member
    Post count: 87

    Hi,

    I´m adding a new tab that includes a CPT listing shortcode, following the code explained here:
    https://wpgeodirectory.com/support/topic/author-parameter-in-shortcode/

    It´s working really nice, however I wonder if you could help me with a condition to not display this tab at all if there are no results from the shortcode listing query ?

    Thanks!

    #404568

    Alex Rollin
    Moderator
    Post count: 21483

    Hello!

    Sounds like a great customization! I can move this thread to the GD Jobs forum, or you can make a new post there.

    Let us know!

    #404574

    anders
    Full Member
    Post count: 87

    Ok, please move to jobs

    Thanks!

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

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