Title: Advanced Custom Fields: Widget Area Field
Author: Dustin Filippini
Published: <strong>23. август 2013.</strong>
Last modified: 12. октобар 2014.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-widget-area-field.
svg)

# Advanced Custom Fields: Widget Area Field

 [Dustin Filippini](https://profiles.wordpress.org/dustyf/)

[Преузимање](https://downloads.wordpress.org/plugin/advanced-custom-fields-widget-area-field.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/advanced-custom-fields-widget-area-field/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/advanced-custom-fields-widget-area-field/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/advanced-custom-fields-widget-area-field/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/advanced-custom-fields-widget-area-field/#developers)

 [Подршка](https://wordpress.org/support/plugin/advanced-custom-fields-widget-area-field/)

## Опис

Easily add and change Widget Areas on any page template using Advanced Custom Fields
and the Advanced Custom Fields: Widget Area Field plugin. This plugin will add a
field with a drop-down selection of all registered Widget Areas in your WordPress
installation. You can select which widget area you would like to display in your
template files when using ACF’s get_field and the_field functions.

As of version 1.0, support for ACF v5 is included.

#### This Plugin Requires Advanced Custom Fields Version 4 or Higher

Advanced Custom Fields can be found in the [WordPress Plugin Repository Here](https://wordpress.org/plugins/advanced-custom-fields/).

#### Compatibility

This add-on will work with:

 * Advanced Custom Fields version 4 and up

## Постављање

This add-on can be treated as both a WP plugin and a theme include.

#### Plugin

 1. Install through the WordPress plugin repository
 2. Activate the plugin via the Plugins admin page

#### Plugin (Manual)

 1. Copy the ‘acf-widget_area’ folder into your plugins folder
 2. Activate the plugin via the Plugins admin page

#### Include

 1. Copy the ‘acf-widget_area’ folder into your theme folder (can use sub folders).
 2. Edit your functions.php file and add the code below (Make sure the path is correct
    to include the acf-widget_area.php file. You should also change my_register_fields
    function name to something unique.)
 3. add_action(‘acf/register_fields’, ‘my_register_fields’);
 4. function my_register_fields() {
     include_once(‘acf-widget_area/acf-widget_area.
    php’); }

## ЧПП

  How does this work?

For this plugin to work, you need to have the [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)
Plugin installed. Once installed, you will be able to select a Widget Area as one
of your custom fields.

  How do I add new Widget Areas?

The WordPress Codex has an article on [Widgetizing Themes](https://codex.wordpress.org/Widgetizing_Themes)
which includes „How to Register a Widget Area“. If you add a new Widget Area (also
called sidebar) with this method it will be available in Appearance > Widgets and
also able to be selected in your new Widget Area Field.

  How do I display my Widget Area Field?

The Advanced Custom Fields website has documentation on [displaying custom field values](http://www.advancedcustomfields.com/resources/getting-started/displaying-custom-field-values-in-your-theme/).

## Прегледи

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

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

 [Smat Placid](https://profiles.wordpress.org/www_smatplacid_com/) 3. септембар 
2016.

I am using the latest ACF Version 5.4.2 and the latest of WP. It works like a charme!
Thank you very much, good job!

 [ Види свих 5 прегледа ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-area-field/reviews/)

## Сарадници и градитељи

„Advanced Custom Fields: Widget Area Field“ је софтвер отвореног кода. Следећи људи
су допринели овом додатку.

Сарадници

 *   [ Dustin Filippini ](https://profiles.wordpress.org/dustyf/)

[Преведите „Advanced Custom Fields: Widget Area Field“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-widget-area-field)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-widget-area-field/),
проверите [SVN складиште](https://plugins.svn.wordpress.org/advanced-custom-fields-widget-area-field/)
или се пријавите на [белешку градње](https://plugins.trac.wordpress.org/log/advanced-custom-fields-widget-area-field/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/advanced-custom-fields-widget-area-field/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 0.0.1

 * Initial Release.

#### 1.0.0

 * Add ACF v5 support
 * Fixed an issue where it should have been buffering output
 * Add the ability to return the name of widget area instead of just the HTML output
 * Adding some escaping, better spacing, commenting
 * Better translation support for the few strings included
 * Fix bugs preventing from being used in Repeater Fields
 * Add checks for ACF existing and other checks

## Мета

 *  Version **1.0.0**
 *  Last updated **12 година раније**
 *  Active installations **400+**
 *  WordPress version ** 3.4 или новије **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-widget-area-field/)
 * Tags
 * [acf](https://sr.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://sr.wordpress.org/plugins/tags/advanced-custom-fields/)
   [custom fields](https://sr.wordpress.org/plugins/tags/custom-fields/)[widget](https://sr.wordpress.org/plugins/tags/widget/)
   [widgets](https://sr.wordpress.org/plugins/tags/widgets/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/advanced-custom-fields-widget-area-field/advanced/)

## Оцене

 4.8 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/advanced-custom-fields-widget-area-field/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/advanced-custom-fields-widget-area-field/reviews/)

## Сарадници

 *   [ Dustin Filippini ](https://profiles.wordpress.org/dustyf/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/advanced-custom-fields-widget-area-field/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](http://dustyf.com/donate)