このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WP Bootstrap Menu

説明

WP Bootstrap Menu convert wordpress nav menu style to Twitter Bootstrap [http://twitter.github.com/bootstrap/] navmenu style.
You can join to WP Bootstrap Menu developing [https://github.com/sajjadrad/wp-bootstrap-navmenu] .
Compatible with Bootstrap 2.2.2 and support sub menu.

スクリーンショット

  • Wordpress Navmenu
  • Output Bootstrap style
  • Submenu

インストール

  1. Upload wp-bootstrap-navmenu.php to the /wp-content/plugins/wp-bootstrap-navmenu/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Style your bootstrap navmenu and place <?php echo getNavMenu( MENU NAME ); ?> in your templates to get menu list.
  4. To change options for dropdown item,you can set option argument when calling getNavMenu function.Dropdown has two options,”hover” and “click”.In “click” option,dropdown items link address set to # and in “hover” option full address used.The default option set to “click”.

Example:

    <div class="navbar">
        <div class="navbar-inner">  
            <div class="container">
                <ul class="nav">
                    <?php if (function_exists('getNavMenu')): ?>
                        <?php echo getNavMenu('mainmenu'); ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
    </div>

or:

    <div class="navbar">
        <div class="navbar-inner">  
            <div class="container">
                <ul class="nav">
                    <?php if (function_exists('getNavMenu')): ?>
                        <?php echo getNavMenu('mainmenu','hover'); ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
    </div>

評価

5件のレビューをすべて表示

貢献者と開発者

WP Bootstrap Menu はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WP Bootstrap Menu” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.4.7

  • First release.

0.4.8

  • Fix Page title loading in link tag.
  • Fix showing last parent item.

1.0.4

  • Sub menu supported.
  • Last item showing fixed.

1.0.5

  • Dropdown hover problem fixed.

1.1.0

  • Hover or click options for Dropdown items added.

1.1.1

  • Active class added to active item.