WordPress.org

Ready to get started?Download WordPress

Forums

wp events manager - single event details (1 post)

  1. bunchofapes
    Member
    Posted 1 year ago #

    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:steve@snooker.com
    Website:
    Information:

    To become

    Tutor(s) Name: Steve Davis
    Phone:554433
    email:steve@snooker.com

    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="http://#_ATT{Website:} ">#_ATT{Website:}</a><br>
    <strong>Information: </strong>#_EVENTNOTES </p>`

Topic Closed

This topic has been closed to new replies.

About this Topic