Title: URWA for Dokan
Author: Rob Smelik
Published: <strong>27. listopada 2015.</strong>
Last modified: 29. listopada 2015.

---

Pretraga dodataka

![](https://ps.w.org/urwa-for-dokan/assets/banner-772x250.jpg?rev=1273549)

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

![](https://ps.w.org/urwa-for-dokan/assets/icon-256x256.jpg?rev=1275940)

# URWA for Dokan

 Od [Rob Smelik](https://profiles.wordpress.org/rob-smelik/)

[Preuzmi](https://downloads.wordpress.org/plugin/urwa-for-dokan.zip)

 * [Detalji](https://hr.wordpress.org/plugins/urwa-for-dokan/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/urwa-for-dokan/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/urwa-for-dokan/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/urwa-for-dokan/#developers)

 [Podrška](https://wordpress.org/support/plugin/urwa-for-dokan/)

## Opis

### Description

User Role Widget Areas for Dokan allows you to selectively display content in your
themes active widget areas based on Dokan user roles (Dokan Administrator, Dokan
Seller, Dokan Customer) of logged in users. All user role widget areas can be displayed
in **any** existing sidebar or widget area within your theme.

### Plugin Features

 * 3 User role based widget areas, one for each of the standard Dokan user roles.
 * 1 display widget for displaying your new widget areas on the front end (public
   site).
 * Additional shortcodes for displaying your user role and user status based widget
   areas.
 * The ability to hard code the script into your theme that displays the widget 
   areas on the front end.

### Important Information

Dokan **requires WooCommerce** and is built upon the existing WooCommerce **Shop
Manager** role to provide a front-end vendor marketplace solution. Therefore, widgets
placed in the User – Dokan Seller widget area are also visible to users that have
been assigned the WooCommerce Shop Manager role. This functionality is needed for
the Dokan Seller to also manage his or her products.

### Dokan Compatibility

This plugin is designed to work with both the [Lite Version](https://wordpress.org/plugins/dokan-lite/)
and [Full Version](https://wedevs.com/products/plugins/dokan/) of the Dokan Multivendor
plugin.

### Rate The Plugin

If you like this plugin and find it useful please take a moment to [rate it](https://wordpress.org/support/view/plugin-reviews/urwa-for-dokan#postform).
Thanks!

## Snimke zaslona

[⌊screenshot-1.jpg⌉⌊screenshot-1.jpg⌉[

screenshot-1.jpg

[⌊screenshot-2.jpg⌉⌊screenshot-2.jpg⌉[

screenshot-2.jpg

## Instalacija

### Installation

 1. In WordPress go to Plugins > Add New and search for **URWA for Dokan**.
 2. Install and activate the plugin using the built in WordPress plugin installer.
 3. Go to Appearance > Widgets. You will notice a new set of user role and status based
    widget areas. Drag any widget into those areas that you desire.
 4. DDrag the installed **Dokan Users by Role** display widget to the sidebar or widget
    area where you want your user role based widgets to appear.
 5. Refresh your public site to see role based widgets and log out or log in as a different
    user role to see the widgets change.

### Additional Usage – Shortcode

One shortcodes comes installed with this plugin.

The following shortcode will display the Dokan role based widgets that you have 
defined on the Appearance > Widgets page in WordPress:

[dokan-user-role-widget-areas]

### Additional Usage – Hardcoding

You can also hardcode the dynamic widget areas into your theme using the following
PHP code.

The following code will display the role based widgets that you have defined on 
the Appearance > Widgets page in WordPress when placed in your theme:

    ```
    <?php echo do_shortcode('[dokan-user-role-widget-areas]’); ?> 
    ```

### Advanced Styling

Each role based widget area gets wrapped in a unique ID allowing advanced users 
to individually style the widget areas.

## Pitanja i odgovori

  FAQ

Q: I dragged widgets into the Dokan User Role Widget Areas but they are not showing
up on the front end. Why?

A: You must make sure that you have placed the “URWA – Dokan Users By Role” widget
into any existing NON-USER widget area where you want to display specific widgets
based on user roles.

Q: I did the step above but the Dokan User Role widgets are still not showing up.

A: Make sure you have at least one widget in the widget area for the role you are
logged in as. For example: If you are logged in as an administrator drag a text 
widget into the Users – Dokan Administrators widget area and give it a title and
some placeholder content. Go back to your browser and refresh.

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“URWA for Dokan” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

 *   [ Rob Smelik ](https://profiles.wordpress.org/rob-smelik/)

[Prevedite “URWA for Dokan” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/urwa-for-dokan)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/urwa-for-dokan/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/urwa-for-dokan/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/urwa-for-dokan/) od 
[RSS](https://plugins.trac.wordpress.org/log/urwa-for-dokan/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.0

 * Initial release
 * Added registration for 3 Dokan user role based widget areas
 * Added registration for 1 Dokan display widget that displays your Dokan user role
   based widget areas on the front end
 * Added shortcode support for displaying user role and status based widget areas
   on the front end
 * Tested functionality on a variety of themes and browsers

## Meta

 *  Version **1.0**
 *  Zadnje ažuriranje **prije 11 godina**
 *  Aktivnih instalacija **10+**
 *  WordPress inačica ** 3.9 ili viša **
 *  Testirano do **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/urwa-for-dokan/)
 * Oznaka
 * [dokan](https://hr.wordpress.org/plugins/tags/dokan/)[sidebar](https://hr.wordpress.org/plugins/tags/sidebar/)
   [user](https://hr.wordpress.org/plugins/tags/user/)[widget](https://hr.wordpress.org/plugins/tags/widget/)
   [widget area](https://hr.wordpress.org/plugins/tags/widget-area/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/urwa-for-dokan/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/urwa-for-dokan/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/urwa-for-dokan/reviews/)

## Suradnici

 *   [ Rob Smelik ](https://profiles.wordpress.org/rob-smelik/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/urwa-for-dokan/)