Make WordPress Core


Ignore:
Timestamp:
10/11/2017 05:27:05 AM (7 years ago)
Author:
westonruter
Message:

Customize: Add notice for when there are no nav menus created yet, prompting user to create one.

Props bpayton, melchoyce, westonruter.
Fixes #42116.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r41816 r41823  
    952952
    953953        <script type="text/html" id="tmpl-nav-menu-create-menu-section-title">
     954            <p class="add-new-menu-notice">
     955                <?php _e( 'It doesn&#8217;t look like your site has any menus yet. Want to build one? Click the button to start.' ); ?>
     956            </p>
     957            <p class="add-new-menu-notice">
     958                <?php _e( 'You&#8217;ll create a menu, assign it a location, and add menu items like links to pages and categories. If your theme has multiple menu areas, you might need to create more than one.' ); ?>
     959            </p>
    954960            <h3>
    955961                <button type="button" class="button customize-add-menu-button">
Note: See TracChangeset for help on using the changeset viewer.