WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Buddypress Group Add Event (3 posts)

  1. dswright
    Member
    Posted 1 year ago #

    Hi,

    Is there a way to add an add event button on the buddypress group event tab?

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

  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

    Hi,

    try to modify template file at wp-content/plugins/events-manager/templates/buddypress/my-group-events.php

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

    e.g.

    global $bp;
    
    <?php if( get_current_user_id() == $bp->displayed_user->id ): ?>
    <a href="<?php echo $bp->events->link . 'my-events/edit/'; ?>"><?php _e('Add Event','dbem'); ?></a>
    <?php endif; ?>
  3. nowton
    Member
    Posted 7 months ago #

    Replace get_current_user by loggedin_user and bob's your uncle. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic