Home › Forums › Calendar Products › Events Calendar PRO › How to see all events and reduce size of pictures
- This topic has 7 replies, 4 voices, and was last updated 9 years, 10 months ago by
gccm.
-
AuthorPosts
-
May 17, 2016 at 7:44 am #1115343
gccm
ParticipantHello!
I have 2 questions:
1) How do I change the size of the pictures that are listed with the events? Right now they are very big.
2) How can people see the listing of all events-such as by clicking on a “more events” link to go to another page of events? Right now we can only see the events listed on the events home page.
Thank you!
Christina
May 17, 2016 at 9:36 am #1115445Geoff
MemberHi Christina and welcome to the forums! I hope you’ve been enjoying the plugins so far. 🙂
Good questions. There are a couple of ways to change the size of the images:
1) Using CSS
For example, you could add something like this to your theme’s style.css file or by using the Simple Custom CSS plugin:
`.tribe-events-event-image {
width: 200px; /* or whatever size you’d like */
}’Using a template override
You can override any of the calendar templates and change the size of the image used in there. Our Themer’s Guide covers this in much more detail, but it basically boils down to this:
- Make a copy of the template. For example, if you want to reduce the size of the image on the single events page, then you would make a copy of the template located at: /wp-content/plugins/the-events-calendar/src/views/single-event.php.
- Make a new folder in your theme called <em>tribe-events</em>
- Drop your copied <em>single-event.php</em> file in that folder
Now that the template is in your theme, you can modify it to suit your needs. In this case, you can change this line:
<?php echo tribe_event_featured_image( $event_id, 'full', false ); ?>…to use another image size, such as:
<?php echo tribe_event_featured_image( $event_id, 'medium', false ); ?>You had also asked about being able to show more events on the calendar. You can set the maximum number of events to display on a single page in Events > Settings (default is 10). However, there is no direct setting that will allow you to show all events as an option.
Does this help answer your questions? Please let me know. 🙂
Cheers,
GeoffMay 18, 2016 at 1:15 pm #1116103gccm
ParticipantHi Geoff,
Thanks so much for your reply! Yes, your answer to my first question was helpful. In terms of my second question:
How can people see the listing of all events-such as by clicking on a “more events” link to go to another page of events? Right now we can only see the events listed on the events home page.
Right now we have around 25 events listed, but only 20 events are listed on a page. Is there a way for a user to click somewhere so they can get to another page to see the next 5 events?
Thanks!
Christina
May 18, 2016 at 1:37 pm #1116113Geoff
MemberOh gotcha, I see what you mean!
Yes, there should be both a Next Events and Past Events link on the page if there are either past or upcoming events beyond what is shown on the calendar list.
But, to your point, I’m not seeing it on your site. Those links should appear just like they do here at the bottom of this site:
http://wpshindig.com/events/list/
That makes me wonder if there is something in the theme that might be hiding the links or preventing them from working. Would be willing to follow the steps in this guide? It will walk you through how to switch to a default WordPress to check for possible conflicts in the current theme.
Thanks so much!
GeoffMay 20, 2016 at 9:24 am #1117065gccm
ParticipantHi Geoff,
I went through those steps in the guide to check for possible conflicts and I still didn’t see the Next Events link in the default Theme. Any other thoughts?
Thanks!
Christina
May 20, 2016 at 9:59 am #1117119Geoff
MemberHi Christina!
Hmm, I’m seeing the Previous and Next links on my test site when switching to a default WordPress theme and deactivating all other plugins (screenshot), so this is puzzling.
We did just release The Events Calendar 4.1.4, Events Calendar PRO 4.1.3 and Community Events 4.1.2 yesterday. Will you please try updating to the latest versions and seeing if that makes a difference?
If the links are still not there, then please head to Events > Settings > Help, copy the system information at the bottom of the screen and paste it here as a private reply. That will allow me to check your settings with the latest installed information.
Thanks!
GeoffJune 4, 2016 at 9:35 am #1122541Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘How to see all events and reduce size of pictures’ is closed to new replies.
