Example #1
0
<?php

if (!theme_dynamic_sidebar('top')) {
    $style = theme_get_option('theme_sidebars_style_top');
    ?>



<?php 
}
Example #2
0
<?php

if (!theme_dynamic_sidebar('bottom')) {
    $style = theme_get_option('theme_sidebars_style_bottom');
    ?>



<?php 
}
Example #3
0
<?php

if (!theme_dynamic_sidebar('secondary')) {
    $style = theme_get_option('theme_sidebars_style_secondary');
    $heading = theme_get_option('theme_' . (is_single() ? 'single' : 'posts') . '_widget_title_tag');
    ?>



<?php 
}
Example #4
0
<?php

if (!theme_dynamic_sidebar('footer')) {
    $style = theme_get_option('theme_sidebars_style_footer');
    ?>



<?php 
}
Example #5
0
<?php

if (!theme_dynamic_sidebar('default')) {
    $style = theme_get_option('theme_sidebars_style_default');
    $heading = theme_get_option('theme_' . (is_single() ? 'single' : 'posts') . '_widget_title_tag');
    ?>

<?php 
    ob_start();
    ?>
      <?php 
    get_search_form();
    ?>
 
<?php 
    theme_wrapper($style, array('title' => __('Search', THEME_NS), 'heading' => $heading, 'content' => ob_get_clean()));
    ?>

<?php 
    ob_start();
    ?>
      <ul>
        <?php 
    wp_list_categories('show_count=1&title_li=');
    ?>
      </ul>
<?php 
    theme_wrapper($style, array('title' => __('Categories', THEME_NS), 'heading' => $heading, 'content' => ob_get_clean()));
    ?>

<?php