A couple questions

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

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

Open Support Ticket
  • Author
    Posts
  • #524706

    Debby
    Free User
    Post count: 5

    I have a few questions that I’d love to see if you can help with. FYI I’m using Elementor Page Builder.

    1. Is it possible to hide the Franchise Tab for certain categories. I some javascript here but it doesn’t seem to work https://wpgeodirectory.com/docs-v2/places/tabs/ and it’s also for a single category and I have multiple that I’d like to turn off.

    2. Is it possible on detail listings to turn off the address visiblity for certain categories.

    #524724

    Alex Rollin
    Moderator
    Post count: 27815

    GeoDirectory and Elementor both don’t have a conditional logic type system for showing/hiding. We recommend the use of widget logic with WP conditional tags for that.

    https://wpgeodirectory.com/docs-v2/faq/common-examples/#logic

    On the details page you can also use custom CSS to hidesome elements, based on category, but not a tab. If you add the GD Linked Posts in the GD Details template you can use CSS based on the category body class.

    Category body class looks like:

    
    
    
    body.single-gd_place geodir-post-cat-7 {}
    
Viewing 2 posts - 1 through 2 (of 2 total)

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

Open Support Ticket