I suggest you ...

Add more filters to shortcode [tribe_events]

Add more filters and options to the [tribe_events] shortcode so that it can be customized more.

84 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    AdminModern Tribe (Admin, The Events Calendar by Modern Tribe) shared this idea  ·   ·  Admin →

    25 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Hans commented  · 

        limit argument would be nice to control the number of events shown as a result of the shortcode. You can then show the next x events in an easy manner, without having to know the dates

      • Anonymous commented  · 

        I agree. Surprised that tags is not already an option. Have clients that have asked for this.

      • Andre commented  · 

        I would also like to have a limit added to the shortcode [tribe_events]. For example, on the homepage I can determine how many events are shown and show them all on the event page. There should be a pagination on both pages.

      • Danny commented  · 

        This would be very helpful

      • Kerri commented  · 

        Was looking for this today and was surprised that it's not currently an option.

      • Anonymous commented  · 

        Me too I'm supporting this feature request, as I'm also trying to use the photo view with 3 items on the home page as an entry point to the calender page.

      • Tyler commented  · 

        I'm looking to display the full month calendar view for a venue, whereby I can then use the tribe_events shortcode to display a calendar on each venue page on my site (think business listing site).

        As per this thread, this is not currently possible with tribe_events. It was suggested I use the Venus feature and tribe_featured_venue shortcode, but that a) doesn't allow for full month view and b) duplicates functionality of my listing theme.

        https://theeventscalendar.com/support/forums/topic/can-a-shortcode-display-a-venues-events-month-view/#post-1418805

        The workaround for the moment is to create yet another level of categories for each "venue" and use the tribe_events shortcode to display the month view for the respective "category". It would be much cleaner if I could in fact use Venues for each location, then just use the tribe_events shortcode with a filter for venue to achieve my goal.

      • Asha Lightbearer commented  · 

        I read the comments below and people who can code definitely have an easier time resolving this. But, half the point of WP and plugins is to simplify and remove the need to know lots of detailed coding. I wish I understood Andres solution, but I don't. For the many users who rely on our plugin developers (and spend decent money to purchase renewals on multiple add-ons and upgrades for several different sites--pro, aggregator, etc. on multiple sites), this would be a substantial improvement that I expect is fairly simply to implement. Please prioritize. Thanks, PS. When you do implement recommended changes/enhancements are we notified that our request was added?

      • Brian commented  · 

        This would be a very convenient feature.

      • Ross Walsh commented  · 

        For [tribe_mini_calendar] shortcode we have a host of filter options such as city, ZIP, tag, category, etc. but for the [tribe_events] shortcode we only have category, featured, and date. It would be great to see all the other filter options on the [tribe_events] shortcode, as well

      • keef commented  · 

        i agree. adding a limit shortcode option is clearly very useful - please add this to your next update!

      • Anonymous commented  · 

        I solved my issue with this code:

        function tribe_photo_posts_per_page( $value, $name, $default){
        if ( 'postsPerPage' === $name && tribe_is_photo() && is_front_page()) {
        $value = '3';
        }
        return $value;
        }
        add_filter( 'tribe_get_option', 'tribe_photo_posts_per_page', 10, 3, 'postsPerPage' );

        but if there would be this “limit” attribute it would be simpler.
        For me, this seems to be an easy thing to implement.

        Regards

      • Paul Scoggan commented  · 

        I vote for this feature for photo view as well.

      • Anonymous commented  · 

        tribe_events shortcode supports categories, but it doesn't support tags. A number of people have already voiced the usefulness of this filter. I couldn't find an existing suggestion to vote for.

      • O commented  · 

        The proposed workaround does not really work as clicking on the "Previous/Next events" links shows whatever the default is in the plugin settings and not what is hard coded in the functions.php

      • Jaap commented  · 

        I am supporting this feature request. It would really help me.

      ← Previous 1

      Feedback and Knowledge Base