當使用主題沒有MENU功能時 The current theme does not support menus.

 

1. 利用Widget自訂

Appearance->Widgets 

自訂選單中

 

2. 使用 <?php wp_nav_menu(); ?>

指定MENU名稱

<?php wp_nav_menu(array('menu'=>'Test Menu'));  ?>

arrow
arrow
    全站熱搜

    wdbnf 發表在 痞客邦 留言(0) 人氣()