{"action":"reopened","issue":{"url":"https://api.github.com/repos/timber/timber/issues/946","repository_url":"https://api.github.com/repos/timber/timber","labels_url":"https://api.github.com/repos/timber/timber/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/timber/timber/issues/946/comments","events_url":"https://api.github.com/repos/timber/timber/issues/946/events","html_url":"https://github.com/timber/timber/issues/946","id":149656752,"number":946,"title":"[SOLVED] Dynamic sidebar not working?","user":{"login":"alzearafat","id":5145693,"avatar_url":"https://avatars.githubusercontent.com/u/5145693?v=3","gravatar_id":"","url":"https://api.github.com/users/alzearafat","html_url":"https://github.com/alzearafat","followers_url":"https://api.github.com/users/alzearafat/followers","following_url":"https://api.github.com/users/alzearafat/following{/other_user}","gists_url":"https://api.github.com/users/alzearafat/gists{/gist_id}","starred_url":"https://api.github.com/users/alzearafat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alzearafat/subscriptions","organizations_url":"https://api.github.com/users/alzearafat/orgs","repos_url":"https://api.github.com/users/alzearafat/repos","events_url":"https://api.github.com/users/alzearafat/events{/privacy}","received_events_url":"https://api.github.com/users/alzearafat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/timber/timber/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-20T04:39:09Z","updated_at":"2016-04-21T11:32:05Z","closed_at":null,"body":"Hi,\r\n\r\nI following this doc : http://timber.github.io/timber/#sidebars\r\nBut cannot make it work. I want to put my widget in the footer.\r\nPlease take a look : \r\n\r\n**functions.php**\r\n```\r\n/**\r\n * Register our sidebars and widgetized areas.\r\n *\r\n */\r\nfunction sentinel_widgets_init() {\r\n\r\n\tregister_sidebar( array(\r\n\t\t'name'          => 'Home Footer',\r\n\t\t'id'            => 'home_footer_1',\r\n\t\t'before_widget' => '<div>',\r\n\t\t'after_widget'  => '</div>',\r\n\t\t'before_title'  => '<h2 class=\"rounded\">',\r\n\t\t'after_title'   => '</h2>',\r\n\t) );\r\n\r\n}\r\nadd_action( 'widgets_init', 'sentinel_widgets_init' );\r\n```\r\n\r\n**sidebar.php**\r\n```\r\n $context = array();\r\n $context['home_footer_1'] = Timber::get_widgets('home_footer_1');\r\n Timber::render('footer.twig', $context);\r\n```\r\n\r\n**footer.twig**\r\n```\r\n      <div class=\"small-12 medium-6 large-4 column\">\r\n        {{ home_footer_1 }}\r\n      </div>\r\n```\r\n\r\nIf I'm doing it wrong, please let me know. The documentation (dynamic sidebar) does not explain in detail where I had to put my code :(\r\n\r\nThank you in advance for any help you can provide,\r\nRegadrs\r\n"}}