Home › Forums › Calendar Products › Community Events › Submit Event button on Calendar?
- This topic has 3 replies, 2 voices, and was last updated 11 years ago by
Geoff.
-
AuthorPosts
-
April 23, 2015 at 9:08 pm #957971
Kenneth
ParticipantIs 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.
April 24, 2015 at 10:50 am #958145Geoff
MemberHi 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!
GeoffApril 25, 2015 at 6:50 pm #958339Kenneth
ParticipantInstructions 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!
April 27, 2015 at 8:29 am #958532Geoff
MemberSure 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 -
AuthorPosts
- The topic ‘Submit Event button on Calendar?’ is closed to new replies.
