回答編集履歴
1
修正
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<?php $args = array( 'posts_per_page' => 5, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'post' ); ?>
|
12
12
|
|
13
|
-
<?php $myposts = get_posts( $args ); foreach ( $myposts as $
|
13
|
+
<?php $myposts = get_posts( $args ); foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
|
14
14
|
|
15
15
|
<div class="innerBox">
|
16
16
|
|