Skip to content
Joe McKie edited this page Jul 31, 2013 · 37 revisions

Description

Outputs the HTML of a selected dynamic sidebar. For use in functions and templates where dynamic_sidebar() would output incorrectly.

Usage

<?php echo horizon_get_dynamic_sidebar( $sidebar ); ?>

Parameters

$sidebar
  (string) (required) The sidebar name.
    Default: None

Example

<div class="twelve columns">
  <?php echo horizon_get_dynamic_sidebar( 'Footer 1' ); ?>
</div>

This will output the HTML contents of the sidebar named 'Footer 1' into the container.

Clone this wiki locally