Home › Forums › Calendar Products › Events Calendar PRO › Move Tribe Bar below Monthly Calendar
- This topic has 5 replies, 2 voices, and was last updated 8 years, 5 months ago by Geoff.
-
AuthorPosts
-
November 30, 2015 at 2:55 pm #1032850Melanie AdcockParticipant
I have searched the forum and the read the Themer’s Guide. My client wants the Tribe Nav Bar below the calendar in the month view.
I create the tribe-events folder in their theme folder (and created the corresponding needed sub folders src and views
I removed the following from the month.php
// Tribe Bar
tribe_get_template_part( ‘modules/bar’ );In the content.php file insides the src/views/month folder I added
<?php tribe_get_template_part( ‘modules/bar’ );?>
below the monthly calendar file before the closing div tag.Not seeing any change what so ever… any suggestions. It is like it isn’t seeing the files in the tribe-events folder at all. Right now I am just using the regular version of the calendar and will upgrade them to pro once I have it approved. Am I missing something obvious?
Melanie
December 1, 2015 at 8:25 am #1033258GeoffMemberHowdy Melanie, and welcome to the forums!
Good question. You can indeed move the bar below the calendar in Month View. In fact, here;s how you would do that:
- Make a copy of the month.php file. It’s located in /plugins/the-events-calendar/src/views/month.php
- Make a new folder in your theme (or child theme) called tribe-events
- Drop the copied month.php file in that folder
Now that the template is in your theme, you can change it to suit your needs. In this case, Move the code for the bar (lines 18-19 for me) after the main events content (lines 21-22 for me). Save that and the bar should be below the calendar.
Will that work for you? Please let me know. 🙂
Cheers!
GeoffDecember 1, 2015 at 8:39 am #1033267Melanie AdcockParticipantThat was the first thing I tried. Still not working.
December 1, 2015 at 8:44 am #1033270GeoffMemberOh weird! That seems to be working for me (screenshot). Are you saving the template override in the correct place? What happens if you temporarily replace the template in the plugin files with the edited one–making sure you back up the original and place it back when done testing?
Geoff
December 1, 2015 at 9:03 am #1033288Melanie AdcockParticipantI was recreating the folder structure according to the directions so I had a scr and views folder and had the month.php folder inside the views folder.
Thanks.
Melanie
December 1, 2015 at 10:05 am #1033320GeoffMemberMy pleasure! Thanks again for getting in touch and feel free to hit us up if any other questions pop up. 🙂
Cheers,
Geoff -
AuthorPosts
- The topic ‘Move Tribe Bar below Monthly Calendar’ is closed to new replies.