Buddypress group events feature request
-
The buddypress group events screen is much more useful with a link to create a new event, and links to events rather than just names. I did this manually by changing /templates/buddypress/group-events.php line 21 from
<?php echo $EM_Event->name; ?>
to
<?php echo $EM_Event->output('#_EVENTLINK');?>
and I added a link to create an event by adding
$current_user = wp_get_current_user(); $username = $current_user->user_login; ?> <a href="https://yoursite.com/members/<?php echo $username; ?>/events/my-events/edit/" class="button add-new-h2">Add New</a> <?php
in the desired place in the same file.
Just found this change useful and wanted to pass it along.
- The topic ‘Buddypress group events feature request’ is closed to new replies.