Home › Forums › Calendar Products › Events Calendar PRO › Add a category to a page with photo view
- This topic has 7 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
November 11, 2015 at 1:47 am #1024102
Krisztián
ParticipantHello,
I’d like to add a category to my page using photo view, I know you don’t have shortcode for that, but I found this
https://theeventscalendar.com/knowledgebase/change-default-categories-view/I think thats what I need, but with photo view. Can you make me a code like that?
Exactly where I need to put that code anyway?
Thank you!
November 11, 2015 at 8:49 am #1024235Brian
MemberHI,
Thanks for using our plugins. I can try to help out here.
We do not have coding to embed any of the views in another page.
That coding is referring to the category views the plugin already creates.
The plugin does create a Category View for each Event Category with the main views of month, list, map, etc…
For example if you have an event category of Lettuce the url is this:
yoursite.com/events/category/lettuce/
So that is one way to show only events from one category in the main views and you can link directly to any of those.
That coding you linked to changes the default view for those categories.
Let me know if you have any follow up questions.
Thanks
November 19, 2015 at 12:14 am #1027842Krisztián
ParticipantHi
Thank you for your answer.
I have an example … http://bourgeon.co.uk/
on this site’s home page you can see an events part. I think this is the plugins photo view without featured image. How can they put this here? I need exactly the same, just with photos…
This site uses events calendar plugin too.Thank you
November 19, 2015 at 5:16 am #1027880Brian
MemberHi,
It looks like they modified the Event List Widget is being used on the home page.
I do not have any coding provide for a customization like that.
We have our themer’s guide for making changes:
https://theeventscalendar.com/knowledgebase/themers-guide/
There is also this 3rd party guide that might help too:
https://theeventscalendar.com/knowledgebase/horizontal-list-widget/
I can try to help answer a question or two, but beyond that customizations are beyond the support we can provide.
Cheers
November 19, 2015 at 8:30 am #1028135Krisztián
ParticipantThank you,
I think I found the solution with this:
Creating a Horizontal List Widget with Featured Images in Events Calendar Pro
But I think the css classes are changed in the plugin
Can you help me please with that?
I read the comments below the post … maybe the featured-events class changed
-
This reply was modified 10 years, 4 months ago by
Krisztián.
November 19, 2015 at 9:19 am #1028155Krisztián
ParticipantI found a code what works fine
Displaying Multiple Rows of Events in Events Calendar Pro Widget
but I still need solution for 2 things.
1. with the code I have a little calendar box next to the featured image
2. featured image is square, I need it to be landscapeCould you help with this please?
November 20, 2015 at 6:05 am #1028426Brian
MemberHi,
I am not able to provide many more details for a customization, but I can try to show you some more information about it.
If you would like to remove the date box then you should remove this coding:
<div class="list-date">
<span
class="list-dayname"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'D', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>
<span
class="list-daynumber"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_daynumber', date_i18n( 'd', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>
</div>As for the image size you need to change this function:
tribe_event_featured_image( $post->ID, ‘thumbnail’ );
Change the word thumbnail to another size.
This article shows different sizes that might work for you:
https://codex.wordpress.org/Post_Thumbnails#Thumbnail_Sizes
Thanks
February 18, 2016 at 8:31 am #1075721Support 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. -
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
- The topic ‘Add a category to a page with photo view’ is closed to new replies.
