質問編集履歴
1
追加で発生した疑問点
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,35 @@
|
|
27
27
|
|
28
28
|
書き方が悪いのでしょうか?
|
29
29
|
|
30
|
-
ご享受お願いいたします。
|
30
|
+
ご享受お願いいたします。
|
31
|
+
|
32
|
+
追記
|
33
|
+
|
34
|
+
```UTF-8
|
35
|
+
<?php get_header(2); ?>
|
36
|
+
<section id="post_area" class="container">
|
37
|
+
<?php query_posts('&post_type=home&paged='.$paged); ?>
|
38
|
+
<?php if ( have_posts() ) : ?>
|
39
|
+
<?php while ( have_posts() ) : the_post(); ?>
|
40
|
+
<div class="custom_img"><?
|
41
|
+
)
|
42
|
+
$img = get_field('img');
|
43
|
+
$imgurl = wp_get_attachment_image_src($img, 'full');
|
44
|
+
if($imgurl){ ?><img src="<? echo $imgurl[0]; ?>" alt=""></p>
|
45
|
+
<? } ?></div>
|
46
|
+
<div class="custom_table">
|
47
|
+
<div class="custom_title_area"><?php the_field('choice'); ?><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2></div>
|
48
|
+
<?php the_content(); ?>
|
49
|
+
<?php the_field('place'); ?>
|
50
|
+
|
51
|
+
<?php endwhile; ?>
|
52
|
+
<?php endif; ?>
|
53
|
+
</section>
|
54
|
+
<div class="clear"></div>
|
55
|
+
</div>
|
56
|
+
<?php get_footer(); ?>
|
57
|
+
```
|
58
|
+
|
59
|
+
現在ここまできたのですが、間に画像や、タイトルタグを挟んでいるのですが、書き方はこちらであっているのでしょうか?
|
60
|
+
|
61
|
+
とりぜず出力はされているのですが、おかしいところがあれば指摘お願いいたします。
|