Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

Sidebar Per User Role

Descripció

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
 

Captures

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

Instal·lació

  • 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!

PMF

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

Ressenyes

No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«Sidebar Per User Role» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

Registre de canvis

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