/**
  * Callback-method for registered static.
  * @since 4.0.0
  */
 public function callback()
 {
     for ($i = 1; $i <= 3; $i++) {
         echo '<div class="col-xs-12 col-sm-4">';
         cherry_get_sidebar("sidebar-footer-{$i}");
         echo '</div>';
     }
 }
 /**
  * Callback-method for registered static.
  * @since 4.0.0
  */
 public function callback()
 {
     $classes = array();
     $classes[] = 'col-xs-12';
     $classes[] = 'col-sm-3';
     $classes = apply_filters('cherry_footer_sidebars_static_class', $classes);
     $classes = array_map('esc_attr', $classes);
     $classes = array_unique($classes);
     for ($i = 1; $i <= 4; $i++) {
         echo '<div class="' . join(' ', $classes) . '">';
         cherry_get_sidebar("sidebar-footer-{$i}");
         echo '</div>';
     }
 }
Example #3
0
 /**
  * Callback-method for registered static.
  * @since 4.0.0
  */
 public function callback()
 {
     $options = func_get_args();
     $row = empty($options[0]) ? false : $this->need_row($options[0]);
     $classes = array();
     $classes[] = 'col-xs-12';
     $classes[] = 'col-sm-3';
     $classes = apply_filters('cherry_footer_sidebars_static_class', $classes);
     $classes = array_map('esc_attr', $classes);
     $classes = array_unique($classes);
     if (true === $row) {
         echo "<div class='row'>";
     }
     for ($i = 1; $i <= 4; $i++) {
         echo '<div class="' . join(' ', $classes) . '">';
         cherry_get_sidebar("sidebar-footer-{$i}");
         echo '</div>';
     }
     if (true === $row) {
         echo "</div>";
     }
 }
 /**
  * Callback-method for registered static.
  *
  * @since 4.0.0
  */
 public function callback()
 {
     cherry_get_sidebar('sidebar-header');
 }
Example #5
0
<?php

cherry_get_header('base');
?>

<div <?php 
cherry_attr('content');
?>
>
	<div class="<?php 
echo apply_filters('cherry_get_container_class', 'container');
?>
">

		<?php 
cherry_get_content();
?>

		<?php 
cherry_get_sidebar(apply_filters('cherry_get_main_sidebar', 'sidebar-main'));
?>
		<?php 
cherry_get_sidebar(apply_filters('cherry_get_secondary_sidebar', 'sidebar-secondary'));
?>

	</div>
</div>

<?php 
cherry_get_footer('base');