This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

feature-bottom.php

By: a guest on Jan 5th, 2013  |  syntax: None  |  size: 2.29 KB  |  views: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php global $wp_theme_options, $feature_bottom, $feature_bottom_width; ?>
  2.  
  3. <?php if(preg_match('/^(1|2|3)$/', $feature_bottom)) : ?>
  4. <div class="wrap" id="feature-bottom">
  5.  
  6.         <div class="<?php do_action('feature_bottom_style'); ?>" <?php if($feature_bottom != 1) echo 'id="feature-bottom-left"'; ?>>
  7.         <?php if($feature_bottom == 1) { $feature_bottom_section = 'Feature Bottom'; } else { $feature_bottom_section = 'Feature Bottom Left'; } ?>
  8.         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($feature_bottom_section) ) : ?>
  9.         <?php if ($wp_theme_options['identify_widget_areas'] == 'yes') : ?>
  10.         <div class="widget">
  11.         <h4>This is a Widget Section</h4>
  12.         <p>This section is widgetized. If you would like to add content to this section, you may do so by using the Widgets panel from within your WordPress Admin Dashboard. This Widget Section is called "<?php if($feature_bottom == 1) {echo 'Feature bottom';} else {echo 'Feature Bottom Left';} ?>"</p>
  13.         </div>
  14.         <?php endif; endif; ?>
  15.         </div>
  16.        
  17. <?php if ($feature_bottom == 3) : ?>
  18.         <div class="<?php do_action('feature_bottom_style'); ?>" id="feature-bottom-middle">
  19.         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Feature Bottom Middle') ) : ?>
  20.         <?php if ($wp_theme_options['identify_widget_areas'] == 'yes') : ?>
  21.         <div class="widget">
  22.         <h4>This is a Widget Section</h4>
  23.         <p>This section is widgetized. If you would like to add content to this section, you may do so by using the Widgets panel from within your WordPress Admin Dashboard. This Widget Section is called "Feature Bottom Middle"</p>
  24.         </div>
  25.         <?php endif; endif; ?>
  26.         </div>
  27. <?php endif; ?>
  28.  
  29. <?php if(preg_match('/^(2|3)$/', $feature_bottom)) : ?>
  30.         <div class="<?php do_action('feature_bottom_style'); ?>" id="feature-bottom-right">
  31.         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Feature Bottom Right') ) : ?>
  32.         <?php if ($wp_theme_options['identify_widget_areas'] == 'yes') : ?>
  33.         <div class="widget">
  34.         <h4>This is a Widget Section</h4>
  35.         <p>This section is widgetized. If you would like to add content to this section, you may do so by using the Widgets panel from within your WordPress Admin Dashboard. This Widget Section is called "Feature Bottom Right"</p>
  36.         </div>
  37.         <?php endif; endif; ?>
  38.         </div>
  39. <?php endif; ?>
  40.  
  41. </div>
  42. <?php endif; ?>
clone this paste RAW Paste Data