{"id":120300,"date":"2020-04-22T14:17:13","date_gmt":"2020-04-22T14:17:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/global-custom-fields\/"},"modified":"2021-03-24T20:02:44","modified_gmt":"2021-03-24T20:02:44","slug":"global-custom-fields","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/global-custom-fields\/","author":17931178,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3","stable_tag":"trunk","tested":"5.7.15","requires":"3.4","requires_php":"5.4","requires_plugins":"","header_name":"Global Custom Fields","header_author":"tommasomeli","header_description":"Create Global Custom fields and save them into WP Options, then get them in PHP or use gfc Shortcode","assets_banners_color":"8dead8","last_updated":"2021-03-24 20:02:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/global-custom-fields","header_author_uri":"https:\/\/profiles.wordpress.org\/tommasomeli","rating":5,"author_block_rating":0,"active_installs":200,"downloads":2542,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"tommasomeli","date":"2020-06-01 10:26:52"},"1.1":{"tag":"1.1","author":"tommasomeli","date":"2020-06-01 10:26:52"},"1.2":{"tag":"1.2","author":"tommasomeli","date":"2020-12-16 22:24:54"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2289359,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2289359,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2289359,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":2289359,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2289359,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2315713,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2315713,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2315713,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2315713,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"GCF Settings","2":"GCF Groups","3":"GCF Fields","4":"GCF Fields"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1391,527,2240,184679,186534],"plugin_category":[],"plugin_contributors":[184680],"plugin_business_model":[],"class_list":["post-120300","plugin","type-plugin","status-publish","hentry","plugin_tags-advanced","plugin_tags-custom","plugin_tags-field","plugin_tags-gcf","plugin_tags-global-custom-fields","plugin_contributors-tommasomeli","plugin_committers-tommasomeli"],"banners":{"banner":"https:\/\/ps.w.org\/global-custom-fields\/assets\/banner-772x250.png?rev=2289359","banner_2x":"https:\/\/ps.w.org\/global-custom-fields\/assets\/banner-1544x500.png?rev=2289359","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/global-custom-fields\/assets\/icon.svg?rev=2289359","icon":"https:\/\/ps.w.org\/global-custom-fields\/assets\/icon.svg?rev=2289359","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/global-custom-fields\/assets\/screenshot-1.png?rev=2315713","caption":"GCF Settings"},{"src":"https:\/\/ps.w.org\/global-custom-fields\/assets\/screenshot-2.png?rev=2315713","caption":"GCF Groups"},{"src":"https:\/\/ps.w.org\/global-custom-fields\/assets\/screenshot-3.png?rev=2315713","caption":"GCF Fields"},{"src":"https:\/\/ps.w.org\/global-custom-fields\/assets\/screenshot-4.png?rev=2315713","caption":"GCF Fields"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Add global fields in GCF Admin Page<\/strong> Create groups in the 'Settings' section and related fields in the 'Fields' section. Then edit the fields individually from the 'GCF' section.<\/p>\n\n<p><strong>Recover GCF with php<\/strong> Fields groups \/ single gcf can be retrieved anywhere within your theme \/ plugin with the function <code>get_gcf($group, $single = false, $eval = false)<\/code><\/p>\n\n<p><strong>Show single GCF with a shortcode<\/strong> Load and display your single gcf with a shortcode! <code>[gcf group=\"group_name\" field=\"field_name\" eval=false]<\/code><\/p>\n\n<p>Each field is validated before saving. Add non-standard HTML tags and attributes in the \"Settings\" section if you need.<\/p>\n\n<p>N.B. Use php \"eval\" only if you know what you're doing. Save php fields using pseudo tags <code>[php] ... [\/php]<\/code><\/p>\n\n<p><a href=\"mailto:&#105;&#x6e;&#102;&#111;&#x40;&#116;&#111;&#x6d;&#109;a&#x73;&#111;&#x6d;&#x65;&#108;&#x69;&#x2e;&#105;&#x74;\">contact<\/a> me if you have any questions, issues, or suggestions.\nAnd leave a <a href=\"https:\/\/wordpress.org\/support\/plugin\/global-custom-fields\/reviews\/#new-post\">review<\/a> to grow the project!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>global-custom-fields<\/code> folder to the directory <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin using the 'Plugins' menu in WordPress.<\/li>\n<li>Set up the plugin from GCF Admin Page<\/li>\n<li>Use <code>get_gcf()<\/code> php function or <code>[gcf]<\/code> shortcode to add GCF anywhere! (see more in the 'Description' section)<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.3 (25th March,2021)<\/h4>\n\n<ul>\n<li>WP 5.7 compatibility<\/li>\n<\/ul>\n\n<h4>1.2 (14th December,2020)<\/h4>\n\n<ul>\n<li>remove warnings from fields editor<\/li>\n<li>code editor fixed<\/li>\n<\/ul>\n\n<h4>1.1 (1th June,2020)<\/h4>\n\n<ul>\n<li>add Fields editor (with lines and code highlights)<\/li>\n<li>add extra Tags \/ Attributes section in settings<\/li>\n<li>fix PHP eval feature<\/li>\n<\/ul>","raw_excerpt":"Create Global Custom fields and save them into WP Options, get them with PHP or use gfc Shortcode","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/120300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=120300"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tommasomeli"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=120300"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=120300"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=120300"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=120300"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=120300"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=120300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}