Conditional Elements Based on Package

This topic contains 4 replies, has 3 voices, and was last updated by  melissafdunn 8 months, 1 week ago.

Tagged: 

  • Author
    Posts
  • #525282

    melissafdunn
    Full Member
    Post count: 23

    Is it possible to conditionally show/hide elements on the “Details” template depending on the package it is on? We would like to have a call to action at the bottom of the template that only shows for the “Free” plan prompting them to pay for “Premium”.

    I know I could *techincally* do a display:none; with CSS since it seems the package ID is added as a body class – but – I would prefer to not render it at all if possible.

    I saw some info about conditionals in general here from a few years ago – but – but am wondering if there’s an update. 🙂

    https://wpgeodirectory.com/support/topic/conditional-fields/

    Thank you so much!

    #525347

    Guust
    Moderator
    Post count: 29970

    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!

    #526061

    melissafdunn
    Full Member
    Post count: 23

    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!

    #526077

    Alex Rollin
    Moderator
    Post count: 27815

    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!

    #526085

    melissafdunn
    Full Member
    Post count: 23

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

The topic ‘Conditional Elements Based on Package’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.