Dieses Plugin wurde nicht mit den 3 neuesten Hauptversionen von WordPress getestet. Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

Sidebar Per User Role

Beschreibung

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
 

Screenshots

Installation

  • 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';
}

Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

Mitwirkende und Entwickler

„Sidebar Per User Role“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

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