Created
May 13, 2012 22:11
-
-
Save adahhane/2690465 to your computer and use it in GitHub Desktop.
HomePage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php wp_get_header(); ?> | |
<?php include (TEMPLATEPATH . '/tab.php'); ?> | |
<div id="content" class="rounded"> | |
<?php if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); | |
if(get_post_type($post)=="information"){?> | |
<div class="post" id="post-<?php the_ID(); ?>" id="post-<?php the_ID(); ?>"> | |
<div class="title"> | |
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> | |
<div class="clear"></div> | |
</div> | |
<div class="cover"> | |
<div class="entry"> | |
<a href="<?php the_permalink() ?>"><?php flcn_home_image();?></a> | |
<p><?php the_content_rss('', TRUE, '', 50); ?> </p> | |
</div> | |
</div> | |
</div> | |
<?php } endwhile; ?> | |
<div class="clear"></div> | |
<div id="navigation"> | |
<?php if(function_exists('wp_pagenavi')) : ?> | |
<?php wp_pagenavi() ?> | |
<?php else : ?> | |
<div class="alignleft"><?php next_posts_link(__('« Older Entries','arclite')) ?></div> | |
<div class="alignright"><?php previous_posts_link(__('Newer Entries »','arclite')) ?></div> | |
<div class="clear"></div> | |
<?php endif; ?> | |
</div> | |
<?php else : ?> | |
<h1 class="title">Not Found</h1> | |
<p>Sorry, but you are looking for something that isn't here.</p> | |
<?php endif; ?> | |
</div> | |
<?php get_sidebar(); ?> | |
<?php wp_get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment