Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="featarea">
- <div id="a">
- <div id="b">
- <div id="c">
- <div id="d">
- <ul id="e">
- <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Homepage Sidebar')) : else : ?>
- <h2><?php _e('Congratulations! The theme has been activated.',pandathemes) ?></h2>
- <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>
- <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>
- <p><?php _e('Here is a Homepage Sidebar. Drag the text widget to the Homepage Sidebar to activate them.',pandathemes) ?></p>
- <p><?php _e('Good Luck.',pandathemes) ?></p>
- <?php endif; ?>
- </ul>
- <div id="f">
- <?php // FEATURED PAGES
- include(TEMPLATEPATH."/inc/featured_pages/featured_pages.php"); ?>
- </div>
- <div class="clear"><!-- --></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="wrapper">
- <div id="content" class="homebg">
- <?php
- // CUSTOM FRONTPAGE
- if ($theme_options['frontpage']!="none") { ?>
- <div id="frontpage">
- <?php
- $page = $theme_options['frontpage'];
- $arr = get_post($page);
- $id = $arr->ID;
- query_posts('page_id='.$id);
- while (have_posts()) : the_post();
- the_content();
- endwhile; wp_reset_query();
- ;}?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement