Created
September 6, 2015 10:51
-
-
Save immdjani/13ce91d53d146d434a50 to your computer and use it in GitHub Desktop.
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 | |
global $post; | |
$args = array( 'posts_per_page' => 5, 'post_type'=> 'packege_information'); | |
$myposts = get_posts( $args ); | |
foreach( $myposts as $post ) : setup_postdata($post); ?> | |
<div class="packege_ifo"> | |
<p><?php the_excerpt(); ?></p> | |
</div> | |
<div class="packege_ifo_data"> | |
<?php the_content();?> | |
</div> | |
<?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment