• Resolved guynumber6

    (@guynumber6)


    I put in a zoom link into the location. I choose a URL as the location.
    When I use the LOCATIONURL tag, it shows the page of the event, not the zoom link. When I use the LOCATIONLINK tag, nothing shows up.
    This feature is broken.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The #_LOCATIONURL placeholder refers to the URL of the location on your site under WP-Admin>Events>Locations and would only be available for physical locations, not URL locations. I would hope that there is an event related placeholder for the “Virtual” location of an event with a link as the location but I have not found it. Will post here when I find it.

    See these pages for more info, they are kind of dense, but incredibly useful:

    Event & Location Related Placeholders

    Conditional Placeholders

    You can use the various placeholders to build out better templates under Events>Settings>Formatting

    PS
    I have no affiliation with this plugin and my answers are based only on my experience with it.

    • This reply was modified 5 years, 3 months ago by multifrog.

    Here is the info you need to display your “virtual events’ URLs

    To display the event link on the list page or the event single page, you would need to add:
    #_EVENTLOCATION or #_EVENTLOCATION{url}

    to:
    Events>Settings>Formatting>Default event list format
    and/or Events>Settings>Formatting>Single event page format.

    You would probably also want to use the conditional tags:
    {has_event_location_url}…{/has_event_location_url}
    or {no_event_location_url}…{/no_event_location_url}:
    or {has_location} {/has_location}
    to display locations differently for physical events and virtual events.

    Here is an example:

    {no_event_location_url}
    <p>
    Location<br />
    #_LOCATIONLINK
    </p>
    {/no_event_location_url}
    
    {has_event_location_url}
    <p>
    Virtual Event Link<br />
     #_EVENTLOCATION
    </p>
    {/has_event_location_url}
    
    • This reply was modified 5 years, 3 months ago by multifrog.
    • This reply was modified 5 years, 3 months ago by multifrog.
    Thread Starter guynumber6

    (@guynumber6)

    Ah…that did it. I was thinking logically about what to display. And why you would ever want to display the URL of the even you are currently looking at is certainly not logical in my mind.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘LOCATIONURL’ is closed to new replies.