質問編集履歴

1

文法修正

2022/08/11 13:39

投稿

pontas
pontas

score53

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
  ```php
19
19
  <?php while ( have_rows('test') ): the_row();?>
20
20
  <?php $tag = 'div';?>
21
- <<?php echo $h; ?> class="test">XXXX</<?php echo $h; ?>>
21
+ <<?php echo $tag; ?> class="test">XXXX</<?php echo $tag; ?>>
22
22
  <?php if( get_row_layout() == 'text01' ):?>
23
23
  <?php $tag = 'span';?>
24
24
  <?php elseif( get_row_layout() == 'text02' ):?>