[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fz-HJNVpg9lhGbjeHf2pjmVQB50yIywoxDhdzP_AmoXI":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":13,"num_ratings":14,"last_updated":15,"tested_up_to":16,"requires_at_least":17,"requires_php":18,"tags":19,"homepage":25,"download_link":26,"security_score":27,"vuln_count":28,"unpatched_count":29,"last_vuln_date":30,"fetched_at":31,"vulnerabilities":32,"developer":49,"crawl_stats":38,"alternatives":55,"analysis":155,"fingerprints":328},"display-a-meta-field-as-block","Meta Field Block","1.5.2","Phi Phan","https:\u002F\u002Fprofiles.wordpress.org\u002Fmr2p\u002F","\u003Cp>This single-block plugin allows you to display a meta field or a custom field as a block on the front end. It supports custom fields for posts, terms, and users. It can be nested inside a parent block that has \u003Ccode>postId\u003C\u002Fcode> and \u003Ccode>postType\u003C\u002Fcode> context, such as \u003Ccode>Query Block\u003C\u002Fcode>, \u003Ccode>WooCommerce Product Collection\u003C\u002Fcode>, or used as a stand-alone block.\u003C\u002Fp>\n\u003Cp>You can display any field whose value can be retrieved by the core API (\u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_post_meta\u002F\" rel=\"nofollow ugc\">get_post_meta\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_term_meta\u002F\" rel=\"nofollow ugc\">get_term_meta\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_user_meta\u002F\" rel=\"nofollow ugc\">get_user_meta\u003C\u002Fa>) and is a string or can be converted to a string. To display the field value in the Block Editor, it has to be accessible via the REST API or have the field type set to \u003Ccode>dynamic\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>You can also display custom fields created by the \u003Ca href=\"https:\u002F\u002Fwww.advancedcustomfields.com\u002F\" rel=\"nofollow ugc\">Advanced Custom Fields\u003C\u002Fa> or \u003Ca href=\"https:\u002F\u002Fmetabox.io\u002F\" rel=\"nofollow ugc\">Meta Box\u003C\u002Fa> plugin  explicitly. It supports all \u003Ca href=\"https:\u002F\u002Fwww.advancedcustomfields.com\u002Fresources\u002F#field-types\" rel=\"nofollow ugc\">ACF field types\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fdocs.metabox.io\u002Ffields\" rel=\"nofollow ugc\">Meta Box field types\u003C\u002Fa> whose values are strings or can be converted to strings. Some other ACF complex fields such as Image, Link, Page Link, True False, Checkbox, Select, Radio, Button Group, Taxonomy, User, Post Object and Relationship field types as well as Meta Box fields such as Select, Checkbox, Radio, Image, Video, Taxonomy, User, Post field types are also supported in basic formats.\u003C\u002Fp>\n\u003Cp>This plugin also provides developer-friendly hook APIs that allow you to easily customize the output of the block, display complex data type fields, or use the block as a placeholder to display any kind of content with \u003Ccode>object_id\u003C\u002Fcode> and \u003Ccode>object_type\u003C\u002Fcode> as context parameters.\u003C\u002Fp>\n\u003Cp>An edge case where this block is really helpful is when you need to get the correct \u003Ccode>post_id\u003C\u002Fcode> in your shortcode when you use it in a Query Loop. In that case, you can set the field type as \u003Ccode>dynamic\u003C\u002Fcode> and input your shortcode in the field name. The block will display it correctly on both the front end and the editor. Alternatively, if you only want to see the preview of your shortcode in the editor, you can also use this block as a better version of the \u003Ccode>core\u002Fshortcode\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>To quickly learn how this block displays custom fields, watch the short guide (for MFB version 1.3.4) by Paul Charlton from WPTuts. The video focuses on the Advanced Custom Fields plugin, but you can use a similar approach to display fields from other frameworks like Meta Box.\u003C\u002Fp>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F-WusSXKaNt4?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Ch4>Links\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com?utm_source=wp.org&utm_campaign=readme&utm_medium=link&utm_content=Website\" rel=\"nofollow ugc\">Website\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?utm_source=wp.org&utm_campaign=readme&utm_medium=link&utm_content=Website%20How%20it%20works\" rel=\"nofollow ugc\">How it works & tutorials\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fpro?utm_source=wp.org&utm_campaign=readme&utm_medium=link&utm_content=MFB%20Pro\" rel=\"nofollow ugc\">MFB PRO\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>What is the HTML output of a custom field?\u003C\u002Fh4>\n\u003Cp>The HTML output of a custom field on the front end depends on the context of the field. It uses one of these core API functions to get the field value: \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_post_meta\u002F\" rel=\"nofollow ugc\">get_post_meta\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_term_meta\u002F\" rel=\"nofollow ugc\">get_term_meta\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fget_user_meta\u002F\" rel=\"nofollow ugc\">get_user_meta\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch4>What is the HTML output of ACF fields?\u003C\u002Fh4>\n\u003Col>\n\u003Cli>\n\u003Cp>All basic field types that return strings or can cast to strings are supported – The HTML output is from the \u003Ccode>get_field\u003C\u002Fcode> function.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Link type – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca href={url} target={target} rel=\"noreferrer noopener\">{title}\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>There is no \u003Ccode>rel\u003C\u002Fcode> attribute if the \u003Ccode>target\u003C\u002Fcode> is not \u003Ccode>_blank\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Image type – The HTML output is from the \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fwp_get_attachment_image\u002F\" rel=\"nofollow ugc\">wp_get_attachment_image\u003C\u002Fa> function. The image size is from the Preview Size setting.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>True \u002F False type – The HTML output is \u003Ccode>Yes\u003C\u002Fcode> if the value is \u003Ccode>true\u003C\u002Fcode>, and \u003Ccode>No\u003C\u002Fcode> if the value is \u003Ccode>false\u003C\u002Fcode>. Below is the code snippet to change these text values:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_true_false_on_text', function ( $on_text, $field_name, $field, $post_id, $value ) {\n  return 'Yep';\n}, 10, 5 );\n\nadd_filter( 'meta_field_block_true_false_off_text', function ( $off_text, $field_name, $field, $post_id, $value ) {\n  return 'Noop';\n}, 10, 5 );\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Checkbox \u002F Select type – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cspan class=\"value-item\">{item_value}\u003C\u002Fspan>, \u003Cspan class=\"value-item\">{item_value}\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The \u003Ccode>item_value\u003C\u002Fcode> can be either \u003Ccode>value\u003C\u002Fcode> or \u003Ccode>label\u003C\u002Fcode>, depending on the return format of the field. Multiple selected values are separated by \u003Ccode>,\u003C\u002Fcode>. Below is the code snippet to change the separator:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_acf_field_choice_item_separator', function ( $separator, $field_name, $field, $post_id, $value ) {\n  return ' | ';\n}, 10, 5 );\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Radio button \u002F Button group type – The HTML output can be either \u003Ccode>value\u003C\u002Fcode> or \u003Ccode>label\u003C\u002Fcode>, depending on the return format of the field.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Page link type, Post object type – The HTML output for a single-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For a multiple-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Relationship type – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Taxonomy type – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"term-link\" href={term_url}>{term_name}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"term-link\" href={term_url}>{term_name}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>User type – The HTML output for a single-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca class=\"user-link\" href={author_url}>{display_name}\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For a multiple-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"user-link\" href={author_url}>{display_name}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"user-link\" href={author_url}>{display_name}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>For other complex field types, you can generate a custom HTML output by using the hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>apply_filters( 'meta_field_block_get_acf_field', $field_value, $post_id, $field, $raw_value, $object_type )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Or by using the general hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>apply_filters( 'meta_field_block_get_block_content', $content, $attributes, $block, $object_id, $object_type )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch4>What is the HTML output of Meta Box fields?\u003C\u002Fh4>\n\u003Col>\n\u003Cli>\n\u003Cp>Similar to ACF fields, all basic fields that return strings or can cast to strings using the function \u003Ccode>rwmb_get_value\u003C\u002Fcode> are supported.\u003C\u002Fp>\n\u003Cp>The HTML output of cloneable basic fields is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cspan class=\"value-repeater-item\">{item_1_value}\u003C\u002Fspan>, \u003Cspan class=\"value-repeater-item\">{item_2_value}\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Use the following hooks to change the tag and the separator:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>apply_filters( 'meta_field_block_mb_clone_field_item_separator', ', ', $field, $post_id, $field_value )\napply_filters( 'meta_field_block_mb_clone_field_item_tag', 'span', $field, $post_id, $field_value )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Single image types – The HTML output is from the \u003Ca href=\"https:\u002F\u002Fdeveloper.wordpress.org\u002Freference\u002Ffunctions\u002Fwp_get_attachment_image\u002F\" rel=\"nofollow ugc\">wp_get_attachment_image\u003C\u002Fa> function. The image size is from the \u003Ccode>image_size\u003C\u002Fcode> setting.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Image list types (Image, Image advanced, Image upload) – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cfigure class=\"image-list\">\n  \u003Cfigure class=\"image-item\">\u003Cimg \u002F>\u003C\u002Ffigure>\n  \u003Cfigure class=\"image-item\">\u003Cimg \u002F>\u003C\u002Ffigure>\n\u003C\u002Ffigure>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Checkbox \u002F Switch type – Similar to ACF True \u002F False type.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Multi-choice types (Select, Select advanced, Button group, Autocomplete, Image select, Checkbox list) – The HTML output is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cspan class=\"value-item\">{item_value}\u003C\u002Fspan>, \u003Cspan class=\"value-item\">{item_value}\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>To display the label instead of the value, use this hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>apply_filters( 'meta_field_block_mb_field_choice_item_display_label', false, $field_name, $field, $post_id, $value )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>To change the separator, use this hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>apply_filters( 'meta_field_block_mb_field_choice_item_separator', ', ', $file_name, $field, $post_id, $value )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Radio type – The output is the field value by default. To display label or change the separator, use the same hooks as the multi-choice types.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Post type – The HTML output for a single-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For a multiple-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"post-link\" href={url} rel=\"bookmark\">{title}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Taxonomy, Taxonomy advanced type – The HTML output for a single-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Ca class=\"term-link\" href={term_url}>{term_name}\u003C\u002Fa>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For a multiple-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cul>\n  \u003Cli>\u003Ca class=\"term-link\" href={term_url}>{term_name}\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli>\u003Ca class=\"term-link\" href={term_url}>{term_name}\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>User type – Similar to ACF User type\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Video type – The HTML output for a single-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cvideo controls preload=\"metadata\" src={video_src} width={video_width} poster={poster} \u002F>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For a multiple-value field is:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cfigure class=\"video-list\">\n  \u003Cfigure class=\"video-item\">\u003Cvideo \u002F>\u003C\u002Ffigure>\n  \u003Cfigure class=\"video-item\">\u003Cvideo \u002F>\u003C\u002Ffigure>\n\u003C\u002Ffigure>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>To display complex field types or change the output of a field, use the hook \u003Ccode>meta_field_block_get_mb_field\u003C\u002Fcode> or the general hook \u003Ccode>meta_field_block_get_block_content\u003C\u002Fcode>.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch4>Copy & paste snippets\u003C\u002Fh4>\n\u003Cp>When using the \u003Ccode>meta_field_block_get_block_content\u003C\u002Fcode> hook to customize block content, we recommend selecting \u003Ccode>dynamic\u003C\u002Fcode> as the field type. This way, both the front end and the editor will show the changes. If you are working with ACF Fields, we suggest using the \u003Ccode>meta_field_block_get_acf_field\u003C\u002Fcode> hook to modify the field content. Similarly, Meta Box users should use the \u003Ccode>meta_field_block_get_mb_field\u003C\u002Fcode> hook to modify the content. ACF snippets can also be used with Meta Box fields, but you must use the correct hook name and replace the \u003Ccode>get_field\u003C\u002Fcode> function with the \u003Ccode>rwmb_get_value\u003C\u002Fcode> function.\u003C\u002Fp>\n\u003Col>\n\u003Cli>\n\u003Cp>How to change the HTML output of the block?\u003Cbr \u002F>\nUsing the \u003Ccode>meta_field_block_get_block_content\u003C\u002Fcode> hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id, $object_type ) {\n  $field_name = $attributes['fieldName'] ?? '';\n\n  if ( 'your_unique_field_name' === $field_name ) {\n    $block_content = 'new content';\n  }\n\n  return $block_content;\n}, 10, 5);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Using the \u003Ccode>meta_field_block_get_acf_field\u003C\u002Fcode> hook for ACF Fields only:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_acf_field', function ( $block_content, $post_id, $field, $raw_value, $object_type ) {\n  $field_name = $field['name'] ?? '';\n\n  if ( 'your_unique_field_name' === $field_name ) {\n    $block_content = 'new content';\n  }\n\n  return $block_content;\n}, 10, 5);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This basic snippet is very powerful. You can use it to display any fields from any posts, terms, users or setting fields. Please see the details in the below use cases.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>How to wrap the block with a link to the post within the Query Loop?\u003Cbr \u002F>\nUsing the \u003Ccode>meta_field_block_get_block_content\u003C\u002Fcode> hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) {\n  $field_name = $attributes['fieldName'] ?? '';\n\n  if ( 'your_unique_field_name' === $field_name && $block_content !== '' ) {\n    $block_content = sprintf('\u003Ca href=\"%1$s\">%2$s\u003C\u002Fa>', get_permalink($post_id), $block_content);\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Using the \u003Ccode>meta_field_block_get_acf_field\u003C\u002Fcode> hook for ACF Fields only:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_acf_field', function ( $block_content, $post_id, $field, $raw_value ) {\n  $field_name = $field['name'] ?? '';\n\n  if ( 'your_unique_field_name' === $field_name && $block_content !== '' ) {\n    $block_content = sprintf('\u003Ca href=\"%1$s\">%2$s\u003C\u002Fa>', get_permalink($post_id), $block_content);\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This snippet only works with the block that has only HTML inline tags or an image.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>How to display an image URL field as an image tag?\u003Cbr \u002F>\nUsing the \u003Ccode>meta_field_block_get_block_content\u003C\u002Fcode> hook:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) {\n  $field_name = $attributes['fieldName'] ?? '';\n\n  if ( 'your_image_url_field_name' === $field_name && wp_http_validate_url($block_content) ) {\n    $block_content = sprintf('\u003Cimg src=\"%1$s\" alt=\"your_image_url_field_name\" \u002F>', esc_attr($block_content));\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Using the \u003Ccode>meta_field_block_get_acf_field\u003C\u002Fcode> hook for ACF Fields only:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_acf_field', function ( $block_content, $post_id, $field, $raw_value ) {\n  $field_name = $field['name'] ?? '';\n\n  if ( 'your_image_url_field_name' === $field_name && wp_http_validate_url($block_content) ) {\n    $block_content = sprintf('\u003Cimg src=\"%1$s\" alt=\"your_image_url_field_name\" \u002F>', esc_attr($block_content));\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>How to display multiple meta fields in a block?\u003Cbr \u002F>\nFor example, we need to display the full name of a user from two meta fields \u003Ccode>first_name\u003C\u002Fcode> and \u003Ccode>last_name\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) {\n  $field_name = $attributes['fieldName'] ?? '';\n\n  if ( 'full_name' === $field_name ) {\n    $first_name = get_post_meta( $post_id, 'first_name', true );\n    $last_name  = get_post_meta( $post_id, 'last_name', true );\n\n    \u002F\u002F If the meta fields are ACF Fields. The code will be:\n    \u002F\u002F $first_name = get_field( 'first_name', $post_id );\n    \u002F\u002F $last_name  = get_field( 'last_name', $post_id );\n\n    $block_content = trim(\"$first_name $last_name\");\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Choose the field type as \u003Ccode>dynamic\u003C\u002Fcode> and input the field name as \u003Ccode>full_name\u003C\u002Fcode>.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>How to display a setting field?\u003Cbr \u002F>\nFor example, we need to display a setting field named \u003Ccode>footer_credit\u003C\u002Fcode> on the footer template part of the site.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) {\n  $field_name = $attributes['fieldName'] ?? '';\n\n  \u002F\u002F Replace `footer_credit` with your unique name.\n  if ( 'footer_credit' === $field_name ) {\n    $block_content = get_option( 'footer_credit', '' );\n\n    \u002F\u002F If the field is an ACF Field. The code will be:\n    \u002F\u002F $block_content = get_field( 'footer_credit', 'option' );\n  }\n\n  return $block_content;\n}, 10, 4);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Ftopic\u002Fhow-to-use-mfb-to-display-dynamic-fields\u002F\" rel=\"ugc\">How to use MFB as a placeholder to display any kind of content?\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch4>SAVE YOUR TIME WITH MFB PRO\u003C\u002Fh4>\n\u003Cp>To display simple data type fields for posts, terms, and users, you only need the free version of MFB. MFB Pro can save you 90% of development time when working with ACF, or Meta Box complex fields. It achieves this by transforming your ACF complex field types into container blocks, which work similarly to core container blocks. This eliminates the need for creating custom blocks or writing custom code for displaying complex fields.\u003C\u002Fp>\n\u003Cp>Below are some video tutorials that demonstrate how MFB Pro can help you display complex fields:\u003C\u002Fp>\n\u003Ch4>How to build a post template to display dynamic data without coding\u003C\u002Fh4>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F5VePClgZmlQ?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Ch4>How to display ACF Repeater fields as a list, grid, or carousel\u003C\u002Fh4>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002Fa9ptshyuJLM?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Ch4>How to display ACF Gallery fields as a grid, masonry, or carousel\u003C\u002Fh4>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FmRWIibbcHQ8?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Cp>The main features of MFB PRO are:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-settings-fields\" rel=\"nofollow ugc\">Display settings fields\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display ACF advanced layout fields: \u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-group-fields\" rel=\"nofollow ugc\">Group\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-repeater-fields-as-list-grid-carousel\" rel=\"nofollow ugc\">Repeater\u003C\u002Fa>, and Flexible content.\u003C\u002Fli>\n\u003Cli>Display ACF Repeater fields in a carousel layout, which is useful for \u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-repeater-as-banner-slider\" rel=\"nofollow ugc\">displaying banner sliders\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display ACF Repeater fields in an accordion layout, which is useful for \u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-repeater-as-accordion\" rel=\"nofollow ugc\">displaying FAQ pages\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-relationship-fields\" rel=\"nofollow ugc\">Display ACF Relationship and Post Object fields as a Query Loop\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-image-fields\" rel=\"nofollow ugc\">Display the ACF Image field as a core image block\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display the ACF Gallery field as an image gallery using \u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-gallery-fields-as-grid-masonry-carousel\" rel=\"nofollow ugc\">grid, masonry, or carousel layouts\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-file-fields\" rel=\"nofollow ugc\">Display the ACF File field as a video block, an image block, a button block, or a link\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display the ACF Link field as a button block.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-url-fields\" rel=\"nofollow ugc\">Display the ACF URL field as an image block, a button block, or a link\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-email-fields\" rel=\"nofollow ugc\">Display the ACF Email field as a button block or a link\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display the ACF Google Map field.\u003C\u002Fli>\n\u003Cli>Display the Meta Box Group field, similar to the ACF Group field.\u003C\u002Fli>\n\u003Cli>Display the Meta Box Cloneable Group field as a repeater block, similar to the ACF Repeater field. Supports row, stack, grid or carousel layouts.\u003C\u002Fli>\n\u003Cli>Display the Meta Box Post field as a Query Loop.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-meta-box-image-fields-as-image-grid-masonry-carousel\" rel=\"nofollow ugc\">Display the Meta Box single image field as an image block, and the image list field as an image gallery using grid, masonry, or carousel layouts\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display the Meta Box File single input field as a video block, an image block, or a button.\u003C\u002Fli>\n\u003Cli>Display a group field as a details block, and display a repeater or cloned group as an accordion.\u003C\u002Fli>\n\u003Cli>Set a single image sub-field (ACF Image or Meta Box Image) as the background image of a group field.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fmetafieldblock.com\u002Fhow-to-display-wordpress-custom-fields\u002F?video=display-acf-custom-fields-from-other-post\" rel=\"nofollow ugc\">Display custom fields from a specific post, term or user\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Display a taxonomy field as a Terms Query block.\u003C\u002Fli>\n\u003Cli>Display a repeater or cloned group field as an core\u002Faccordion block.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>If this plugin is useful for you, please do a quick review and \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Fplugin\u002Fdisplay-a-meta-field-as-block\u002Freviews\u002F#new-post\" rel=\"ugc\">rate it\u003C\u002Fa> on WordPress.org to help us spread the word. I would very much appreciate it.\u003C\u002Fp>\n\u003Cp>Please check out my other plugins if you’re interested:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcontent-blocks-builder\" rel=\"ugc\">Content Blocks Builder\u003C\u002Fa>\u003C\u002Fstrong> – This plugin turns the Block Editor into a powerful page builder by allowing you to create blocks, variations, and patterns directly in the Block Editor without needing a code editor.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsvg-block\" rel=\"ugc\">SVG Block\u003C\u002Fa>\u003C\u002Fstrong> – A block to display SVG images as blocks. Useful for images, icons, dividers, and buttons. It allows you to upload SVG images and load them into the icon library.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Ficon-separator\" rel=\"ugc\">Icon separator\u003C\u002Fa>\u003C\u002Fstrong> – A tiny block just like the core\u002Fseparator block but with the ability to add an icon.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fbreadcrumb-block\" rel=\"ugc\">Breadcrumb Block\u003C\u002Fa>\u003C\u002Fstrong> – A simple breadcrumb trail block that supports JSON-LD structured data and is compatible with WooCommerce.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fblock-enhancements\" rel=\"ugc\">Block Enhancements\u003C\u002Fa>\u003C\u002Fstrong> – Adds practical features to blocks like icons, box shadows, transforms, etc.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcounting-number-block\" rel=\"ugc\">Counting Number Block\u003C\u002Fa>\u003C\u002Fstrong> – A block to display numbers with a counting effect\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fbetter-youtube-embed-block\" rel=\"ugc\">Better YouTube Embed Block\u003C\u002Fa>\u003C\u002Fstrong> – A block to solve the performance issue with embedded YouTube videos. It can also embed multiple videos and playlists.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The plugin is built using @wordpress\u002Fcreate-block.\u003Cbr \u002F>\n\u003Cstrong>MFB\u003C\u002Fstrong> is developed using only native Gutenberg features to keep it fast and lightweight.\u003Cbr \u002F>\n\u003Cstrong>MFB Pro\u003C\u002Fstrong> uses \u003Cstrong>\u003Ca href=\"\u002F\u002Fswiperjs.com\u002F\" rel=\"nofollow ugc\">SwiperJS\u003C\u002Fa>\u003C\u002Fstrong> for the carousel layout. However, if you don’t use the carousel layout,  &hellip;\u003C\u002Fp>\n","Display a custom field as a block on the frontend. Supports custom fields for posts, terms, and users. Officially supports ACF, Meta Box.",10000,148710,100,55,"2026-03-02T01:35:00.000Z","7.0","6.9","7.4",[20,21,22,23,24],"acf-block","acf-field","block","custom-field","meta-field","https:\u002F\u002Fmetafieldblock.com?utm_source=MFB&utm_campaign=MFB+visit+site&utm_medium=link&utm_content=Plugin+URI","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fdisplay-a-meta-field-as-block.1.5.2.zip",99,1,0,"2024-08-16 00:00:00","2026-03-15T15:16:48.613Z",[33],{"id":34,"url_slug":35,"title":36,"description":37,"plugin_slug":4,"theme_slug":38,"affected_versions":39,"patched_in_version":40,"severity":41,"cvss_score":42,"cvss_vector":43,"vuln_type":44,"published_date":30,"updated_date":45,"references":46,"days_to_patch":48},"CVE-2024-43278","meta-field-block-authenticated-contributor-stored-cross-site-scripting","Meta Field Block \u003C= 1.2.13 - Authenticated (Contributor+) Stored Cross-Site Scripting","The Meta Field Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.2.13 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",null,"\u003C=1.2.13","1.2.14","medium",6.4,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:L\u002FUI:N\u002FS:C\u002FC:L\u002FI:L\u002FA:N","Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","2024-08-22 12:52:36",[47],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002Ffaee30bb-ba6e-4d3e-8ca1-79fd676e68f5?source=api-prod",7,{"slug":50,"display_name":7,"profile_url":8,"plugin_count":51,"total_installs":52,"avg_security_score":13,"avg_patch_time_days":53,"trust_score":13,"computed_at":54},"mr2p",8,26600,6,"2026-04-04T05:59:04.713Z",[56,75,97,115,135],{"slug":57,"name":58,"version":59,"author":60,"author_profile":61,"description":62,"short_description":63,"active_installs":64,"downloaded":65,"rating":66,"num_ratings":51,"last_updated":67,"tested_up_to":68,"requires_at_least":69,"requires_php":18,"tags":70,"homepage":73,"download_link":74,"security_score":13,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"acf-field-blocks","Blocks for ACF Fields — Display Custom Fields in the Block Editor","1.4.3","gamaup","https:\u002F\u002Fprofiles.wordpress.org\u002Fgamaup\u002F","\u003Cp>Blocks for ACF Fields lets you effortlessly load and display \u003Cstrong>Advanced Custom Fields (ACF)\u003C\u002Fstrong> or \u003Cstrong>Secure Custom Fields (SCF)\u003C\u002Fstrong> inside the WordPress block editor using a single, flexible block. Whether you’re dealing with text, images, URLs, or complex field types, this plugin makes it simple — all without writing a single line of code.\u003C\u002Fp>\n\u003Ch4>How to Use it\u003C\u002Fh4>\n\u003Cp>Just create your custom fields with the ACF or SCF plugin, then open the WordPress block editor. Add the “ACF Field” block to your page or template, select the field you want to display from the dropdown, and you are done! Your custom field will now appear right inside the editor, exactly where you want it.\u003C\u002Fp>\n\u003Cp>Want to see it in action? Watch the short demo video below to learn how it works in real time.\u003C\u002Fp>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F0gjUTgNgn7A?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Ch4>Features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>No Code Needed\u003C\u002Fstrong> – Display your ACF & SCF fields directly in the editor without building a custom block.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>One Block for All Fields\u003C\u002Fstrong> – Load almost any field type using just a single, versatile block.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Smart Field Picker\u003C\u002Fstrong> – No need to type field names. Choose from a dropdown that automatically shows only the ACF & SCF fields available for the post, page, or template you’re editing.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Flexible Output Control\u003C\u002Fstrong> – Style and format your field values directly in the editor, with output that always works correctly regardless of the field’s return setting. \u003C\u002Fli>\n\u003Cli>\u003Cstrong>Supports Most ACF\u002FSCF Field Types\u003C\u002Fstrong> – Including Text, Image, Post Object, Taxonomy, User, and more.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Supports All Field Locations\u003C\u002Fstrong> – Works with post fields, options pages, term fields, and user fields.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Full Site Editing Ready\u003C\u002Fstrong> – Fully compatible with the WordPress Site Editor for building custom templates and theme parts.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Dynamic Layouts Ready\u003C\u002Fstrong> – Seamlessly works inside Query Loops and reusable patterns for dynamic layouts.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>In addition to choosing which field to display, you also have control over how it appears. Text-based fields (including multiple-value fields like Select or Checkbox) can be shown as plain text or formatted with typography options. Image fields can be displayed as actual images with the same styling options as core Image blocks. For URL-return fields (such as Link or Post Object), you can render them as clickable buttons that automatically match your theme’s design.\u003C\u002Fp>\n\u003Cp>With this flexibility, the plugin supports most commonly used field types right out of the box. Here’s the full list of supported fields:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Text\u003C\u002Fli>\n\u003Cli>Text Area\u003C\u002Fli>\n\u003Cli>Number\u003C\u002Fli>\n\u003Cli>Range\u003C\u002Fli>\n\u003Cli>Email\u003C\u002Fli>\n\u003Cli>URL\u003C\u002Fli>\n\u003Cli>Password\u003C\u002Fli>\n\u003Cli>Image\u003C\u002Fli>\n\u003Cli>File\u003C\u002Fli>\n\u003Cli>WYSIWYG Editor\u003C\u002Fli>\n\u003Cli>oEmbed\u003C\u002Fli>\n\u003Cli>Select\u003C\u002Fli>\n\u003Cli>Checkbox\u003C\u002Fli>\n\u003Cli>Radio Button\u003C\u002Fli>\n\u003Cli>Button Group\u003C\u002Fli>\n\u003Cli>True\u002FFalse\u003C\u002Fli>\n\u003Cli>Link\u003C\u002Fli>\n\u003Cli>Post Object\u003C\u002Fli>\n\u003Cli>Page Link\u003C\u002Fli>\n\u003Cli>Relationship\u003C\u002Fli>\n\u003Cli>Taxonomy\u003C\u002Fli>\n\u003Cli>User\u003C\u002Fli>\n\u003Cli>Date Picker\u003C\u002Fli>\n\u003Cli>Date Time Picker\u003C\u002Fli>\n\u003Cli>Time Picker\u003C\u002Fli>\n\u003Cli>Color Picker\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>In addition to the wide variety of field types, you also have control over where your fields are sourced from. This makes it easy to connect content dynamically based on the template you’re editing.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Post (any post type)\u003C\u002Fstrong> – Load fields attached to the post you’re currently editing, whether it’s a post, page, or any custom post type.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Option\u003C\u002Fstrong> – Pull global option fields, perfect for site-wide settings like logos, contact info, or social links.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>User\u003C\u002Fstrong> – Display fields attached to a user profile. Available when editing author templates, making it easy to showcase author bios, avatars, or custom user data.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Taxonomy\u003C\u002Fstrong> – Load fields attached to taxonomy terms. Available when editing term archive templates, ideal for creating custom category, tag, or taxonomy layouts.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Full documentation and usage guides are available at:\u003Cbr \u002F>\n\u003Ca href=\"https:\u002F\u002Fwww.acffieldblocks.com\u002Fdocumentation\u002F?utm_source=wordpress.org&utm_medium=wp%20plugins%20repository\" rel=\"nofollow ugc\">https:\u002F\u002Fwww.acffieldblocks.com\u002Fdocumentation\u002F\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>PRO Version – Unlock Advanced Field Support\u003C\u002Fh3>\n\u003Cp>Upgrade to the PRO version to extend your layouts even further with advanced field types. PRO not only adds support for complex field types but also introduces more advanced output options, giving you full control over how your content is displayed.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Additional supported field types in PRO:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Repeater\u003C\u002Fstrong> – Easily transform your repeater fields into repeatable content sections inside the block editor. Each sub field can be accessed and styled individually, giving you full flexibility to match your layout needs. Display them as lists, grids, carousels, accordions, or tabs.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Gallery\u003C\u002Fstrong> – Display your gallery fields as an image grid, masonry layout, or interactive carousel. Fine-tune responsive layouts with options for different screen sizes, and choose whether images open in a lightbox or link to the full-size version for an engaging user experience.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Group\u003C\u002Fstrong> – Easily access and display sub fields inside group fields, no matter how deeply nested.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Flexible Content (coming soon)\u003C\u002Fstrong> – Take full advantage of flexible content fields by visually rendering layouts in the block editor. Each layout and its sub fields can be styled individually, making it easier than ever to build custom, dynamic page structures without touching code.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The PRO version doesn’t just add support for new field types, it also unlocks \u003Cstrong>powerful new display options\u003C\u002Fstrong> for fields already supported in the free plugin. These options let you loop through related content and build dynamic layouts directly in the block editor.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Post Object & Relationship\u003C\u002Fstrong> – Display these fields as dynamic post loops (List, Grid, or Carousel), similar to the Query Loop block, with the added ability to load custom fields within each post. Also supports Single Post display. Perfect for creating related posts sections or featured post displays.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Taxonomy\u003C\u002Fstrong> – Render taxonomy fields as term loops (List, Grid, or Carousel), with the ability to access and display custom fields attached to each term. Also supports Single Term display. Ideal for flexible category, tag, or custom taxonomy layouts.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>User\u003C\u002Fstrong> – Display user fields as user loops (List, Grid, or Carousel), complete with ability to show custom fields attached to each user. Also supports Single User display. Great for building user directories, contributor listings, or team layouts.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Block Visibility by ACF\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Blocks for ACF Fields PRO lets you control \u003Cstrong>when a block is displayed\u003C\u002Fstrong>, based on the value of an ACF or SCF field. This makes it easy to build smarter layouts without relying on custom PHP conditions or theme logic. Because visibility is handled at the block level, this works seamlessly across the block editor, site editor, templates, and patterns.\u003C\u002Fp>\n\u003Cp>From simple field displays to advanced, dynamic layouts, Blocks for ACF Fields gives you full control over how your content appears in the block editor. Start with the free version, and unlock even more powerful options with PRO when you’re ready to take your layouts further.\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwww.acffieldblocks.com\u002Fpro\u002F?utm_source=wordpress.org&utm_medium=wp%20plugins%20repository&utm_campaign=BlocksforACFFields%20Pro%20Upgrade\" rel=\"nofollow ugc\">Click here to learn more about PRO version\u003C\u002Fa>\u003C\u002Fp>\n","The easiest way to load ACF & SCF fields in WordPress blocks. Add your custom fields to the block editor instantly — no coding required!",1000,11509,98,"2026-03-09T10:11:00.000Z","6.9.4","6.5",[71,20,22,24,72],"acf","meta-field-block","https:\u002F\u002Fwww.acffieldblocks.com","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Facf-field-blocks.1.4.3.zip",{"slug":76,"name":77,"version":78,"author":79,"author_profile":80,"description":81,"short_description":82,"active_installs":83,"downloaded":84,"rating":66,"num_ratings":85,"last_updated":86,"tested_up_to":87,"requires_at_least":88,"requires_php":18,"tags":89,"homepage":93,"download_link":94,"security_score":27,"vuln_count":95,"unpatched_count":29,"last_vuln_date":96,"fetched_at":31},"smart-custom-fields","Smart Custom Fields","5.0.6","Takashi Kitajima","https:\u002F\u002Fprofiles.wordpress.org\u002Finc2734\u002F","\u003Cp>Smart Custom Fields is a simple plugin for managing custom fields.\u003C\u002Fp>\n\u003Ch4>Features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Field group loop support.\u003C\u002Fli>\n\u003Cli>Meta data revision support.\u003C\u002Fli>\n\u003Cli>Meta data preview support.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FWxPZurn0yvI?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\u003C\u002Fp>\n\u003Ch4>Field Types\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Text\u003C\u002Fli>\n\u003Cli>Textarea\u003C\u002Fli>\n\u003Cli>Radio\u003C\u002Fli>\n\u003Cli>Select\u003C\u002Fli>\n\u003Cli>Checkbox\u003C\u002Fli>\n\u003Cli>WYSIWYG editor\u003C\u002Fli>\n\u003Cli>Image\u003C\u002Fli>\n\u003Cli>File\u003C\u002Fli>\n\u003Cli>Related Posts\u003C\u002Fli>\n\u003Cli>Related Terms\u003C\u002Fli>\n\u003Cli>Color picker\u003C\u002Fli>\n\u003Cli>Date picker\u003C\u002Fli>\n\u003Cli>Datetime picker\u003C\u002Fli>\n\u003Cli>Boolean\u003C\u002Fli>\n\u003Cli>Message\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>How to get meta data ?\u003C\u002Fh4>\n\u003Cp>**The return value of each of the following methods is not sanitized. Please sanitize them if necessary. **\u003C\u002Fp>\n\u003Cp>https:\u002F\u002Fdeveloper.wordpress.org\u002Fapis\u002Fsecurity\u002Fescaping\u002F\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Post meta data\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This method can get any meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get( 'field-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get meta data of any group.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get( 'group-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get all meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::gets()\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>\u003Cstrong>User meta data\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This method can get any user meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_user_meta( $user_id, 'field-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get user meta data of any group.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_user_meta( $user_id, 'group-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get all user meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_user_meta( $user_id )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>\u003Cstrong>Term meta data\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This method can get any term meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_term_meta( $term_id, $taxonomy 'field-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get term meta data of any group.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_term_meta( $term_id, $taxonomy, 'group-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get all term meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_term_meta( $term_id, $taxonomy )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>\u003Cstrong>Custom options page meta data\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This method can get any custom options page meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_option_meta( $menu_slug, 'field-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get custom options page meta data of any group.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_option_meta( $menu_slug, 'group-name' )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This method can get all custom options page meta data.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>SCF::get_option_meta( $menu_slug )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Create custom options page\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>SCF::add_options_page( $page_title, $menu_title, $capability, $menu_slug, $icon_url = '', $position = null );\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Register custom fields by the code.\u003C\u002Fh4>\n\u003Cp>\u003Cstyle>.gist table { margin-bottom: 0; }\u003C\u002Fstyle>\n\u003Cdiv style=\"tab-size: 8\" id=\"gist19764654\" class=\"gist\">\n\u003Cdiv class=\"gist-file\" translate=\"no\" data-color-mode=\"light\" data-light-theme=\"light\">\n\u003Cdiv class=\"gist-data\">\n\u003Cdiv class=\"js-gist-file-update-container js-task-list-container\">\n\u003Cdiv id=\"file-gistfile1-php\" class=\"file my-2\">\n\u003Cdiv itemprop=\"text\"\n      class=\"Box-body p-0 blob-wrapper data type-php  \"\n      style=\"overflow: auto\" tabindex=\"0\" role=\"region\"\n      aria-label=\"gistfile1.php content, created by inc2734 on 04:18PM on February 25, 2015.\"\n    >\u003C\u002Fp>\n\u003Cdiv class=\"js-check-hidden-unicode js-blob-code-container blob-code-content\">\n\u003Cp>  \u003Ctemplate class=\"js-file-alert-template\">\u003C\u002Fp>\n\u003Cdiv data-view-component=\"true\" class=\"flash flash-warn flash-full d-flex flex-items-center\">\n  \u003Csvg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-alert\">\n    \u003Cpath d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\">\u003C\u002Fpath>\n\u003C\u002Fsvg>\u003Cbr \u002F>\n    \u003Cspan>\u003Cbr \u002F>\n      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\u003Cbr \u002F>\n      \u003Ca class=\"Link--inTextBlock\" href=\"https:\u002F\u002Fgithub.co\u002Fhiddenchars\" target=\"_blank\" rel=\"nofollow ugc\">Learn more about bidirectional Unicode characters\u003C\u002Fa>\u003Cbr \u002F>\n    \u003C\u002Fspan>\u003C\u002Fp>\n\u003Cdiv data-view-component=\"true\" class=\"flash-action\">        \u003Ca href=\"{{ revealButtonHref }}\" data-view-component=\"true\" class=\"btn-sm btn\" rel=\"nofollow ugc\">    Show hidden characters\u003Cbr \u002F>\n\u003C\u002Fa>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cp>\u003C\u002Ftemplate>\u003Cbr \u002F>\n\u003Ctemplate class=\"js-line-alert-template\">\u003Cbr \u002F>\n  \u003Cspan aria-label=\"This line has hidden Unicode characters\" data-view-component=\"true\" class=\"line-alert tooltipped tooltipped-e\">\u003Cbr \u002F>\n    \u003Csvg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-alert\">\n    \u003Cpath d=\"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\">\u003C\u002Fpath>\n\u003C\u002Fsvg>\u003Cbr \u002F>\n\u003C\u002Fspan>\u003C\u002Ftemplate>\u003C\u002Fp>\n\u003Ctable data-hpc class=\"highlight tab-size js-file-line-container\" data-tab-size=\"4\" data-paste-markdown-skip data-tagsearch-path=\"gistfile1.php\">\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L1\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"1\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC1\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-ent>\u003C?php\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L2\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"2\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC2\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c>\u002F**\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L3\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"3\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC3\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * カスタムフィールドを定義\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L4\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"4\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC4\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * \u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L5\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"5\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC5\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * @param array  $settings  Smart_Custom_Fields_Setting オブジェクトの配列\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L6\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"6\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC6\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * @param string $type      投稿タイプ or ロール\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L7\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"7\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC7\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * @param int    $id        投稿ID or ユーザーID\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L8\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"8\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC8\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * @param string $meta_type post | user\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L9\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"9\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC9\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> * @return array\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L10\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"10\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC10\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-c> *\u002F\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L11\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"11\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC11\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-k>function\u003C\u002Fspan> \u003Cspan class=pl-en>my_register_fields\u003C\u002Fspan>( \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>settings\u003C\u002Fspan>, \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>type\u003C\u002Fspan>, \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>id\u003C\u002Fspan>, \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>meta_type\u003C\u002Fspan> ) {\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L12\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"12\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC12\" class=\"blob-code blob-code-inner js-file-line\">\t\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L13\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"13\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC13\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-c>\u002F\u002F SCF::add_setting( 'ユニークなID', 'メタボックスのタイトル' );\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L14\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"14\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC14\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>Setting\u003C\u002Fspan> = \u003Cspan class=pl-c1>SCF\u003C\u002Fspan>::\u003Cspan class=pl-en>add_setting\u003C\u002Fspan>( \u003Cspan class=pl-s>'\u003Cspan class=pl-s>id-1\u003C\u002Fspan>'\u003C\u002Fspan>, \u003Cspan class=pl-s>'\u003Cspan class=pl-s>functions.php から追加 その1\u003C\u002Fspan>'\u003C\u002Fspan> );\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L15\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"15\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC15\" class=\"blob-code blob-code-inner js-file-line\">\t\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L16\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"16\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC16\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-c>\u002F\u002F $Setting->add_group( 'ユニークなID', 繰り返し可能か, カスタムフィールドの配列 );\u003C\u002Fspan>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L17\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"17\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC17\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>Setting\u003C\u002Fspan>->\u003Cspan class=pl-en>add_group\u003C\u002Fspan>( \u003Cspan class=pl-s>'\u003Cspan class=pl-s>group-name-1\u003C\u002Fspan>'\u003C\u002Fspan>, \u003Cspan class=pl-c1>false\u003C\u002Fspan>, \u003Cspan class=pl-en>array\u003C\u002Fspan>(\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L18\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"18\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC18\" class=\"blob-code blob-code-inner js-file-line\">\t\t\u003Cspan class=pl-en>array\u003C\u002Fspan>(\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L19\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"19\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC19\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>name\u003C\u002Fspan>'\u003C\u002Fspan>  => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>field-1\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L20\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"20\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC20\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>label\u003C\u002Fspan>'\u003C\u002Fspan> => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>テストフィールド\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L21\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"21\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC21\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>type\u003C\u002Fspan>'\u003C\u002Fspan>  => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>text\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L22\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"22\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC22\" class=\"blob-code blob-code-inner js-file-line\">\t\t),\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L23\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"23\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC23\" class=\"blob-code blob-code-inner js-file-line\">\t\t\u003Cspan class=pl-en>array\u003C\u002Fspan>(\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L24\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"24\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC24\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>name\u003C\u002Fspan>'\u003C\u002Fspan>    => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>field-2\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L25\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"25\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC25\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>label\u003C\u002Fspan>'\u003C\u002Fspan>   => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>テストフィール2\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L26\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"26\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC26\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>type\u003C\u002Fspan>'\u003C\u002Fspan>    => \u003Cspan class=pl-s>'\u003Cspan class=pl-s>text\u003C\u002Fspan>'\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L27\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"27\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC27\" class=\"blob-code blob-code-inner js-file-line\">\t\t\t\u003Cspan class=pl-s>'\u003Cspan class=pl-s>default\u003C\u002Fspan>'\u003C\u002Fspan> => \u003Cspan class=pl-c1>2\u003C\u002Fspan>,\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L28\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"28\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC28\" class=\"blob-code blob-code-inner js-file-line\">\t\t),\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L29\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"29\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC29\" class=\"blob-code blob-code-inner js-file-line\">\t) );\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L30\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"30\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC30\" class=\"blob-code blob-code-inner js-file-line\">\t\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L31\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"31\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC31\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>settings\u003C\u002Fspan>[] = \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>Setting\u003C\u002Fspan>;\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L32\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"32\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC32\" class=\"blob-code blob-code-inner js-file-line\">\t\u003Cspan class=pl-k>return\u003C\u002Fspan> \u003Cspan class=pl-s1>\u003Cspan class=pl-c1>$\u003C\u002Fspan>settings\u003C\u002Fspan>;\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L33\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"33\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC33\" class=\"blob-code blob-code-inner js-file-line\">}\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd id=\"file-gistfile1-php-L34\" class=\"blob-num js-line-number js-blob-rnum\" data-line-number=\"34\">\u003C\u002Ftd>\n\u003Ctd id=\"file-gistfile1-php-LC34\" class=\"blob-code blob-code-inner js-file-line\">\u003Cspan class=pl-en>add_filter\u003C\u002Fspan>( \u003Cspan class=pl-s>'\u003Cspan class=pl-s>smart-cf-register-fields\u003C\u002Fspan>'\u003C\u002Fspan>, \u003Cspan class=pl-s>'\u003Cspan class=pl-s>my_register_fields\u003C\u002Fspan>'\u003C\u002Fspan>, \u003Cspan class=pl-c1>10\u003C\u002Fspan>, \u003Cspan class=pl-c1>4\u003C\u002Fspan> );\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003C\u002Fp>\u003C\u002Fdiv>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Cdiv class=\"gist-meta\">\n        \u003Ca href=\"https:\u002F\u002Fgist.github.com\u002Finc2734\u002F9f6d65c7473d060d0fd6\u002Fraw\u002F10bdf9bf49f4b3a67ae89b8f7c6123f45438589a\u002Fgistfile1.php\" style=\"float:right\" class=\"Link--inTextBlock\" rel=\"nofollow ugc\">view raw\u003C\u002Fa>\u003Cbr \u002F>\n        \u003Ca href=\"https:\u002F\u002Fgist.github.com\u002Finc2734\u002F9f6d65c7473d060d0fd6#file-gistfile1-php\" class=\"Link--inTextBlock\" rel=\"nofollow ugc\">\u003Cbr \u002F>\n          gistfile1.php\u003Cbr \u002F>\n        \u003C\u002Fa>\u003Cbr \u002F>\n        hosted with ❤ by \u003Ca class=\"Link--inTextBlock\" href=\"https:\u002F\u002Fgithub.com\" rel=\"nofollow ugc\">GitHub\u003C\u002Fa>\n      \u003C\u002Fdiv>\n\u003C\u002Fp>\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch4>GitHub\u003C\u002Fh4>\n\u003Cp>https:\u002F\u002Fgithub.com\u002Finc2734\u002Fsmart-custom-fields\u002F\u003C\u002Fp>\n\u003Ch4>Translators\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Japanese(ja) – \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Ftai\u002F\" rel=\"nofollow ugc\">JOTAKI Taisuke\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>You can translate this plugin into your language by using \u003Ca href=\"https:\u002F\u002Ftranslate.wordpress.org\u002Fprojects\u002Fwp-plugins\u002Fsmart-custom-fields\" rel=\"nofollow ugc\">GlotPress\u003C\u002Fa>.\u003C\u002Fp>\n","Smart Custom Fields is a simple plugin for managing custom fields.",50000,334410,20,"2025-12-11T05:04:00.000Z","6.8.5","6.4",[90,23,91,92,24],"custom","field","meta","https:\u002F\u002Fgithub.com\u002Finc2734\u002Fsmart-custom-fields\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsmart-custom-fields.5.0.6.zip",2,"2025-01-06 00:00:00",{"slug":98,"name":99,"version":100,"author":101,"author_profile":102,"description":103,"short_description":104,"active_installs":105,"downloaded":106,"rating":13,"num_ratings":95,"last_updated":107,"tested_up_to":87,"requires_at_least":88,"requires_php":18,"tags":108,"homepage":113,"download_link":114,"security_score":13,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"vk-dynamic-if-block","VK Dynamic If Block","1.5.0","Vektor,Inc.","https:\u002F\u002Fprofiles.wordpress.org\u002Fvektor-inc\u002F","\u003Cp>VK Dynamic If Block is a custom WordPress block, primarily designed for FSE, that allows users to display Inner Block based on specified conditions. With this block, you can show or hide Inner Block depending on various conditions, such as whether the current page is the front page or a single post, the post type, or the value of a Custom Field.\u003C\u002Fp>\n","VK Dynamic If Block displays its Inner Blocks based on specified conditions, such as whether the current page is the front page or a single post, the  &hellip;",3000,22699,"2025-10-27T19:26:00.000Z",[109,110,23,111,112],"conditional-branch","conditional-display","dynamic-block","if","https:\u002F\u002Fgithub.com\u002Fvektor-inc\u002Fvk-dynamic-if-block","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fvk-dynamic-if-block.1.5.0.zip",{"slug":116,"name":117,"version":118,"author":119,"author_profile":120,"description":121,"short_description":122,"active_installs":64,"downloaded":123,"rating":66,"num_ratings":124,"last_updated":125,"tested_up_to":68,"requires_at_least":126,"requires_php":127,"tags":128,"homepage":133,"download_link":134,"security_score":13,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"custom-fields-gutenberg","Custom Fields for Gutenberg","2.4.5","Jeff Starr","https:\u002F\u002Fprofiles.wordpress.org\u002Fspecialk\u002F","\u003Cp>Restores the Custom Field meta box for the Gutenberg Block Editor.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Update:\u003C\u002Fstrong> This plugin currently is not needed, as WordPress version 5.0+ displays Custom Fields natively. Just click the settings button (three dots) and go to Options, where you will find the option to display the Custom Fields meta box. So this plugin still works great, but it is recommended to use native WP custom fields instead. For more information, read \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Ftopic\u002Fplease-read-7\u002F\" rel=\"ugc\">this post\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Features\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Easy to use\u003C\u002Fli>\n\u003Cli>Clean code\u003C\u002Fli>\n\u003Cli>Built with the WordPress API\u003C\u002Fli>\n\u003Cli>Lightweight, fast and flexible\u003C\u002Fli>\n\u003Cli>Works great with other WordPress plugins\u003C\u002Fli>\n\u003Cli>Plugin options configurable via settings screen\u003C\u002Fli>\n\u003Cli>Focused on flexibility, performance, and security\u003C\u002Fli>\n\u003Cli>One-click restore plugin default options\u003C\u002Fli>\n\u003Cli>Translation ready\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Options\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Specify the post types that should display custom fields\u003C\u002Fli>\n\u003Cli>Exclude custom fields that are protected\u002Fhidden\u003C\u002Fli>\n\u003Cli>Exclude custom fields with empty values\u003C\u002Fli>\n\u003Cli>Exclude specific custom fields by name\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Planned Features\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Ajaxify adding of new Custom Fields\u003C\u002Fli>\n\u003Cli>Ajax method to Delete custom fields\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Privacy\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.\u003C\u002Fp>\n\u003Cp>Custom Fields for Gutenberg is developed and maintained by \u003Ca href=\"https:\u002F\u002Fx.com\u002Fperishable\" rel=\"nofollow ugc\">Jeff Starr\u003C\u002Fa>, 15-year \u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002F\" rel=\"nofollow ugc\">WordPress developer\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fbooks.perishablepress.com\u002F\" rel=\"nofollow ugc\">book author\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Support development\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>I develop and maintain this free plugin with love for the WordPress community. To show support, you can \u003Ca href=\"https:\u002F\u002Fmonzillamedia.com\u002Fdonate.html\" rel=\"nofollow ugc\">make a donation\u003C\u002Fa> or purchase one of my books:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwp-tao.com\u002F\" rel=\"nofollow ugc\">The Tao of WordPress\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fdigwp.com\u002F\" rel=\"nofollow ugc\">Digging into WordPress\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fhtaccessbook.com\u002F\" rel=\"nofollow ugc\">.htaccess made easy\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwp-tao.com\u002Fwordpress-themes-book\u002F\" rel=\"nofollow ugc\">WordPress Themes In Depth\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fbooks.perishablepress.com\u002Fdownloads\u002Fwizards-collection-sql-recipes-wordpress\u002F\" rel=\"nofollow ugc\">Wizard’s SQL Recipes for WordPress\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>And\u002For purchase one of my premium WordPress plugins:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fbbq-pro\u002F\" rel=\"nofollow ugc\">BBQ Pro\u003C\u002Fa> – Blazing fast WordPress firewall\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fblackhole-pro\u002F\" rel=\"nofollow ugc\">Blackhole Pro\u003C\u002Fa> – Automatically block bad bots\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fbanhammer-pro\u002F\" rel=\"nofollow ugc\">Banhammer Pro\u003C\u002Fa> – Monitor traffic and ban the bad guys\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fga-google-analytics-pro\u002F\" rel=\"nofollow ugc\">GA Google Analytics Pro\u003C\u002Fa> – Connect WordPress to Google Analytics\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fhead-meta-pro\u002F\" rel=\"nofollow ugc\">Head Meta Pro\u003C\u002Fa> – Ultimate Meta Tags for WordPress\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fsimple-ajax-chat-pro\u002F\" rel=\"nofollow ugc\">Simple Ajax Chat Pro\u003C\u002Fa> – Unlimited chat rooms\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fplugin-planet.com\u002Fusp-pro\u002F\" rel=\"nofollow ugc\">USP Pro\u003C\u002Fa> – Unlimited front-end forms\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Links, tweets and likes also appreciated. Thanks! 🙂\u003C\u002Fp>\n","Restores the Custom Field meta box for the Gutenberg Block Editor.",56958,17,"2026-01-28T19:21:00.000Z","4.7","5.6.20",[129,130,131,132],"blocks","custom-fields","gutenberg","meta-box","https:\u002F\u002Fperishablepress.com\u002Fcustom-fields-gutenberg\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcustom-fields-gutenberg.2.4.5.zip",{"slug":136,"name":137,"version":138,"author":139,"author_profile":140,"description":141,"short_description":142,"active_installs":64,"downloaded":143,"rating":144,"num_ratings":145,"last_updated":146,"tested_up_to":68,"requires_at_least":147,"requires_php":18,"tags":148,"homepage":153,"download_link":154,"security_score":13,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"easy-post-types-fields","Easy Post Types and Fields","1.1.14","Barn2 Plugins","https:\u002F\u002Fprofiles.wordpress.org\u002Fbarn2media\u002F","\u003Cp>\u003Cem>Easy Post Types and Fields\u003C\u002Fem> makes it quick and easy to \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fblog\u002Fcustom-wordpress-post-types\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">add custom post types\u003C\u002Fa>, custom fields, and taxonomies to your WordPress website.\u003C\u002Fp>\n\u003Cp>\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FNOmnHxHpnU8?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\u003C\u002Fp>\n\u003Cp>There are lots of reasons why WordPress site owners need to add extra content types to the CMS:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>\u003Cstrong>Create dedicated areas for each type of content within the WordPress admin (these are called ‘custom post types’)\u003C\u002Fstrong>. For example, if you’re adding ‘Resources’ to your site then it’s best to create a ‘Resources’ custom post type and manage the resources separately from your pages and posts.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>Add extra fields (called ‘custom fields’) to your pages, posts, or any custom post type\u003C\u002Fstrong>. These are useful for storing and displaying information in a structured way. For example, you might add a ‘Modified Date’ field to your Resources post type.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>Create extra ways of categorizing and organizing your website content (these are called ‘custom taxonomies’)\u003C\u002Fstrong>. These are like categories and tags in WordPress, but the difference is that you can have as many as you like – for any post type. For example, you might create an ‘Industries’ taxonomy in order to group your Resources by industry.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Developed by leading UK-based plugin company \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">Barn2\u003C\u002Fa>, \u003Cem>Easy Post Types and Fields\u003C\u002Fem> is intentionally simpler and easier to use than other plugins. It has all the essential features that you need to create custom post types, custom fields, and custom taxonomies – without any unnecessary complexity.\u003C\u002Fp>\n\u003Ch4>How to add custom post types, fields, and taxonomies to WordPress\u003C\u002Fh4>\n\u003Cp>Simply create any type of content using a simple and intuitive wizard. You can create brand new custom post types, or add custom fields and taxonomies to existing post types. Either way, it’s incredibly straightforward.\u003C\u002Fp>\n\u003Cp>Once you have created your custom post types, fields, and taxonomies, it’s easy to add the extra information to the WordPress CMS. Each custom post type has its own section on the left of the WordPress admin. Your custom fields and taxonomies appear on the ‘Add\u002FEdit’ screen for each post.\u003C\u002Fp>\n\u003Cp>View the full \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fkb-categories\u002Feasy-post-types-fields-kb\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">plugin documentation\u003C\u002Fa> in our knowledge base.\u003C\u002Fp>\n\u003Ch4>Can I display the custom content on the front end of my website?\u003C\u002Fh4>\n\u003Cp>By default, your theme will display your custom post types using the same templates as the blog. This will list custom posts in the same way as blog posts, and won’t include your custom fields or taxonomies. This may not be the best way to present your custom content, so we recommend displaying it in a table using the \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fwordpress-plugins\u002Fposts-table-pro\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">Posts Table Pro\u003C\u002Fa> plugin.\u003C\u002Fp>\n\u003Cp>Posts Table Pro is a dynamic WordPress table plugin that lists any type of content from your website in a searchable table. As well as displaying any custom post type, you can choose which columns of information to show in the table – including your custom fields and custom taxonomies. See below for screenshots.\u003C\u002Fp>\n\u003Cp>Your users will view the information in a table on the front end of your site. They can use the search box, sortable columns, and filter dropdowns to find exactly what they’re looking for.\u003C\u002Fp>\n\u003Cp>This is how it displays the information from Easy Post Types and Fields:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Create a table listing any or all of the posts from your custom post type. For example, you can list all the custom posts, or list posts with a specific ID, custom field value, custom taxonomy term, published date, etc.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Display each custom field as a separate column in the table. Users can sort the table by custom field.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Display each custom taxonomy as a separate column in the table. Users can sort by taxonomy terms, and also click on a term to filter the table. In addition, you can add each taxonomy as a filter dropdown above the table. That way, users can instantly find custom posts by taxonomy.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>This free WordPress custom post type plugin includes:\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\n\u003Cp>Custom post types:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Create an unlimited number of custom post types. Each custom post type has its own section in the WordPress admin, so you can manage your custom content separately from other WordPress post types.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Extend existing post types.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Custom fields:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Add custom fields to any WordPress post type – either the post types that are built into WordPress itself (pages, posts, media attachments, etc.), content types created using Easy Post Types and Fields, or any other custom post type (e.g. post types created using other plugins such as \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fwordpress-plugins\u002Fdocument-library-pro\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">Document Library Pro\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fwordpress-plugins\u002Fwoocommerce-product-table\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">WooCommerce Product Table\u003C\u002Fa>.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>2 custom field types: Plain text or WYSIWYG (Visual Editor).\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Custom taxonomies:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Add custom taxonomies to any post type.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Choose between hierarchical taxonomies (similar to WordPress categories) or non-hierarchical taxonomies (similar to WordPress tags).\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Each taxonomy is unique to a specific post type, so you can manage the taxonomy terms separately from other categories and taxonomies.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>What doesn’t it include?\u003C\u002Fh4>\n\u003Cp>Easy Post Types and Fields includes the features that the majority of WordPress site owners use when they create custom post types, custom fields, and taxonomies. It intentionally does not include more advanced features that only a small proportion of users need, such as:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Additional custom field types such as date picker, checkbox, and color picker fields (remember, you can add dates, numbers, images, etc. to a Visual Editor custom field in Easy Post Types and Fields).\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Privacy options to restrict which user roles can see each field.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Relationship and repeater fields.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Advanced Content Types (ACTs) that get their own database tables.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>If you need these features then we recommend using a different custom post type plugin (e.g. Pods, Custom Post Type UI, or ACF). There are some excellent options available if you are happy with the added complexity.\u003C\u002Fp>\n\u003Ch4>Restrict access to custom post types and make them private\u003C\u002Fh4>\n\u003Cp>Some people want to control who can access some or all of their custom posts. You can do this by using Easy Post Types and Fields with our other plugin, \u003Ca href=\"https:\u002F\u002Fbarn2.com\u002Fwordpress-plugins\u002Fpassword-protected-categories\u002F?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=ecpt-wporg\" rel=\"nofollow ugc\">WordPress Password Protected Categories\u003C\u002Fa>. This adds privacy options to your hierarchical custom taxonomies.\u003C\u002Fp>\n\u003Cp>Simply restrict each one to specific logged-in users or user roles, or to anyone with the password. All the posts\u002Fcustom posts in that taxonomy will then be private and hidden from view.\u003C\u002Fp>\n","Easy Post Types and Fields makes it quick and easy to add custom post types, custom fields, and taxonomies to your WordPress website.",22614,54,3,"2025-12-04T11:12:00.000Z","6.1",[149,23,150,151,152],"custom-data","custom-post-type","custom-taxonomy","meta-fields","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Feasy-post-types-fields\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Feasy-post-types-fields.1.1.14.zip",{"attackSurface":156,"codeSignals":305,"taintFlows":317,"riskAssessment":318,"analyzedAt":327},{"hooks":157,"ajaxHandlers":289,"restRoutes":290,"shortcodes":303,"cronEvents":304,"entryPointCount":95,"unprotectedCount":29},[158,164,168,171,174,179,183,187,192,196,200,204,208,211,215,218,223,227,231,233,235,238,243,246,248,250,255,258,262,266,269,272,275,278,282,286],{"type":159,"name":160,"callback":161,"file":162,"line":163},"filter","show_deactivation_feedback_form","__return_false","freemius.php",63,{"type":159,"name":165,"callback":166,"file":162,"line":167},"hide_freemius_powered_by","__return_true",64,{"type":159,"name":169,"callback":161,"file":162,"line":170},"permission_diagnostic_default",66,{"type":159,"name":172,"callback":161,"file":162,"line":173},"permission_extensions_default",67,{"type":159,"name":175,"callback":176,"priority":177,"file":162,"line":178},"show_admin_notice","closure",10,69,{"type":159,"name":180,"callback":181,"priority":177,"file":162,"line":182},"connect_message_on_update","anonymous",114,{"type":184,"name":185,"callback":181,"file":162,"line":186},"action","after_uninstall",133,{"type":159,"name":188,"callback":189,"priority":177,"file":190,"line":191},"_meta_field_block_get_block_content_by_provider","get_block_content","includes\\acf-fields.php",27,{"type":159,"name":193,"callback":194,"file":190,"line":195},"acf\u002Fsettings\u002Frest_api_format","api_format",30,{"type":159,"name":197,"callback":198,"priority":177,"file":190,"line":199},"acf\u002Frest\u002Fformat_value_for_rest","format_value_for_rest",33,{"type":184,"name":201,"callback":202,"priority":177,"file":190,"line":203},"save_post","flush_acf_cache",36,{"type":184,"name":205,"callback":206,"file":207,"line":191},"rest_api_init","register_endpoint_for_dynamic_fields","includes\\dynamic-field.php",{"type":159,"name":209,"callback":210,"priority":177,"file":207,"line":195},"_meta_field_block_get_field_value","run_shortcode",{"type":159,"name":212,"callback":213,"file":214,"line":191},"meta_field_block_get_header_left_links","header_links","includes\\freemius-config.php",{"type":184,"name":216,"callback":217,"file":214,"line":199},"admin_enqueue_scripts","enqueue_data_on_the_setting_page",{"type":159,"name":219,"callback":220,"priority":177,"file":221,"line":222},"render_block_context","update_loop_context","includes\\loop-context.php",37,{"type":159,"name":224,"callback":225,"priority":177,"file":221,"line":226},"render_block","reset_loop_context",40,{"type":184,"name":228,"callback":229,"priority":195,"file":221,"line":230},"init","add_data_for_the_editor_script",43,{"type":159,"name":188,"callback":189,"priority":177,"file":232,"line":167},"includes\\mb-fields.php",{"type":184,"name":205,"callback":234,"file":232,"line":173},"register_rest_field",{"type":159,"name":236,"callback":198,"priority":177,"file":232,"line":237},"_mb_field_format_value_for_rest",70,{"type":159,"name":239,"callback":240,"priority":241,"file":242,"line":230},"meta_field_block_get_object_id","validate_object_id",5,"includes\\meta-visibility.php",{"type":184,"name":228,"callback":244,"file":245,"line":222},"load_public_object_types","includes\\rest-fields.php",{"type":184,"name":205,"callback":247,"file":245,"line":226},"expose_custom_rest_fields",{"type":159,"name":209,"callback":249,"priority":177,"file":245,"line":230},"get_core_post_meta_field_value",{"type":184,"name":251,"callback":252,"file":253,"line":254},"admin_menu","add_admin_page","includes\\settings.php",65,{"type":184,"name":216,"callback":256,"file":253,"line":257},"enqueue_settings_scripts",68,{"type":184,"name":259,"callback":260,"file":253,"line":261},"meta_field_block_activate","run_the_plugin_setup",71,{"type":184,"name":263,"callback":264,"file":253,"line":265},"admin_init","meta_field_block_activation_redirect",74,{"type":184,"name":228,"callback":267,"file":253,"line":268},"register_setting_fields",80,{"type":184,"name":205,"callback":270,"file":253,"line":271},"register_docs_endpoint",83,{"type":184,"name":273,"callback":273,"file":253,"line":274},"in_admin_header",86,{"type":184,"name":276,"callback":276,"file":253,"line":277},"admin_footer_text",89,{"type":184,"name":228,"callback":279,"file":280,"line":281},"register_block","meta-field-block.php",149,{"type":184,"name":283,"callback":284,"priority":28,"file":280,"line":285},"plugins_loaded","version_upgrade",151,{"type":184,"name":201,"callback":287,"priority":177,"file":280,"line":288},"flush_cache",153,[],[291,298],{"namespace":292,"route":293,"methods":294,"callback":296,"permissionCallback":176,"file":207,"line":297},"mfb\u002Fv1","\u002FgetDynamicField\u002F",[295],"GET","get_dynamic_field",39,{"namespace":292,"route":299,"methods":300,"callback":301,"permissionCallback":176,"file":253,"line":302},"\u002FgetDocs\u002F",[295],"get_docs",282,[],[],{"dangerousFunctions":306,"sqlUsage":307,"outputEscaping":309,"fileOperations":29,"externalRequests":29,"nonceChecks":29,"capabilityChecks":241,"bundledLibraries":312},[],{"prepared":29,"raw":29,"locations":308},[],{"escaped":310,"rawEcho":29,"locations":311},21,[],[313],{"name":314,"version":315,"knownCves":316},"Freemius","1.0",[],[],{"summary":319,"deductions":320},"The plugin 'display-a-meta-field-as-block' v1.5.2 demonstrates a generally strong security posture. Static analysis reveals no dangerous functions, all SQL queries use prepared statements, and all output is properly escaped. File operations and external HTTP requests are absent, contributing to a reduced attack surface. The presence of capability checks further enhances its security by restricting access to certain functionalities. The limited attack surface, consisting of only two REST API routes with permission callbacks, suggests good security practices in handling entry points.\n\nHowever, there are areas that warrant attention. The absence of nonce checks on the entry points (AJAX and REST API) is a significant concern, as it could potentially allow for Cross-Site Request Forgery (CSRF) attacks if these endpoints are exploitable. While no critical or high severity taint flows were found, the lack of taint analysis coverage means that potential vulnerabilities might not have been detected. The plugin's vulnerability history shows one past CVE, which was for Cross-site Scripting (XSS), and this vulnerability is currently patched. The existence of a past XSS vulnerability, even if resolved, highlights a potential recurring weakness that needs continuous monitoring.\n\nIn conclusion, the plugin has implemented several key security best practices, particularly in data handling and output sanitization. Its attack surface is well-defined and largely protected by permission callbacks. The primary weakness lies in the missing nonce checks for its entry points, which could open the door to CSRF attacks. The past XSS vulnerability also suggests a need for vigilance. Despite these concerns, the plugin's current version appears to be in a relatively secure state, provided the past CVE has been adequately addressed.",[321,323,325],{"reason":322,"points":177},"Missing nonce checks on entry points",{"reason":324,"points":145},"Bundled outdated Freemius library",{"reason":326,"points":241},"Past CVE (XSS) history","2026-03-16T17:49:36.098Z",{"wat":329,"direct":357},{"assetPaths":330,"generatorPatterns":342,"scriptPaths":343,"versionParams":345},[331,332,333,334,335,336,337,338,339,340,341],"\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Facf-fields.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fcore-component.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fdynamic-field.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Ffreemius-config.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fhelper-functions.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Floop-context.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fmeta-visibility.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fmb-fields.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Frest-fields.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fincludes\u002Fsettings.php","\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Ffreemius.php",[],[344],"\u002Fwp-content\u002Fplugins\u002Fdisplay-a-meta-field-as-block\u002Fbuild",[346,347,348,349,350,351,352,353,354,355,356],"display-a-meta-field-as-block\u002Fincludes\u002Facf-fields.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fcore-component.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fdynamic-field.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Ffreemius-config.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fhelper-functions.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Floop-context.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fmeta-visibility.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fmb-fields.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Frest-fields.php?ver=","display-a-meta-field-as-block\u002Fincludes\u002Fsettings.php?ver=","display-a-meta-field-as-block\u002Ffreemius.php?ver=",{"cssClasses":358,"htmlComments":360,"htmlAttributes":361,"restEndpoints":366,"jsGlobals":368,"shortcodeOutput":373},[359],"wp-block-mbf-meta-field-block",[],[362,363,364,365],"data-field-name","data-field-type","data-object-type","data-object-id",[367],"\u002Fwp-json\u002Fmfb\u002Fv1\u002Ffields",[369,370,371,372],"wp.blocks.registerBlockType","wp.element.createElement","MetaFieldBlock","MFB",[]]