質問編集履歴

1

wp_nav_menuの関数の中のプロパティを付け加えた

2021/02/01 14:13

投稿

horitai
horitai

スコア0

test CHANGED
File without changes
test CHANGED
@@ -24,9 +24,9 @@
24
24
 
25
25
  'theme_location'=>'place_global',
26
26
 
27
- 'container' =>'',
27
+ 'container' =>'li a',
28
28
 
29
- 'menu_class' =>'',
29
+ 'menu_class' =>'list normal-list',
30
30
 
31
31
  'items_wrap' => '%3$s',//<ul>を出力しない
32
32
 
@@ -60,9 +60,9 @@
60
60
 
61
61
  'theme_location'=>'place_global',
62
62
 
63
- 'container' =>'',
63
+ 'container' =>'list a',
64
64
 
65
- 'menu_class' =>'',
65
+ 'menu_class' =>'list normal-list',
66
66
 
67
67
  'items_wrap' => '%3$s',//<ul>を出力しない
68
68