Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter bburakb

    (@bburakb)

    Because of there is not enough example and explanation in docs, I did not understand.

    I tried these but it did not work.

        foreach ($events as $event) {
    setup_postdata($event);
    // The Events Calendar V2 ?ablonlar?n? kullanarak etkinlikleri yükleyin
    $template = new Tribe\Events\Views\V2\Template('v2/list/event');
    echo $template->template(['event' => $event]);
    }
        foreach ($events as $event) {
    setup_postdata($event);
    // The Events Calendar V2 ?ablonlar?n? kullanarak etkinlikleri yükleyin
    $template = new Tribe__Events__Views__V2__Template('v2/list/event');
    $template->template(['event' => $event]);
    }
           $template = new Tribe__Template();
    $template->template('v2/list/event', ['event' => $event]);

    It did not work but Anyway thanks.

    • This reply was modified 4 months, 1 week ago by bburakb.
Viewing 1 replies (of 1 total)