[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fQV_NqeaKoAVtXBeMYrYzsq9ttzqJ0k2KFTJgFy55XIA":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":64,"crawl_stats":38,"alternatives":72,"analysis":172,"fingerprints":325},"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,98,20,"2025-12-11T05:04:00.000Z","6.8.5","6.4","7.4",[20,21,22,23,24],"custom","custom-field","field","meta","meta-field","https:\u002F\u002Fgithub.com\u002Finc2734\u002Fsmart-custom-fields\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsmart-custom-fields.5.0.6.zip",99,2,0,"2025-01-06 00:00:00","2026-03-15T15:16:48.613Z",[33,49],{"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-2025-22308","smart-custom-fields-authenticated-contributor-stored-cross-site-scripting","Smart Custom Fields \u003C= 5.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting","The Smart Custom Fields plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 5.0.0 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=5.0.0","5.0.1","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')","2025-05-30 18:10:42",[47],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002F165406fe-c6a5-4d2b-aad9-a860957a446e?source=api-prod",145,{"id":50,"url_slug":51,"title":52,"description":53,"plugin_slug":4,"theme_slug":38,"affected_versions":54,"patched_in_version":55,"severity":41,"cvss_score":56,"cvss_vector":57,"vuln_type":58,"published_date":59,"updated_date":60,"references":61,"days_to_patch":63},"CVE-2024-1995","smart-custom-fields-missing-authorization-to-authenticated-subscriber-post-content-disclosure","Smart Custom Fields \u003C= 4.2.2 - Missing Authorization to Authenticated (Subscriber+) Post Content Disclosure","The Smart Custom Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relational_posts_search() function in all versions up to, and including, 4.2.2. This makes it possible for authenticated attackers, with subscrber-level access and above, to retrieve post content that is password protected and\u002For private.","\u003C=4.2.2","5.0.0",4.3,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:L\u002FUI:N\u002FS:U\u002FC:L\u002FI:N\u002FA:N","Missing Authorization","2024-03-19 00:00:00","2024-03-20 01:58:05",[62],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002Fe966a266-4265-4a72-8a50-e872805219a7?source=api-prod",1,{"slug":65,"display_name":7,"profile_url":8,"plugin_count":66,"total_installs":67,"avg_security_score":68,"avg_patch_time_days":69,"trust_score":70,"computed_at":71},"inc2734",11,330630,89,122,71,"2026-04-04T07:27:55.559Z",[73,95,117,136,156],{"slug":74,"name":75,"version":76,"author":77,"author_profile":78,"description":79,"short_description":80,"active_installs":81,"downloaded":82,"rating":83,"num_ratings":84,"last_updated":85,"tested_up_to":86,"requires_at_least":87,"requires_php":18,"tags":88,"homepage":92,"download_link":93,"security_score":27,"vuln_count":63,"unpatched_count":29,"last_vuln_date":94,"fetched_at":31},"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",[89,90,91,21,24],"acf-block","acf-field","block","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","2024-08-16 00:00:00",{"slug":96,"name":97,"version":98,"author":99,"author_profile":100,"description":101,"short_description":102,"active_installs":103,"downloaded":104,"rating":105,"num_ratings":106,"last_updated":107,"tested_up_to":108,"requires_at_least":109,"requires_php":18,"tags":110,"homepage":115,"download_link":116,"security_score":83,"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.",1000,22614,54,3,"2025-12-04T11:12:00.000Z","6.9.4","6.1",[111,21,112,113,114],"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",{"slug":118,"name":119,"version":120,"author":121,"author_profile":122,"description":123,"short_description":124,"active_installs":125,"downloaded":126,"rating":83,"num_ratings":28,"last_updated":127,"tested_up_to":108,"requires_at_least":128,"requires_php":129,"tags":130,"homepage":134,"download_link":135,"security_score":83,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"add-custom-fields-to-media","Add Custom Fields to Media","2.0.4","George Pattichis","https:\u002F\u002Fprofiles.wordpress.org\u002Fpattihis\u002F","\u003Cp>Allows users to add custom fields to the media uploader and access those fields in posts or template files. Great for adding copyrights, image meta etc.\u003C\u002Fp>\n\u003Cp>To display the custom fields in your theme, use the following shortcode in post\u002Fpages:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>[acfm id=\"123\" field=\"my_custom_field\"]\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Where \u003Ccode>id\u003C\u002Fcode> is the ID of the media item and \u003Ccode>field\u003C\u002Fcode> is the name of the custom field.\u003C\u002Fp>\n\u003Cp>For PHP templates, use the following code:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>echo get_post_meta( 123, 'my_custom_field', true );\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>To use this plugin effectively, download and intall it on your WordPress blog. Next, access “Media Custom Fields” page in your admin Settings and create a new custom field for your media uploads.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Unique ID – The unique variable name for this item. It may not contain special characaters or spaces\u003C\u002Fli>\n\u003Cli>Field Title – The name you want to appear in the media uploader\u003C\u002Fli>\n\u003Cli>Field Help – A descriptive message you want to appear in the media uploader\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Once you’ve added a custom field, you can access it via the Media Library or during the Add Media process of uploading a new item.\u003C\u002Fp>\n\u003Cp>This plugin was originally developed by \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fchristopherross\u002F\" rel=\"nofollow ugc\">Christopher Ross\u003C\u002Fa>. The plugin has been adopted and refactored by \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fpattihis\u002F\" rel=\"nofollow ugc\">George Pattichis\u003C\u002Fa> who will continue development and maintenance.\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fadd-custom-fields-to-media\u002Fchangelog\u002F\" rel=\"ugc\">Changelog\u003C\u002Fa>\u003C\u002Fp>\n","Add custom fields to media uploader and access them in template files. Great for copyrights, image meta etc.",80,6905,"2026-03-13T00:24:00.000Z","5.2","7.2",[131,132,114,133],"custom-fields","media","upload","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fadd-custom-fields-to-media\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fadd-custom-fields-to-media.2.0.4.zip",{"slug":137,"name":138,"version":139,"author":140,"author_profile":141,"description":142,"short_description":143,"active_installs":144,"downloaded":145,"rating":83,"num_ratings":63,"last_updated":146,"tested_up_to":55,"requires_at_least":147,"requires_php":148,"tags":149,"homepage":153,"download_link":154,"security_score":155,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"custom-field-builder","Custom Field Builder – WordPress custom fields plugin","1.2.4","kirillbdev","https:\u002F\u002Fprofiles.wordpress.org\u002Fkirillbdev\u002F","\u003Cp>\u003Cstrong>Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch4>Features\u003C\u002Fh4>\n\u003Cp>• Many free custom fields (regular updating and adding new fields).\u003Cbr \u002F>\n• Easy to install and very easy to use.\u003Cbr \u002F>\n• Pure and clean code (increase your admin performance).\u003C\u002Fp>\n\u003Ch4>Links\u003C\u002Fh4>\n\u003Cp>• \u003Ca href=\"http:\u002F\u002Fcfbuilder.kirillbdev.pro\" rel=\"nofollow ugc\">Documentation\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch4>Available fields\u003C\u002Fh4>\n\u003Cp>• Textbox\u003Cbr \u002F>\n• Textarea\u003Cbr \u002F>\n• Select\u003Cbr \u002F>\n• Media (image, attachments)\u003Cbr \u002F>\n• Logic (checkbox may only “true” or “false”)\u003Cbr \u002F>\n• Color picker\u003Cbr \u002F>\n• Repeater\u003Cbr \u002F>\n• Checkbox group\u003Cbr \u002F>\n• Date picker\u003Cbr \u002F>\n• Post relationship\u003C\u002Fp>\n\u003Ch3>Usage\u003C\u002Fh3>\n\u003Cp>Watch this short video tutorial\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\u002FAEeothh5apo?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>Add the following code to your functions.php (or in any convenient file).\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003C?php\n    add_action('cf_builder_init', function ($cfBuilder) {\n        $cfBuilder->registerTemplate([\n            'id'          => 'custom_fields',\n            'title'       => 'Custom Field Builder example',\n            'post_type'   => 'post',\n            'position'    => 'normal',\n            'priority'    => 'high',\n            'fields'      => [\n\n                'author_name' => [\n                    'type'    => 'textbox',\n                    'title'   => 'Author name'\n                ],\n\n                'author_bio' => [\n                    'type'    => 'textarea',\n                    'title'   => 'Author bio'\n                ]\n\n            ]\n        ]);\n    });\n?>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>You also can include your custom template in php file. For example:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003C?php\n    add_action('cf_builder_init', function ($cfBuilder) {\n        $cfBuilder->registerTemplate('path_to_your_template_file.php');\n    });\n?>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>** See all fields example in examples\u002Fbase-fields-template.php in plugin directory! **\u003C\u002Fp>\n","Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.",10,1252,"2019-03-05T14:59:00.000Z","4.6","5.4",[150,137,131,151,152],"cfb","custom-meta","custom-meta-fields","http:\u002F\u002Fcfbuilder.kirillbdev.pro","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcustom-field-builder.zip",85,{"slug":157,"name":158,"version":159,"author":160,"author_profile":161,"description":162,"short_description":158,"active_installs":144,"downloaded":163,"rating":29,"num_ratings":29,"last_updated":164,"tested_up_to":165,"requires_at_least":147,"requires_php":86,"tags":166,"homepage":169,"download_link":170,"security_score":171,"vuln_count":29,"unpatched_count":29,"last_vuln_date":38,"fetched_at":31},"custom-meta-field","Custom Meta Field","1.0.1","Megha Shah","https:\u002F\u002Fprofiles.wordpress.org\u002Frathimegha\u002F","\u003Cp>The Custom Meta Field Plugin enables you to effortlessly add and manage custom meta fields for posts, pages, and custom post types in WordPress. Enhance your content management capabilities by incorporating additional metadata with a user-friendly interface.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Features:\u003C\u002Fstrong>\u003Cbr \u002F>\n* Create custom meta fields for posts, pages, and custom post types.\u003Cbr \u002F>\n* Supports various field types including text, textarea, and images.\u003Cbr \u002F>\n* Easily integrates with the WordPress admin interface.\u003Cbr \u002F>\n* Flexible options for displaying meta fields both in the admin area and on the frontend.\u003Cbr \u002F>\n* Developer-friendly with hooks and filters for advanced customization.\u003C\u002Fp>\n\u003Cp>Manage your custom meta fields by navigating to the ‘Settings > Custom Meta Fields’ menu in the WordPress admin area.\u003C\u002Fp>\n\u003Ch3>Credits\u003C\u002Fh3>\n\u003Cp>Developed by Megha Shah\u003C\u002Fp>\n\u003Ch3>License\u003C\u002Fh3>\n\u003Cp>This plugin is licensed under the GPLv2 or later.\u003C\u002Fp>\n",560,"2025-02-02T16:44:00.000Z","6.7.5",[21,157,167,168],"meta-box","repeater","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcustom-meta-field","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcustom-meta-field.1.0.1.zip",92,{"attackSurface":173,"codeSignals":297,"taintFlows":315,"riskAssessment":316,"analyzedAt":324},{"hooks":174,"ajaxHandlers":285,"restRoutes":294,"shortcodes":295,"cronEvents":296,"entryPointCount":28,"unprotectedCount":29},[175,181,184,188,191,195,197,200,203,205,209,211,213,216,219,224,226,227,229,230,233,236,239,241,246,249,252,255,258,261,264,267,271,275,278,281,282],{"type":176,"name":177,"callback":178,"file":179,"line":180},"action","rest_api_init","register_rest_api_routes","classes\\class.rest-api.php",24,{"type":176,"name":182,"callback":182,"file":183,"line":180},"admin_enqueue_scripts","classes\\controller\\class.controller-base.php",{"type":176,"name":185,"callback":185,"priority":144,"file":186,"line":187},"add_meta_boxes","classes\\controller\\class.editor.php",18,{"type":176,"name":189,"callback":189,"file":186,"line":190},"save_post",19,{"type":176,"name":192,"callback":193,"file":194,"line":187},"show_user_profile","user_profile","classes\\controller\\class.profile.php",{"type":176,"name":196,"callback":193,"file":194,"line":190},"edit_user_profile",{"type":176,"name":198,"callback":199,"file":194,"line":14},"personal_options_update","update",{"type":176,"name":201,"callback":199,"file":194,"line":202},"edit_user_profile_update",21,{"type":176,"name":182,"callback":182,"file":204,"line":180},"classes\\controller\\class.settings.php",{"type":176,"name":206,"callback":207,"file":204,"line":208},"admin_head","admin_inline_css",25,{"type":176,"name":189,"callback":189,"file":204,"line":210},26,{"type":176,"name":185,"callback":185,"file":204,"line":212},27,{"type":176,"name":214,"callback":199,"priority":144,"file":215,"line":208},"edited_terms","classes\\controller\\class.taxonomy.php",{"type":176,"name":217,"callback":218,"priority":144,"file":215,"line":210},"delete_term","delete",{"type":220,"name":221,"callback":222,"priority":144,"file":223,"line":190},"filter","smart-cf-validate-get-value","validate_get_value","classes\\fields\\class.field-boolean.php",{"type":176,"name":182,"callback":182,"file":225,"line":190},"classes\\fields\\class.field-related-posts.php",{"type":220,"name":221,"callback":222,"priority":144,"file":225,"line":202},{"type":176,"name":182,"callback":182,"file":228,"line":190},"classes\\fields\\class.field-related-terms.php",{"type":220,"name":221,"callback":222,"priority":144,"file":228,"line":202},{"type":220,"name":221,"callback":222,"priority":144,"file":231,"line":232},"classes\\fields\\class.field-wysiwyg.php",23,{"type":176,"name":234,"callback":234,"file":231,"line":235},"after_wp_tiny_mce",48,{"type":176,"name":237,"callback":237,"file":231,"line":238},"admin_footer",68,{"type":176,"name":217,"callback":217,"priority":144,"file":240,"line":187},"classes\\models\\class.ajax.php",{"type":176,"name":242,"callback":243,"file":244,"line":245},"admin_menu","add_options_page_menu","classes\\models\\class.options-page.php",74,{"type":220,"name":247,"callback":247,"priority":144,"file":248,"line":232},"wp_save_post_revision_check_for_changes","classes\\models\\class.revisions.php",{"type":220,"name":250,"callback":250,"file":248,"line":251},"_wp_post_revision_fields",29,{"type":220,"name":253,"callback":253,"priority":144,"file":248,"line":254},"get_post_metadata",30,{"type":176,"name":256,"callback":256,"file":248,"line":257},"edit_form_after_title",31,{"type":176,"name":259,"callback":259,"priority":144,"file":248,"line":260},"wp_restore_post_revision",32,{"type":176,"name":262,"callback":262,"file":248,"line":263},"wp_insert_post",33,{"type":176,"name":182,"callback":182,"file":265,"line":266},"classes\\models\\class.yoast-seo-analysis.php",17,{"type":176,"name":268,"callback":268,"file":269,"line":270},"plugins_loaded","smart-custom-fields.php",44,{"type":176,"name":272,"callback":273,"file":269,"line":274},"init","_init",65,{"type":176,"name":272,"callback":276,"file":269,"line":277},"register_post_type",66,{"type":176,"name":272,"callback":279,"file":269,"line":280},"ajax_request",67,{"type":176,"name":242,"callback":242,"file":269,"line":238},{"type":176,"name":283,"callback":283,"file":269,"line":284},"current_screen",69,[286,291],{"action":287,"nopriv":288,"callback":289,"hasNonce":290,"hasCapCheck":290,"file":225,"line":14},"smart-cf-relational-posts-search",false,"relational_posts_search",true,{"action":292,"nopriv":288,"callback":293,"hasNonce":290,"hasCapCheck":290,"file":228,"line":14},"smart-cf-relational-terms-search","relational_terms_search",[],[],[],{"dangerousFunctions":298,"sqlUsage":299,"outputEscaping":302,"fileOperations":29,"externalRequests":29,"nonceChecks":309,"capabilityChecks":310,"bundledLibraries":311},[],{"prepared":300,"raw":29,"locations":301},4,[],{"escaped":303,"rawEcho":28,"locations":304},424,[305,307],{"file":225,"line":48,"context":306},"raw output",{"file":228,"line":308,"context":306},134,5,7,[312],{"name":313,"version":38,"knownCves":314},"jQuery",[],[],{"summary":317,"deductions":318},"The 'smart-custom-fields' plugin v5.0.6 exhibits a generally strong security posture based on the static analysis.  The code demonstrates excellent adherence to secure coding practices, with all SQL queries using prepared statements, all output properly escaped, and no file operations or external HTTP requests detected.  The presence of numerous nonce and capability checks further indicates a focus on authorization and preventing unauthorized actions.  The attack surface, while present with two AJAX handlers, is reported as fully protected, which is a significant positive. Taint analysis revealing no unsanitized paths is also a very good sign, suggesting the plugin is resilient against common injection vulnerabilities.\n\nHowever, the plugin's vulnerability history presents a notable concern.  Two medium-severity CVEs have been recorded, one of which was identified relatively recently. While currently unpatched CVEs are zero, the existence of past vulnerabilities, particularly those related to Cross-site Scripting and Missing Authorization, suggests a pattern of weaknesses that have required remediation. This history, even with recent fixes, warrants a cautious approach.  The overall conclusion is that while the current version's static analysis is robust, the historical precedent of vulnerabilities necessitates ongoing vigilance and prompt application of any future security updates to mitigate the risk of recurring issues.",[319,322],{"reason":320,"points":321},"Past medium severity CVEs",15,{"reason":323,"points":144},"History of XSS and Missing Authorization","2026-03-16T17:17:20.353Z",{"wat":326,"direct":349},{"assetPaths":327,"generatorPatterns":337,"scriptPaths":338,"versionParams":339},[328,329,330,331,332,333,334,335,336],"\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fcss\u002Fstyles.css","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fscript.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fbootstrap.min.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fsortable.min.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fvue.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fvue-resource.min.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Ffield-editor.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fadmin-menu.js","\u002Fwp-content\u002Fplugins\u002Fsmart-custom-fields\u002Fjs\u002Fsetting-page.js",[],[329,330,331,332,333,334,335,336],[340,341,342,343,344,345,346,347,348],"smart-custom-fields\u002Fcss\u002Fstyles.css?ver=","smart-custom-fields\u002Fjs\u002Fscript.js?ver=","smart-custom-fields\u002Fjs\u002Fbootstrap.min.js?ver=","smart-custom-fields\u002Fjs\u002Fsortable.min.js?ver=","smart-custom-fields\u002Fjs\u002Fvue.js?ver=","smart-custom-fields\u002Fjs\u002Fvue-resource.min.js?ver=","smart-custom-fields\u002Fjs\u002Ffield-editor.js?ver=","smart-custom-fields\u002Fjs\u002Fadmin-menu.js?ver=","smart-custom-fields\u002Fjs\u002Fsetting-page.js?ver=",{"cssClasses":350,"htmlComments":370,"htmlAttributes":373,"restEndpoints":378,"jsGlobals":380,"shortcodeOutput":385},[351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369],"s-cf-editor-wrapper","s-cf-field-editor","s-cf-fields-group","s-cf-fields-group-header","s-cf-fields-group-body","s-cf-field","s-cf-field-label","s-cf-field-content","s-cf-field-setting","s-cf-field-setting-label","s-cf-field-setting-content","s-cf-setting-page","s-cf-setting-page-header","s-cf-setting-page-body","s-cf-setting-page-menu","s-cf-setting-page-menu-item","s-cf-setting-page-content","s-cf-setting-page-content-header","s-cf-setting-page-content-body",[371,372],"\u003C!-- END Smart Custom Fields -->","\u003C!-- BEGIN Smart Custom Fields -->",[374,375,376,377],"data-field-id","data-field-type","data-group-id","data-scf-id",[379],"\u002Fwp-json\u002Fsmart-custom-fields\u002Fv1",[381,382,383,384],"SmartCustomFields","SCF_Config","Vue","VueResource",[]]