Remove tab, condition?

This topic contains 2 replies, has 2 voices, and was last updated by  anders 6 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #404567

    anders
    Full Member
    Post count: 121

    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: 27815

    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: 121

    Ok, please move to jobs

    Thanks!

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