WordPress.org

Forums

Events Manager
[resolved] Add Attributes to Table? (6 posts)

  1. gunbunnysoulja
    Member
    Posted 1 year ago #

    For Group Events, is there any way to also add Attributes to the table, like I did with categories?

    Such as:

    Days Requested: #_ATT{Days Requested}

    This was my category code:

    <?php $terms = get_the_terms( $event->post_id, 'event-categories');
    foreach( $terms as $term )
    { echo $term->name; }?>

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

  2. gunbunnysoulja
    Member
    Posted 1 year ago #

    Edit, I was able to add to Buddypress Profile Events via the Table List settings, so that was VERY easy... How could I add to events.php table?

  3. angelo
    NetWebLogic Support
    Posted 1 year ago #

    you can try something like this $EM_Event->event_attributes['Website'])) - where website is your attribute name

  4. gunbunnysoulja
    Member
    Posted 1 year ago #

    Okay, I'll try this:

    <?php echo $EM_Event->event_attributes['Days Requested'] ?>
  5. gunbunnysoulja
    Member
    Posted 1 year ago #

    Awesome, got it working. Thanks so much!

  6. angelo
    NetWebLogic Support
    Posted 1 year ago #

    thx for the update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.