Advertisements
Tag Archives: dynamic_sidebar

dynamic_sidebar

Display dynamic sidebar.By default it displays the default sidebar or ‘sidebar-1’. The ‘sidebar-1’ is not named by the theme, the actual name is ‘1’, but ‘sidebar-‘ is added to the registered sidebars for the name. If you named your sidebar ‘after-post’, then the parameter $index will still be ‘after-post’, but the lookup will be for ‘sidebar-after-post’.

992

Advertisements
Continue reading