Title: Global Custom Fields
Author: Tommaso Meli
Published: <strong>April 22, 2020</strong>
Last modified: March 24, 2021

---

Search plugins

![](https://ps.w.org/global-custom-fields/assets/banner-772x250.png?rev=2289359)

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://ps.w.org/global-custom-fields/assets/icon.svg?rev=2289359)

# Global Custom Fields

 By [Tommaso Meli](https://profiles.wordpress.org/tommasomeli/)

[Download](https://downloads.wordpress.org/plugin/global-custom-fields.zip)

 * [Details](https://wordpress.org/plugins/global-custom-fields/#description)
 * [Reviews](https://wordpress.org/plugins/global-custom-fields/#reviews)
 *  [Installation](https://wordpress.org/plugins/global-custom-fields/#installation)
 * [Development](https://wordpress.org/plugins/global-custom-fields/#developers)

 [Support](https://wordpress.org/support/plugin/global-custom-fields/)

## Description

Customize WordPress with Global Custom Fields! You can use GCF for example to create
HTML + PHP shortcodes, global text fields, to save custom urls and retrieve them
wherever you want and much more.

**Add global fields in GCF Admin Page** Create groups in the ‘Settings’ section 
and related fields in the ‘Fields’ section. Then edit the fields individually from
the ‘GCF’ section.

**Recover GCF with php** Fields groups / single gcf can be retrieved anywhere within
your theme / plugin with the function `get_gcf($group, $single = false, $eval = 
false)`

**Show single GCF with a shortcode** Load and display your single gcf with a shortcode!`[
gcf group="group_name" field="field_name" eval=false]`

Each field is validated before saving. Add non-standard HTML tags and attributes
in the “Settings” section if you need.

N.B. Use php “eval” only if you know what you’re doing. Save php fields using pseudo
tags `[php] ... [/php]`

[contact](https://wordpress.org/plugins/global-custom-fields/info@tommasomeli.it?output_format=md)
me if you have any questions, issues, or suggestions.
 And leave a [review](https://wordpress.org/support/plugin/global-custom-fields/reviews/#new-post)
to grow the project!

## Screenshots

 * [[
 * GCF Settings
 * [[
 * GCF Groups
 * [[
 * GCF Fields
 * [[
 * GCF Fields

## Installation

 1. Upload the `global-custom-fields` folder to the directory `/wp-content/plugins/`.
 2. Activate the plugin using the ‘Plugins’ menu in WordPress.
 3. Set up the plugin from GCF Admin Page
 4. Use `get_gcf()` php function or `[gcf]` shortcode to add GCF anywhere! (see more
    in the ‘Description’ section)

## Reviews

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

### 󠀁[Great!](https://wordpress.org/support/topic/great-13855/)󠁿

 [giordanacamargo](https://profiles.wordpress.org/giordanacamargo/) October 15, 
2021

Such a great plugin to work with!

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

### 󠀁[Wooohoooo!](https://wordpress.org/support/topic/wooohoooo/)󠁿

 [somesunnymind](https://profiles.wordpress.org/somesunnymind/) January 31, 2021

So good! This plugin makes my life better. Thank you 1000 times.

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

### 󠀁[Very useful!](https://wordpress.org/support/topic/very-useful-2427/)󠁿

 [jakenelson09](https://profiles.wordpress.org/jakenelson09/) September 26, 2020

Excellent plugin!

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

### 󠀁[Ottimo plugin!](https://wordpress.org/support/topic/ottimo-plugin-176/)󠁿

 [matteocardini](https://profiles.wordpress.org/matteocardini/) April 23, 2020

Unico nel suo genere, non ho trovato alternativa migliore per questo tipo di lavoro!
Grazie mille

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

### 󠀁[Cool Feature](https://wordpress.org/support/topic/cool-feature-4/)󠁿

 [uomoz](https://profiles.wordpress.org/uomoz/) April 23, 2020

Very useful to add my custom code without much hassle, wherever i want and without
risky copypasting. Thanks a lot!

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/global-custom-fields/reviews/)

## Contributors & Developers

“Global Custom Fields” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Tommaso Meli ](https://profiles.wordpress.org/tommasomeli/)

[Translate “Global Custom Fields” into your language.](https://translate.wordpress.org/projects/wp-plugins/global-custom-fields)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/global-custom-fields/),
check out the [SVN repository](https://plugins.svn.wordpress.org/global-custom-fields/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/global-custom-fields/)
by [RSS](https://plugins.trac.wordpress.org/log/global-custom-fields/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3 (25th March,2021)

 * WP 5.7 compatibility

#### 1.2 (14th December,2020)

 * remove warnings from fields editor
 * code editor fixed

#### 1.1 (1th June,2020)

 * add Fields editor (with lines and code highlights)
 * add extra Tags / Attributes section in settings
 * fix PHP eval feature

## Meta

 *  Version **1.3**
 *  Last updated **5 years ago**
 *  Active installations **200+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **5.7.15**
 *  PHP version ** 5.4 or higher **
 * Tags
 * [advanced](https://wordpress.org/plugins/tags/advanced/)[custom](https://wordpress.org/plugins/tags/custom/)
   [field](https://wordpress.org/plugins/tags/field/)
 *  [Advanced View](https://wordpress.org/plugins/global-custom-fields/advanced/)

## Ratings

 5 out of 5 stars.

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

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

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

## Contributors

 *   [ Tommaso Meli ](https://profiles.wordpress.org/tommasomeli/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/global-custom-fields/)