Submit Event button on Calendar?

Home Forums Calendar Products Community Events Submit Event button on Calendar?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #957971
    Kenneth
    Participant

    Is there a way to create a “Submit Event” button on the Event Calendar itself? Ideally with the same format, and right next to the “Find Events” button.

    #958145
    Geoff
    Member

    Hi Kenneth, thanks for getting in touch!

    Good question. Yes, it is certainly possible to add a button to the calendar. It will take a little custom development, but I can at least help you get started.

    • Make a copy of the bar.php file. It is located in /plugins/the-events-calendar/views/modules/bar.php.
    • Make a new folder in your theme directory called tribe-events
    • Make a new folder in that one called modules
    • Drop the copied file in that last folder

    Now that the file is in your theme, you can modify it to suit your needs. In this case, you would add a button in there using something like:

    <a class="tribe-add-event-button" href="[YOUR-LINK]">Add an Event</a>

    Then, you will need to add some CSS to your theme’s <i>style.css</i> file to style the link like the button:

    #tribe-bar-form .tribe-add-event-button {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -webkit-appearance: button;
    }

    It will  take some massaging to get this format to work with your specific layout, but this should at least give you a good foundation to work with and make that happen. 🙂

    Does this help? Please let me know.

    Cheers!
    Geoff

    #958339
    Kenneth
    Participant

    Instructions make sense, but the direct editing is a little over my head right now (only been using WordPress for a couple weeks). For now I added a “Submit Event” direct url link to my main WordPress Menu /wp-admin/nav-menus.php It’s not exactly what I wanted, but it’ll do the job. Perhaps I’ll learn the CSS editing at some point. Thanks!

    #958532
    Geoff
    Member

    Sure thing! While I’m sorry I wasn’t able to steer you to exactly what you were looking for, I’m glad you found a solution that gets the job done for the time being.

    I’ll go ahead and close this thread but do please feel free to hit us up with a new one if any other questions come up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Submit Event button on Calendar?’ is closed to new replies.