• Resolved web156

    (@web156)


    Hi,
    i am trying to customize the Shortcode [tribe_events_list limit=”5″].

    Can somebody help me to find the file i have to override?

    I already made some changes to the global list with:

    add_action(
      'tribe_template_before_include:events/v2/list/event/venue',
      function ( $file, $name, $template ) {
        $template->template( 'list/event-type' );
      },
      10,
      3
    );

    -> Added a customfield to the list view. But this is not shown in the shortcode i am using on the front-page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support masoodak

    (@masoodak)

    Hi @web156,

    Thanks for reaching out!

    In order to customize tribe_events_list shortcode you will need to override the following template file,
    \wp-content\plugins\the-events-calendar\src\views\v2\widgets\widget-events-list.php

    You can override it by making a copy of the aforementioned template file and pasting it here,
    /wp-content/themes/[your-theme]/tribe/events/v2/widgets/widget-events-list.php

    I hope this helps.

    Kind regards,
    Masood

    Plugin Support Abz

    (@abzlevelup)

    Hi @web156,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    Best,
    Abz

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The Events Calendar Pro – Customize Shortcode “List”’ is closed to new replies.