创建wordpress站点导航栏时出现错误

时间:2017-07-12 13:19:36

标签: php wordpress

我输入的代码是: -

<nav class="site-nav[enter image description here][1]'>

<?php

       $args = arrray(
            'theme_location' => 'primary'
           );
 ?>

 <?php
       wp_nav_menu($args); 
  ?>

</nav> 

错误讯息: -

解析错误:语法错误,意外'=&gt;'第23行的C:\ wamp64 \ www \ wp-content \ themes \ MyFirstSite \ header.php中的(T_DOUBLE_ARROW)

0 个答案:

没有答案