Add a category to a page with photo view

Home Forums Calendar Products Events Calendar PRO Add a category to a page with photo view

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1024102
    Krisztián
    Participant

    Hello,

    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!

    #1024235
    Brian
    Member

    HI,

    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

    #1027842
    Krisztián
    Participant

    Hi

    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

    #1027880
    Brian
    Member

    Hi,

    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

    #1028135
    Krisztián
    Participant

    Thank 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.
    #1028155
    Krisztián
    Participant

    I 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 landscape

    Could you help with this please?

    #1028426
    Brian
    Member

    Hi,

    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

    #1075721
    Support Droid
    Keymaster

    This 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add a category to a page with photo view’ is closed to new replies.