Title: Widget Instance
Author: Global
Published: <strong>Òkúdù 11, 2012</strong>
Last modified: Agẹmọ  11, 2018

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/widget-instance/assets/banner-772x250.jpg?rev=1187239)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/widget-instance/assets/icon-256x256.jpg?rev=1187239)

# Widget Instance

 Láti ọwọ́ [Global](https://profiles.wordpress.org/global_1981/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/widget-instance.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/widget-instance/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/widget-instance/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/widget-instance/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/widget-instance/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/widget-instance/)

## Àpèjúwe

Widgets are normally displayed as part of a sidebar using the dynamic_sidebar()

function. There is the_widget function for static widgets, but there is no equivalent
for specific widgets configured in the Appearance > Widgets area.

The Widget Instance plugin allows WordPress users of all abilities to display
 these
widgets outside of the sidebars they have been assigned to.

Features

 1. A wysiwyg editor button for selecting available widgets,
 2. A shortcode [widget_instance id=”[widget_id]”],
 3. A theme action do_action(‘widget_instance’, [widget_id]) and finally
 4. Utility functions for developers get_widget_instance and widget_instance

Usage

 * [widget_instance id=”[widget_id]”]
 * do_action(‘widget_instance’, ‘[widget_id]’);
 * the_widget_instance(‘[widget_id]’);
 * get_the_widget_instance(‘[widget_id]’);

## Àwọn àwòrán ìbòjú

 * [[
 * The Widget Instance editor button
 * [[
 * The editor dialog for inserting a specific widget instance

## Ìgbéwọlẹ̀

This section describes how to install the plugin and get it working.

 1. Upload `widget-instance` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Within the editor, you can use the Widget Instance editor button to select
     from
    available widgets or enter a shortcode following the syntax: [widget_instance id
    =”[widget_id]”]
 4. Optional step: If you would like to retain the sidebar format of the widget, check
    the Include Sidebar format checkbox
 5. Within template files you can use the following php snippets:

 * Action: do_action(‘widget_instance’, ‘[widget_id]’);
 * Function: the_widget_instance(‘[widget_id]’);
 * Function: get_the_widget_instance(‘[widget_id]’);

## FAQ

  How do I get the widget id?

Of course the editor button automagically retrieves all the available widgets
 (
and their ids) for you, but if you are using one of the PHP functions, you can get
the available widget ids by looping over the array returned by the function wp_get_sidebars_widgets()

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/6dbf7eec55bede15de45e3ffe70c64119ebcfc1ed578a8f847bef939b02eef35?
s=60&d=retro&r=g)

### 󠀁[Works, but not with widgets that need parameters](https://wordpress.org/support/topic/works-but-not-with-widgets-that-need-parameters/)󠁿

 [jeroenm77](https://profiles.wordpress.org/jeroenm77/) Ọwẹ́wẹ̀ 3, 2018

Works, if you need a widget that doesnÌtumọ̀ Yorùbá: ’t need parameters.

![](https://secure.gravatar.com/avatar/02f1f7a1add6beadf074cfe6c5957fde3be39f84739263a073b84e538e8988dd?
s=60&d=retro&r=g)

### 󠀁[Works as expected!](https://wordpress.org/support/topic/works-as-expected-303/)󠁿

 [luigitec](https://profiles.wordpress.org/luigitec/) Èbìbí 9, 2017

Nice plugin, it does what I needed.

![](https://secure.gravatar.com/avatar/cecc642a78e07c4546e7a53a71ae2b1dba80ea102cac14441f23f93cebdf3e59?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-2413/)󠁿

 [pierrechecy](https://profiles.wordpress.org/pierrechecy/) Ẹrẹ́nà 13, 2017

use with other plugin “Category Posts Widget” and template Customizr very easy

![](https://secure.gravatar.com/avatar/96f3c753920654ef8d0690b3edd5f63b2639318d9262eccf4ae94932ddbad7b6?
s=60&d=retro&r=g)

### 󠀁[5 Stars Plugin. Great Great](https://wordpress.org/support/topic/5-stars-plugin-great-great/)󠁿

 [ireneml](https://profiles.wordpress.org/ireneml/) Ọwẹ́wẹ̀ 3, 2016

This plugin has saved me a lot of work and has given me all the answers I was looking
for a long time ago. Thank you very much Ben.

![](https://secure.gravatar.com/avatar/6a5c88c71ae27ce729c94c08888d7bf109298f4ae13d6667161eff14567da8f0?
s=60&d=retro&r=g)

### 󠀁[Great plugin, thank you! Also provided a solution for the dropdown issue](https://wordpress.org/support/topic/great-plugin-thank-you-also-provided-a-solution-for-the-dropdown-issue/)󠁿

 [Immánuel Fodor](https://profiles.wordpress.org/immanuelfactor/) Ọwẹ́wẹ̀ 3, 2016

If anybody has the no widges in the dropdown issue, I posted a solution, just see
here: [SOLVED] No widgets in the dropdown I hope this helps! 🙂

 [ Ka gbogbo àwọn àgbéyẹ̀wò 9 ](https://wordpress.org/support/plugin/widget-instance/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Widget Instance” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

 *   [ Global ](https://profiles.wordpress.org/global_1981/)

[Túmọ̀ “Widget Instance” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/widget-instance)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/widget-instance/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/widget-instance/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/widget-instance/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/widget-instance/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 0.9.5

 * Tested in WordPress 4.9.7

#### 0.9.4

 * Included Immánuel FodorÌtumọ̀ Yorùbá: ’s fix for empty dropdown

#### 0.9.3

 * Tested in WordPress 4.2.2, new banner, icons and tinymce button created.

#### 0.9.2

 * Added javascript loader, fix for wordpress installs where wp-includes url is 
   not in the root.

#### 0.9.1

 * Can now select a widget by itÌtumọ̀ Yorùbá: ’s title as well as its id. The title
   is in parenthesis after the id.

#### 0.9

 * Tested on 3.5.1
 * Fixed php warnign typo

#### 0.8

 * Tested on 3.4.1
 * Added option for including sidebar formatting
 * The widgetÌtumọ̀ Yorùbá: ’s title will now include the sidebar title markup (
   More useful than having a plain text title)

#### 0.5

 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **0.9.4**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 8 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **500+**
 *  Ẹ̀yà WordPress ** 2.9.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.9.29**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/widget-instance/)
 * Àwọn àmì
 * [display widget](https://yor.wordpress.org/plugins/tags/display-widget/)[widget](https://yor.wordpress.org/plugins/tags/widget/)
   [widget instance](https://yor.wordpress.org/plugins/tags/widget-instance/)[widgets](https://yor.wordpress.org/plugins/tags/widgets/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/widget-instance/advanced/)

## Àwọn ìbò

 3.4 lára àwọn ìràwọ̀ 5.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/widget-instance/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/widget-instance/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/widget-instance/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/widget-instance/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/widget-instance/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/widget-instance/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/widget-instance/reviews/)

## Àwọn Olùkópa

 *   [ Global ](https://profiles.wordpress.org/global_1981/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/widget-instance/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://bcooling.com.au)