hide the Listings-tab in Buddypress if a user has no listings.

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #292283

    David Viguurs
    Expired Member
    Post count: 7

    Hello WPGEO,

    I’m having a similar situation as described here:
    https://wpgeodirectory.com/support/topic/s2member-and-bp/#post-37062

    But If I use this code the whole WPGEO-navigation disappears. After some investigation I found that it probably has to do with the fact that Listings is the default. See screenshot from the buddypress-forum, in which something similar is described.

    I think this is the case because If I change “listings” into favorites in the code, it works as expected.

    Do you have any additional suggestions on what to add to the functions.php file for this?

    To be clear: I want to hide the Listings-tab in Buddypress if a user has no listings.

    Thanks a lot!

    #292391

    Paolo
    Site Admin
    Post count: 31206

    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!

    #293372

    David Viguurs
    Expired Member
    Post count: 7

    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!

    #293462

    Paolo
    Site Admin
    Post count: 31206

    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 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket