Linux 软件免费装
Banner图

Global Custom Fields

开发者 tommasomeli
更新时间 2021年3月25日 04:02
PHP版本: 5.6 及以上
WordPress版本: 5.6
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcodes shortcode php content custom groups advanced field fields global gcf global custom fields

下载

1.0 1.1 1.2

详情介绍:

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!

安装:

  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)

屏幕截图:

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

更新日志:

1.2 (14th December,2020) 1.1 (1th June,2020)