-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloop-page.php
28 lines (24 loc) · 1.25 KB
/
loop-page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_front_page() ) { ?>
<h1 class="h1_title heading2"><small class="subHead2 capital">HELLO AND WELCOME TO </small>Unlimited <span>Staffing Network</span></h1>
<!-- <?php //echo do_shortcode("[short_title id='" . get_the_ID() . "']"); ?> -->
<?php } else { ?>
<?php if($post->post_content=="" && !is_page('sitemap')) { ?>
<p>We are still updating our website with contents. Please check back next time.</p>
<?php } ?>
<?php } ?>
<div class="entry-content">
<?php echo do_shortcode("[page_intro id='" . get_the_ID() . "']"); ?>
<!--?php the_post_thumbnail('full', array('class' => 'thumb_right_dd'));?-->
<?php the_content(); ?>
<?php if(is_page( 'sitemap' )){ ?>
<ul class="sitemap col2">
<?php wp_list_pages(array('title_li' => '')); ?>
</ul>
<?php } ?>
<!-- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> -->
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
</div><!-- #post-## -->
<?php endwhile; // end of the loop. ?>