daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. global $options;
  3. foreach ($options as $value) {
  4.         if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } }
  5. ?>
  6. <?php get_header(); ?>
  7. <?php if ($flex_feat_display == "no" OR $flex_feat_pages == "home only" OR $flex_feat_pages == "home and posts") { ?>
  8.     <?php if ( is_front_page() AND $flex_feat_display != "no" ) { ?>
  9.  
  10.     <div id="feature"><div class="topshadow">
  11.     <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
  12.    <?php include (TEMPLATEPATH . '/feature.php'); ?>    
  13.     <?php endif; ?><div style="clear:both;"></div>
  14.     </div></div><?php } ?>
  15.  
  16.        <?php } else { ?>
  17.     <div id="feature"><div class="topshadow">
  18.     <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
  19.    <?php include (TEMPLATEPATH . '/feature.php'); ?>    
  20.     <?php endif; ?><div style="clear:both;"></div>
  21.     </div></div><?php } ?>
  22. <div id="content" class="narrowcolumn content_wppc" role="main">
  23.  
  24.   <div class="postwrap">
  25.   <h2 class="pagetitle">
  26.         <?php the_title(); ?>
  27.       </h2>
  28.      
  29.     <div class="post"> <div class="postcontent">
  30. [WP-PHOTOCONTEST CONTENT]
  31.     </div></div>
  32.     <?php if(comments_open()) : ?>
  33.     <?php comments_template('', true); ?>
  34.     <?php endif; ?>
  35.   </div>
  36.   <?php get_sidebar(); ?>
  37. </div>
  38. <?php get_footer(); ?>
RAW Paste Data
Top