• Resolved malachidraven

    (@malachidraven)


    Hello. I would like to add an “Add Event” button onto the main Events page as well as the Events tab on a Group. I am using BuddyPress.

    Currently, the only way to add an event is for a user to navigate away from these pages, go to their own profiles, and add an event from there. That’s just really bad navigation. I would like to add a link on those specified pages so they could click it and be taken directly to the form to add an event.

    What page templates should I modify and where exactly should I place my custom HTML code to add a button/link?

Viewing 1 replies (of 1 total)
  • Thread Starter malachidraven

    (@malachidraven)

    Nevermind, I figured it out. I found the proper page templates.

    For anyone who wants to know, the templates I used were:

    templates/buddypress/group-events.php
    templates/calendar-full.php

    I added this code to the bottom of each template:

    <div class="add-event">
    <a>events/my-events/edit/?action=edit">ADD EVENT</a></div>
Viewing 1 replies (of 1 total)
  • The topic ‘Add Event Button on pages’ is closed to new replies.