• bunchofapes

    (@bunchofapes)


    Hello I am using wp-events manager and its #_ATT function to add the following details to an event:

    Cost:
    Name of Association:
    Tutor(s) Name:
    Contact:
    Phone:
    email:
    Website:
    Information:

    I have that all working fine. My query is – Is there a way to show only the above text if an entry for that field is given.

    e.g. I need this (how it is listed as an event)

    Cost:
    Name of Association:
    Tutor(s) Name: Steve Davis
    Contact:
    Phone:554433
    email:[email protected]
    Website:
    Information:

    To become

    Tutor(s) Name: Steve Davis
    Phone:554433
    email:[email protected]

    i.e the fields not populated, their titles dont show..

    The code I am using in wp-events manager is:

    `<p><strong>Date: </strong>#_EVENTDATES<br>
    <strong>Time: </strong>#_EVENTTIMES<br>
    <strong>Location: </strong>#_LOCATIONFULLLINE<br>
    <strong>Category: </strong>#_CATEGORIES<br>
    <strong>Cost: </strong>#_ATT{Cost: £}<br>
    <strong>Name of Association: </strong>#_ATT{Name of association:}<br>
    <strong>Tutor(s) Name: </strong>#_ATT{Tutor(s) Name:}<br>
    <strong>Contact: </strong>#_ATT{Contact:}<br>
    <strong>Phone: </strong>#_ATT{Phone:}<br>
    <strong>email: </strong>#_ATT{email:}<br>
    <strong>Website: </strong><a href=”https://#_ATT{Website:} “>#_ATT{Website:}</a><br>
    <strong>Information: </strong>#_EVENTNOTES </p>`

  • The topic ‘wp events manager – single event details’ is closed to new replies.