Linux 软件免费装

Foundation Top Bar Navigation Menu

开发者 jethin
更新时间 2015年9月23日 23:16
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.2.4
版权: GPLv2 or later
版权网址: 版权信息

标签

responsive menu mobile navigation dropdown Foundation

下载

详情介绍:

The Foundation Top Bar Navigation Menu plugin allows theme developers to display a WordPress menu as a responsive Foundation top bar. The plugin includes the following core functions:
  1. A walker that applies Foundation top bar classes to a menu or page list
  2. Registration of a default “Top Bar” menu location
  3. The ability to include a basic version of Foundation that supports the top bar
Visit Zurb Foundation to learn more about the Foundation top bar and to view an example. Usage Download and include the Foundation framework in your theme (or load the basic version included with the plugin — see Notes below.) Assign a new or existing WordPress menu into the “Top Bar” menu location. (or use ‘wp_list_pages’ to display a list of pages as a top bar — see below.) Edit your theme’s templates to display the top bar menu where you’d like it to appear. Use WordPress’ ‘wp_nav_menu’ function to display the top bar menu: <?php if ( has_nav_menu('topbar') ) { wp_nav_menu( array( 'theme_location' => 'topbar', 'container' => false, 'walker' => new ftb_menu() )); } ?> A list of pages can be displayed instead of a menu using the ‘wp_list_pages’ function: <?php wp_list_pages( array( 'title_li' => '', 'walker' => new ftb_pages() )); ?> Notes Notes Top bar styling is the default included with the Foundation framework. Some customization is possible using Foundation and/or WordPress methods, but any customizations must be implemented by theme developers. This plugin is developed using Zurb Foundation version 5.5.2.

安装:

  1. Download and unzip the plugin file.
  2. Upload the unzipped ‘foundation-top-bar-menu’ directory to your '/wp-content/plugins/' directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. See “Description” for usage instructions.

屏幕截图:

  • The “Appearance -> Menus -> Manage Locations” admin screen showing the “My Links Nav” menu assigned to the “Top Bar” theme location.
  • The “Settings - > General” admin page showing the “Load Foundation Basic in Theme” select dropdown.

更新日志:

1.0