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

DMG Related Pages Widget

説明

A simple widget that displays a list of pages related to the current page.

You can choose to show either siblings pages (on the same level), child pages or both, and set how many levels of child pages to show.

You can also enter class(es) to be applied to the widget wrapper or the list (ul element).

If the widget is on a page that is not hierarchical, or if there are no related pages, nothing is displayed.

A hook is available to filter the title: dmg_related_pages_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/related-pages-widget/.

Adding CSS Class(es)

Enter strings, either space or comma seperated, which will be applied as CSS classes to the widget wrapper and/or the list wrapper. These classes are sanitized using the sanitize_html_class() function built in to WordPress.

Make the Title a link

Enter a valid URL to make the title a link.

スクリーンショット

インストール

  1. Upload the plugin files to the /wp-content/plugins/dmg-related-pages-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 Related Pages Widget はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

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

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

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

変更履歴

1.1.1

Corrected typo readme.txt

1.1

Added Title URL field to make title a link

Tidied up readme

Tested in WP 4.6

1.0.2

Corrected Title!

1.0.1

Added screenshot

1.0

  • Initial version