Title: FN problem
Last modified: May 5, 2017

---

# FN problem

 *  [raptor2](https://wordpress.org/support/users/raptor2/)
 * (@raptor2)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/)
 * hi, i have problem with
 * `{{ fn('dynamic_sidebar', 'header-widget-1') }}`
 * It should be just LEFT but i see this: [http://screenshot.sh/n8e9GYa7DHAXT](http://screenshot.sh/n8e9GYa7DHAXT)
 * in code its look like:
    [http://screenshot.sh/m7SB7SKpKQos3](http://screenshot.sh/m7SB7SKpKQos3)
 * Whats wrong with this?

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

 *  Thread Starter [raptor2](https://wordpress.org/support/users/raptor2/)
 * (@raptor2)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9101249)
 * I need to add – i have this problem only with this dynamic_sidebar function.
 *  [Brian Larson](https://wordpress.org/support/users/brianlarson/)
 * (@brianlarson)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9101279)
 * 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](https://github.com/timber/timber/wiki/Sidebar)?#
   3 might be what you need.
    -  This reply was modified 9 years ago by [Brian Larson](https://wordpress.org/support/users/brianlarson/).
 *  Thread Starter [raptor2](https://wordpress.org/support/users/raptor2/)
 * (@raptor2)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9101478)
 * its work, thank y but is any way to make my way right or its too old?
    -  This reply was modified 9 years ago by [raptor2](https://wordpress.org/support/users/raptor2/).
 *  [Brian Larson](https://wordpress.org/support/users/brianlarson/)
 * (@brianlarson)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9102878)
 * 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](https://wordpress.org/support/users/raptor2/)
 * (@raptor2)
 * [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9107458)
 * `{{ 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.

 * ![](https://ps.w.org/timber-library/assets/icon-256x256.png?rev=1482054)
 * [Timber](https://wordpress.org/plugins/timber-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/timber-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/timber-library/)
 * [Active Topics](https://wordpress.org/support/plugin/timber-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/timber-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/timber-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [raptor2](https://wordpress.org/support/users/raptor2/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/fn-problem/#post-9107458)
 * Status: not resolved