WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Show #_EVENTNOTES placeholder only when it has content (2 posts)

  1. venntom
    Member
    Posted 2 years ago #

    Hi,

    I am using the following shortcode:
    [events_list scope="future" category="28,36,37"]#_EVENTDATES #_EVENTTIMES <br/>#_EVENTNAME <br/>voor #_CATEGORYNAME<br/>#_EVENTNOTES <br/>#_LOCATIONNAME - #_LOCATIONADDRESS, #_LOCATIONPOSTCODE #_LOCATIONTOWN<br/><br/>[/events_list]

    When #_EVENTNOTES is blank, this results in a blank line.
    How can I only show #_EVENTNOTES when it has content, thus avoiding the blank line when it has no content.

    Rgds, Tom

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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you'd have to create your own custom conditional placeholder - http://wp-events-plugin.com/tutorials/creating-conditional-placeholders-for-events/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic