Jonah

Forum Replies Created

Viewing 15 posts - 1,966 through 1,980 (of 4,001 total)
  • Author
    Posts
  • in reply to: Can't increase number of events in loop #27218
    Jonah
    Participant

    Strange, what is your permalink structure set to? Try setting it to Postname. Does changing the setting in Settings > Reading do anything?

    – Jonah

    in reply to: Thumbnail image on calendar #27215
    Jonah
    Participant

    Hi Raiquel,

    Unfortunately this is a fairly customized request and I won’t be able to help you with the specifics. What you’re looking for though is in /wp-content/plugins/the-events-calendar/views/table.php like I mentioned before. Basically what you’ll need to do is loop through the events on a given day and get the thumbnails but only display the first one.

    Good luck!

    – Jonah

    in reply to: Can't increase number of events in loop #27191
    Jonah
    Participant

    Hi Krysia,

    Sometimes your theme will override the setting for the plugin. You can take control by placing this in your themes functions.php file and modifying the posts_per_page to however many events you want to show:

    //show more events on the events list pages
    add_action( 'pre_get_posts', 'set_events_per_page' );
    function set_events_per_page( $query ) {
    if ( $query->query_vars['eventDisplay'] == 'upcoming' || $query->query_vars['eventDisplay'] == 'past' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
    $query->set('posts_per_page', 2);
    }
    return $query;
    }

    I hope that helps but let me know if you need anything else.

    – Jonah

    in reply to: Display Events without using the widget #27190
    Jonah
    Participant

    Hi Benjamin,

    You can use WP_Query or our own built in query functions tribe_get_events() which we have documented with examples here: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events

    I hope that helps but let me know if you need anything else!

    – Jonah

    in reply to: Fatal Error: Call to member function… #27181
    Jonah
    Participant

    Hi Kevin,

    There is bunch more in your in your gridview file that’s going to need to be changed and I won’t be able to help you preserve your specific customizations. You have two options:

    1. You can just rename this gridview file to gridview.phpOLD so the plugin does not use your customized copy and instead uses the core view file.

    2. You can do the work to compare your gridview.php file with the core file in /wp-content/plugins/the-events-calendar/views/gridview.php and merge the new code with your older customized code.

    I hope that helps but let me know if you need anything else.

    – Jonah

    in reply to: Widget – Separate Date and Time #27179
    Jonah
    Participant

    Ooops, sorry for not specifying that. It’s in /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php on line 46.

    Let me know if you need anything else.

    – Jonah

    Jonah
    Participant

    Hi Reuben,

    Yep, you can place a copy of /wp-content/plugins/the-events-calendar/views/table-mini.php in an ‘events’ folder in your theme and then change anything you want in the file.

    Does that help?

    Thanks,
    Jonah

    in reply to: License question #27152
    Jonah
    Participant

    Hi Jason,

    Just go to Account Central > License Keys in the upper right of the Tribe website. There you can unregister and re-register your license.

    I hope that helps!

    – Jonah

    in reply to: Add Event Login #27151
    Jonah
    Participant

    Hi Andrew,

    Is this for the Community Events plugin?

    – Jonah

    in reply to: Table.php limit display of calendar to specific categories #27148
    Jonah
    Participant

    Awesome! Glad that worked. Let us know if you need anything else.

    Regards,
    Jonah

    in reply to: Fatal Error: Call to member function… #27147
    Jonah
    Participant

    Hi Kevin,

    Can you send me a copy of your D:\Hosting\3136778\html\wordpress\wp-content\themes\cubscouts\events\gridview.php file? You can email to pro [at] tri [dot] be referencing this thread and attn. to me.

    Thanks,
    Jonah

    in reply to: Widget – Separate Date and Time #27146
    Jonah
    Participant

    Hi Chad,

    Ok, this is for the Advanced Events List Widget. All you need to do in your override file is replace this line:

    echo tribe_get_start_date( $post->ID, $start );

    …with:

    echo tribe_get_start_date( $post->ID, false, 'M' );
    echo tribe_get_start_date( $post->ID, false, 'd' );
    echo tribe_get_start_date( $post->ID, false, 'Y' );
    echo tribe_get_start_date( $post->ID, false, 'g:ia' );

    …which will separate out all the date/time components. You can easily wrap these with whatever HTML you want too. Does that help?

    – Jonah

    in reply to: Change the Default Event Template to remove the Sidebar #27145
    Jonah
    Participant

    Hi Manuel,

    Glad that worked for you. Let us know if there’s anything else we can do for you.

    Thanks,
    Jonah

    in reply to: Change the Default Event Template to remove the Sidebar #27089
    Jonah
    Participant

    Hi Manuel,

    The Default Events Template uses /wp-content/plugins/the-events-calendar/views/ecp-page-template.php for the list and grid views and /wp-content/plugins/the-events-calendar/views/ecp-single-template.php for single events. You could also hide it using CSS by targeting the body class of .events-single

    I hope that helps but let me know if you need anything else.

    – Jonah

    in reply to: Thumbnail image on calendar #27088
    Jonah
    Participant

    Hi Raiquel,

    How would this work? Would the thumbnail image be for one of the events on any given day or where would the thumbnail come from? Ultimately you’ll want to modify /wp-content/plugins/the-events-calendar/views/table.php by making a copy and placing in an ‘events’ folder in your theme. You can make any changes you want there.

    – Jonah

Viewing 15 posts - 1,966 through 1,980 (of 4,001 total)