WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Event List Attribute Display (5 posts)

  1. rcallison
    Member
    Posted 5 months ago #

    I would like to add an attribute to my events and have it displayed on the default Events List page. That is not a problem, fairly easy to do. However, is there a way to only display the attribute if it has a value? Sort of like using the {has_location} tags to display the attribute only if it exists? I can't seem to figure out where to look in the documentation for this.

    https://wordpress.org/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 5 months ago #

    There's nothing like that out-of-the-box, that said attributes are stored in the database as custom fields so they can be displayed and queried in the same way.

    This should help:
    http://codex.wordpress.org/Custom_Fields#Advanced_Techniques_for_Custom_Fields

  3. rcallison
    Member
    Posted 5 months ago #

    That answers my question, thanks.

  4. angelo
    NetWebLogic Support
    Posted 5 months ago #

  5. rcallison
    Member
    Posted 5 months ago #

    That's exactly what I needed Angelo. Thank you for posting.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.