Register Nav Menu

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. // This theme uses wp_nav_menu() in one location.
  2. register_nav_menus( array(
  3. 'primary' => __( 'Primary Navigation', 'twentyten' ),
  4. ) );

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.