Home › Forums › Calendar Products › Events Calendar PRO › Event Calender Pro Photo view
- This topic has 13 replies, 2 voices, and was last updated 8 years, 5 months ago by
boomerstyle1010.
-
AuthorPosts
-
November 8, 2017 at 9:16 am #1378187
boomerstyle1010
ParticipantJust purchased product because the photo view demo looks exactly like what I need. Problem now is that all information placed in the event shows up on the photo view. What I would like to do is place all the event information in the event section but only show hours and dates in the photo view section and if the user wishes to read more then the link will direct them to the event.
November 8, 2017 at 8:03 pm #1378611Jennifer
KeymasterHello,
Thanks for reaching out!
You can edit or remove the information displayed in the photo view by editing the photo view template. We have instructions on how to do that here. The file you’ll want to copy can be found at wp-content/plugins/events-calendar-pro/src/views/pro/photo/single-event.php. From there, look for this section:
Removing that will leave you with just the photo, event name, and date, and you can do the same thing for any other elements that you want to remove from the template. Let me know if you have any questions!
Thanks,
Jennifer
November 9, 2017 at 9:37 am #1379183boomerstyle1010
ParticipantThis reply is private.
November 9, 2017 at 10:54 am #1379253Jennifer
KeymasterHello,
We are not able to login to user sites, but I’ll be happy to help you figure out what’s not working! First, I would recommend clearing out any caching you have on the site level (for example, if you’re using a caching plugin) as well as your browser to make sure that you are seeing the current version of the page. Next, can you verify that you created the tribe-events folder directly inside your theme folder (located at wp-content/themes/your-theme/)? Within that folder, you want to create a new folder named pro.
After that, you’ll want to copy the file found at wp-content/plugins/events-calendar-pro/src/views/pro/photo/single-event.php into that folder (wp-content/themes/your-theme/tribe-events/pro/). Now you can copy the single event template for photo view – which you can get from wp-content/plugins/events-calendar-pro/src/views/pro/photo/single-event.php – into the new pro folder. From there, all you really need to do is comment out the sections you don’t want, or you can remove them entirely. So for the excerpt you could comment it out by adding two forward slashes like this:
<?php // echo tribe_events_get_the_excerpt() ?>
Once you save the file and refresh the page, you should see your changes. Again, it would be a good idea to clear any caching after you update the file.
Let me know if that helps!
Thanks,
Jennifer
November 9, 2017 at 12:08 pm #1379313boomerstyle1010
ParticipantThis reply is private.
November 10, 2017 at 9:24 am #1380063boomerstyle1010
ParticipantThis reply is private.
November 10, 2017 at 10:46 am #1380116boomerstyle1010
ParticipantThis reply is private.
November 10, 2017 at 9:21 pm #1380409Jennifer
KeymasterHi Mike,
Your screenshots didn’t come through (if you’re replying via email, they unfortunately aren’t included – you’ll need to post them directly to the thread on the site). However, you need to edit the copy of the file in your new tribe-events/pro folder, not the original file. The one you created overrides the original one, and any changes you make directly in the plugin will be erased next time you update it.
So just to clarify, you are making one copy of single-event.php from:
wp-content/plugins/events-calendar-pro/src/views/pro/photo/single-event.php
and pasting it into:
wp-content/themes/your-theme/tribe-events/pro
with “your-theme” being your (active) theme folder, and tribe-events and pro you will need to create.
Not to confuse you more, but I also want to point out that it is also highly recommended to use a child theme when making customizations like this. Otherwise, you could lose your changes when you update your theme, similar to making changes directly in the plugin files.
I hope that helps (and doesn’t add to the confusion)! Let me know if that works!
Thanks,
Jennifer
November 11, 2017 at 7:45 am #1380542boomerstyle1010
ParticipantThis reply is private.
November 11, 2017 at 7:51 am #1380545boomerstyle1010
ParticipantThis reply is private.
November 11, 2017 at 8:37 am #1380687boomerstyle1010
ParticipantFinally I got it, thank you so much for your help….
m.
November 13, 2017 at 4:51 am #1381377Jennifer
KeymasterI’m glad to hear you got it working! Events Calendar Pro extends The Events Calendar, so you do indeed need both activated at the same time. I’m sorry this was so much trouble, but I’m glad it’s working the way you want it to now!
If there’s anything else I can help you with, please just let me know!
Thanks,
Jennifer
December 5, 2017 at 8:35 am #1398705Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event Calender Pro Photo view’ is closed to new replies.
