• Hey,
    I created a new taxonomy and I would create a link that redirects on the calendar with a filter when you click on it. I know the piece of code that must be changed, but it does not work.
    That’s what I change in helper> class-ai1ec-app-helper:

    calendar_term_link function ($ link, $ term, $ taxonomy)
    {
    global $ ai1ec_calendar_helper;

    if ($ taxonomy == ‘events_organisation’) {
    if ($ term-> term_id == AI1EC_FAKE_ORG_ID)
    $ link = $ ai1ec_calendar_helper-> get_calendar_url (null);
    else
    $ link = $ ai1ec_calendar_helper-> get_calendar_url (null,
    array (‘org_ids’ => array ($ term-> term_id))
    );
    }

    return $ link;
    }

    Someone know where is the problem?
    thx

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

    (@joshdeater)

    ok!
    need to change name of function and add it to the rewritter url in controller>class-ai1ec-app-controller.php

Viewing 1 replies (of 1 total)

The topic ‘link taxonomy AI1EC’ is closed to new replies.