Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter raptor2

    (@raptor2)

    I need to add – i have this problem only with this dynamic_sidebar function.

    Have you tried using {{ function('dynamic_sidebar', 'header-widget-1') }} instead?

    I think you might be using an old method. Have you tried one of the three here? #3 might be what you need.

    • This reply was modified 8 years, 11 months ago by Brian Larson.
    Thread Starter raptor2

    (@raptor2)

    its work, thank y but is any way to make my way right or its too old?

    • This reply was modified 8 years, 11 months ago by raptor2.

    I think the deprecation from fn() to function() is a Twig thing and Timber followed suit with the most recent version. I could be wrong though for sure. Glad to hear you got it working!

    Thread Starter raptor2

    (@raptor2)

    {{ function('dynamic_sidebar', 'header-widget-1') }}

    this way didnt work, but i did like that:
    $context['dynamic_sidebar'] = Timber::get_widgets('dynamic_sidebar');

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘FN problem’ is closed to new replies.