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

Sidebar Per User Role

説明

This Plugin lets you display a sidebar per user role automaticaly without any coding what so ever, and it works with any theme out of the box.

Any feedback or suggestions are welcome.

Also check out my other plugins
 

スクリーンショット

  • User Role Sidebars
  • Plugin option panel
  • Plugin help panel

インストール

  • Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  • Then activate the Plugin from Plugins page.
  • Done!

FAQ

Usage: 

Either call the guest sidebar in your theme using :

 

<?php dynamic_sidebar( 'guest-sidebar' ); ?>

 

which will be replaced based on the user role.

 

Or use an existing sidebar you want replaced by adding this in your themes functions.php

 

add_action('after_theme_setup','replace_sidebar_');

function replace_sidebar_(){

    global $sidebars_per_role;
    $sidebars_per_role->sidebar_to_replace = 'ID-OF-YOUR-Sidebar';
}

評価

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

貢献者と開発者

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

貢献者

“Sidebar Per User Role” をあなたの言語に翻訳しましょう。

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

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

変更履歴

0.3 Fixed naming issues
0.2 Fixed require_once error.
0.1 Initial relases.