WordPress.org

Support

Support » Plugins and Hacks » [Resolved] supress empty address fields

[Resolved] supress empty address fields

  • I am wrapping my address in has_location but need to format it one fields per line as follows:

    {has_location}
    <strong>Location</strong><br/>
    #_LOCATIONLINK<br/>
    <p>#_LOCATIONADDRESS<br/>
    #_LOCATIONTOWN<br/>
    #_LOCATIONSTATE<br/>
    #_LOCATIONPOSTCODE
    {/has_location}

    If an address field is empty (STATE for example) the
    tag still renders leaving an ugle white space in the output.

    Is there any way to display address fields conditionally to prevent this?

    Thanks.

    http://wordpress.org/extend/plugins/events-manager/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] supress empty address fields’ is closed to new replies.