Home › Forums › Calendar Products › Events Calendar PRO › Photo view
- This topic has 4 replies, 2 voices, and was last updated 11 years ago by
Geoff.
-
AuthorPosts
-
March 25, 2015 at 2:27 am #950702
charrame
ParticipantHI,
I have some questions, both of them for the photo view:
1) How Can I do if I want to show more than 10 events?
2) How Can I do to reduce de the text un of the events in this view?
thanks!
March 25, 2015 at 8:53 am #950790Geoff
MemberHi there Adrian! Welcome back to the forums. Let’s take a look at your questions.
1) How Can I do if I want to show more than 10 events?
The number of events can be increased on the Events > Settings screen. In the General Settings section, there is an option to set the number of events you would like to display per page. Change this, save your settings, and you’re good to go.
2) How Can I do to reduce de the text un of the events in this view?
All events respect the Excerpt field in the post editor. If you’d like to have shorter text in Photo View, enter in the text you would like to use in the Excerpt field of the event post.
Does this help answer your questions? Please let me know. 🙂
Cheers!
GeoffMarch 25, 2015 at 8:59 am #950796charrame
Participant2) Do you know some way to change the muber of characters or words automaticly?
Thanks!
March 25, 2015 at 9:12 am #950804Geoff
MemberYes, you could create a custom excerpt length in your function.php file (more on that here), then call that function in the Photo View template, which is located at /plugins/events-calendar-pro/views/pro/photo/single-event.php.
To do that:
- Copy that file
- Make a new folder in your theme directory called tribe-events
- Make a folder in that one called pro
- Make a folder in that one called photo
- Drop your copied single-view.php file in that last folder
Now that your template is in your theme folder, you can modify it to suit your needs. In this case, Change out Line 52 with your new custom excerpt:
<?php echo tribe_events_get_the_excerpt() ?>Cheers!
GeoffApril 9, 2015 at 8:34 am #954328Geoff
MemberHey there, Adrian! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to hit us up with a new thread if you still have questions here and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Photo view’ is closed to new replies.
