質問編集履歴

2

2017/11/14 18:30

投稿

hana_0117
hana_0117

スコア7

test CHANGED
File without changes
test CHANGED
@@ -76,9 +76,9 @@
76
76
 
77
77
  <h3><a href="<?php echo esc_url( home_url( '/news' ) ); ?>">
78
78
 
79
- <?php echo the_field( 'news_title' );?> </a></h3>
79
+ <?php echo the_field( 'news_title' );?>
80
80
 
81
-
81
+ </a></h3>
82
82
 
83
83
  <img src="#" alt="#" class="thumbnail">
84
84
 

1

追記しました。

2017/11/14 18:30

投稿

hana_0117
hana_0117

スコア7

test CHANGED
File without changes
test CHANGED
@@ -53,3 +53,43 @@
53
53
  どなたか、解決策をご教示いただければ幸いです。
54
54
 
55
55
  よろしくお願いいたします。
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+ <?php get_header(); ?>
68
+
69
+ <section class="box8">
70
+
71
+ <?php if ( have_posts() ) : ?>
72
+
73
+ <?php while ( have_posts() ) : the_post(); ?>
74
+
75
+ <section class="newsBox">
76
+
77
+ <h3><a href="<?php echo esc_url( home_url( '/news' ) ); ?>">
78
+
79
+ <?php echo the_field( 'news_title' );?> </a></h3>
80
+
81
+
82
+
83
+ <img src="#" alt="#" class="thumbnail">
84
+
85
+ <p><?php echo the_field( 'news_article') ?> </p>
86
+
87
+ </section><!-- /newsBox -->
88
+
89
+ <?php endwhile; ?>
90
+
91
+ <?php endif; ?>
92
+
93
+ </section>
94
+
95
+ <?php get_footer(); ?>