Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.48 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="featarea">
  4.     <div id="a">
  5.         <div id="b">
  6.             <div id="c">
  7.                 <div id="d">
  8.                     <ul id="e">
  9.                         <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Homepage Sidebar')) : else : ?>
  10.                         <h2><?php _e('Congratulations! The theme has been activated.',pandathemes) ?></h2>
  11.                         <p><?php _e('Ok, so now you can start to customize the theme. Please read and follow the documentation which you can find in ../Download/Docs/ folder.',pandathemes) ?></p>
  12.                         <p><?php _e('At the same folder you will find *.txt files which contains a sample code (dummy content) of the major pages.',pandathemes) ?></p>
  13.                         <p><?php _e('Here is a Homepage Sidebar. Drag the text widget to the Homepage Sidebar to activate them.',pandathemes) ?></p>
  14.                         <p><?php _e('Good Luck.',pandathemes) ?></p>
  15.                         <?php endif; ?>
  16.                     </ul>
  17.                     <div id="f">
  18.                     <?php // FEATURED PAGES
  19.                         include(TEMPLATEPATH."/inc/featured_pages/featured_pages.php"); ?>
  20.                     </div>
  21.                     <div class="clear"><!-- --></div>
  22.                 </div>
  23.             </div>
  24.         </div> 
  25.     </div>
  26. </div>
  27. <div id="wrapper">
  28.     <div id="content" class="homebg">
  29.     <?php
  30.    
  31.     // CUSTOM FRONTPAGE
  32.     if ($theme_options['frontpage']!="none") { ?>
  33.     <div id="frontpage">
  34.     <?php
  35.         $page = $theme_options['frontpage'];
  36.         $arr = get_post($page);
  37.         $id = $arr->ID;
  38.         query_posts('page_id='.$id);
  39.         while (have_posts()) : the_post();
  40.         the_content();
  41.         endwhile; wp_reset_query();
  42.     ;}?>
  43.     </div>
  44. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement