• Resolved Ruben

    (@rubenvankempen)


    Hi there,

    Is it possible to replace content (text for example) in stead of show/hide?
    I’m using ACF for my content and Elementor to build.

    Example: website for restaurants.
    Content = opening hours
    Dynamic tag = text like “sorry, this is not available for this restaurant”
    Show/hide = Replace when condition met
    Condition = Is empty

    So when a restaurant has no opening hours yet, it shows the text “sorry, this is not available for this restaurant”.

    Screenshot example: https://prnt.sc/utncor

    • This topic was modified 3 years, 6 months ago by Ruben.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you seen the ‘fallback’ option within Elementor widget? It might be easier to use that.

    Or, just set up 2 conditions. If the ACF field is empty, show the “sorry, this is not available for this restaurant” text.

    If the ACF field is not empty: hide the text, show the opening times.

    Thread Starter Ruben

    (@rubenvankempen)

    @prblmco Thanks!
    That makes sense. Much easier.

    I did see the fallback option, but don’t understand what it means yet. I’m diving in!

    Plugin Author crazypsycho

    (@crazypsycho)

    Hello @rubenvankempen

    currently this is not implemented. But you can add a text-widget behind with same condition, but show when condition met.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace content’ is closed to new replies.