跳到内容

Global Custom Fields

v1.3

Tommaso Meli · 2020年4月22日 上架

Create Global Custom fields and save them into WP Options, get them with PHP or use gfc Shortcode

正在使用
100+
评分
5.0 / 5
累计下载
3,575
最近更新
2021年3月25日
5 条评价需要 WordPress 3.4+已测试到 5.7.22PHP 5.4+

贡献者

截图

GCF Settings
GCF Settings
GCF Groups
GCF Groups
GCF Fields
GCF Fields
GCF Fields
GCF Fields

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 me if you have any questions, issues, or suggestions.
And leave a review to grow the project!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums