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

DMG Custom Menu Widget

説明

Displays a menu created on the ‘Appearance > Menus’ page as a list of links.

Includes advanced options to add CSS styles, modify the title and add HTML/ Text before and after each link.

Replaces the built in Menus Widget (WP_Nav_Menu_Widget).

A hook is available to filter the title: dmg_custom_menu_widget_title.

For example, to change the title on a single page or post, you could add this to your functions.php file:

function myTitleFilter( $title )
{
    if( is_singular() )
    {
        return "<strong>$title</strong>";
    }
    else
    {
        return $title;      
    }
}
add_filter( 'dmg_related_pages_widget_title' , 'myTitleFilter');

More information about this plugin can be found at http://dancoded.com/wordpress-plugins/custom-menu-widget/.

スクリーンショット

インストール

  1. Upload the plugin files to the /wp-content/plugins/dmg-custom-menu-widget directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ page in the WordPress admin area
  3. Drag onto any active sidebar on the ‘Appearance > Widgets’ page

評価

このプラグインにはレビューがありません。

貢献者と開発者

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

貢献者

“DMG Custom Menu Widget” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.0

  • Initial version