Title: Custom Field Widget
Author: scottwallick
Published: <strong>6 de agost de 2008</strong>
Last modified: 29 de novembre de 2012

---

Buscar complements

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Custom Field Widget

 Per [scottwallick](https://profiles.wordpress.org/scottwallick/)

[Baixar](https://downloads.wordpress.org/plugin/custom-field-widget.0.1.zip)

 * [Detalls](https://ca-valencia.wordpress.org/plugins/custom-field-widget/#description)
 * [Ressenyes](https://ca-valencia.wordpress.org/plugins/custom-field-widget/#reviews)
 *  [Instal·lació](https://ca-valencia.wordpress.org/plugins/custom-field-widget/#installation)
 * [Desenvolupament](https://ca-valencia.wordpress.org/plugins/custom-field-widget/#developers)

 [Suport](https://wordpress.org/support/plugin/custom-field-widget/)

## Descripció

The Custom Field Widget displays values of custom field keys, allowing post- and
page-specific meta sidebar content with limitless applications.

Custom Field Widget is for WordPress 2.6.x and features:

 * Multiple widget instances possible
 * Widget-specific optional title and text
 * Conditional functionality, i.e., without a matching key, the widget is not displayed
 * Practically unlimited possible uses

### Use

If you are unfamiliar with custom fields, you should first read about them on the
[WordPress Codex](https://codex.wordpress.org/Using_Custom_Fields).

Custom fields are added to posts and pages from the _Write > Page_ and _Write > 
Post_ menus, just below the main editor area. You may add as many custom fields 
to a post/page as you like.

There are two separate fields for each custom field: the _key_ and its _value_. 
The Custom Field Widget finds a specified _key_ and then displays its corresponding
_value_ in the sidebar. Without a matching _key_, nothing is displayed.

The Custom Field Widget doesn’t necessarily ‘do’ anything, but it enables an advanced(
and often overlooked) feature built-in to WordPress. For example, see [28 Ways to Use WordPress Custom Fields](http://performancing.com/wordpress-tips/jazz-your-site-28-ways-use-wordpress-custom-fields)
for a small picture of possibilities.

I developed this plugin for my own use. I wanted to display a small table of contents
for certain pages (which are without categories) in the sidebar dynamically. Without
a widget, I would have to edit the sidebar file(s) for each theme I used.

Because each table of contents (a short `ol` of items) varied from page to page,
it also had to be specific to each page. So I created a custom field key of `toc`
and added the `ol` of items to its value. Enabling the plugin, I had a table of 
contents appear in the sidebar for each page with a custom field key of `toc`.

The uses and applications of WordPress custom fields are infinite. Just [search for WordPress custom fields](http://www.google.com/search?q=wordpress+custom+fields)
for thousands of results on this subject.

### License

Custom Field Widget, a plugin for WordPress, (C) 2008 by Scott Allan Wallick, is
licensed under the [GNU General Public License](http://www.gnu.org/licenses/gpl.html).

Custom Field Widget is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

Custom Field Widget is distributed in the hope that it will be useful, but **without
any warranty**; without even the implied warranty of **merchantability** or **fitness
for a particular purpose**. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Custom
Field Widget. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## Captures

 * [[
 * Custom Field Widget is a multiple-instance widget that shows custom field values
   matching specified keys in your sidebar.

## Instal·lació

This plugin is installed just like any other WordPress plugin. More [detailed installation instructions](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
are available on the WordPress Codex.

 1. Download Custom Field Widget
 2. Extract the `/custom-field-widget/` folder from the archive
 3. Upload this folder to `../wp-contents/plugins/`
 4. Activate the plugin in _Dashboard > Plugins_
 5. Customize from the _Design > Widgets_ menu
 6. Enjoy. And then consider donating

In other words, just upload the `/custom-field-widget/` folder and its contents 
to your plugins folder.

## PMF

  What does this plugin do?

Custom Field Widget displays the custom field values of a specified custom field
key in your sidebar.

  I have no idea what your answer means.

That’s fine. Read the _Use_ section for more information on using custom fields 
and possible applications of this plugin.

  Fine. Can you give me one example of what I could do with this plugin?

You could use it to display a graphic in the sidebar that you set on a per-post 
and/or per-page basis. Say you want certain posts/pages to include a graphic that
aren’t necessarily categorized together. Create a custom field with a common key
and this widget will display the corresponding values in the sidebar.

  That’s pretty slick. Give me another example.

No. See the _Use_ section and let your imagination run wild.

  I’d like to modify this plugin in some way unavailable through the widget options
panel. Will you help me?

No. I apologize as I am unable to help with modifications with any of my plugins.

  Well, thanks for nothing.

Not even thanks for the plugin?

  Sure. Thanks for the plugin.

You’re welcome. Enjoy.

## Ressenyes

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

### 󠀁[Still works (WordPress 4.4)](https://wordpress.org/support/topic/still-works-wordpress-4-4/)󠁿

 [rosell.dk](https://profiles.wordpress.org/roselldk/) 24 de abril de 2018

The good thing about small and simple plugins, is that they are robust 🙂

 [ Llegir totes les 4 ressenyes ](https://wordpress.org/support/plugin/custom-field-widget/reviews/)

## Col·laboradors i desenvolupadors

«Custom Field Widget» és programari de codi obert. La següent gent ha col·laborat
en este complement.

Col·laboradors

 *   [ scottwallick ](https://profiles.wordpress.org/scottwallick/)
 *   [ plaintxt.org ](https://profiles.wordpress.org/plaintxtorg/)

[Traduïx «Custom Field Widget» a la teua llengua.](https://translate.wordpress.org/projects/wp-plugins/custom-field-widget)

### T’interessa el desenvolupament?

[Revisa el codi](https://plugins.trac.wordpress.org/browser/custom-field-widget/),
dona una ullada al [repositori SVN](https://plugins.svn.wordpress.org/custom-field-widget/)
o subscriu-te al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/custom-field-widget/)
per [RSS](https://plugins.trac.wordpress.org/log/custom-field-widget/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **0.1 β**
 *  Última actualització **fa 13 anys**
 *  Instal·lacions actives: **200+**
 *  Versió de WordPress: ** 2.5 o posterior **
 *  Provat fins a **2.6.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/custom-field-widget/)
 * Etiquetes
 * [custom field](https://ca-valencia.wordpress.org/plugins/tags/custom-field/)[custom key](https://ca-valencia.wordpress.org/plugins/tags/custom-key/)
   [custom value](https://ca-valencia.wordpress.org/plugins/tags/custom-value/)[field](https://ca-valencia.wordpress.org/plugins/tags/field/)
   [value](https://ca-valencia.wordpress.org/plugins/tags/value/)
 *  [Vista avançada](https://ca-valencia.wordpress.org/plugins/custom-field-widget/advanced/)

## Valoracions

 5 out of 5 stars.

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

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

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

## Col·laboradors

 *   [ scottwallick ](https://profiles.wordpress.org/scottwallick/)
 *   [ plaintxt.org ](https://profiles.wordpress.org/plaintxtorg/)

## Suport

Tens alguna cosa a dir? Necessites ajuda?

 [Vore els fòrums de suport](https://wordpress.org/support/plugin/custom-field-widget/)

## Donar

T’agradaria donar suport al progrés d’este complement?

 [ Dona a este complement ](http://www.plaintxt.org/about/#donate)