Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Sidebar Per User Role

Priskribo

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
 

Ekrankopioj

Instalo

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

OD

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

Pritaksoj

There are no reviews for this plugin.

Kontribuantoj k. programistoj

“Sidebar Per User Role” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Sidebar Per User Role” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

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