{"id":9053,"date":"2011-12-28T18:53:24","date_gmt":"2011-12-28T18:53:24","guid":{"rendered":"http:\/\/wpml.org\/?p=9053"},"modified":"2011-12-28T18:53:24","modified_gmt":"2011-12-28T18:53:24","slug":"say-hello-to-custom-fields-shortcodes","status":"publish","type":"post","link":"https:\/\/wpml.org\/zh-hans\/announcements\/2011\/12\/say-hello-to-custom-fields-shortcodes\/","title":{"rendered":"Say Hello to Custom Fields Shortcodes"},"content":{"rendered":"<p><strong>We got a lot of requests to allow Views to work properly with any custom fields, regardless of which plugin they were created with (or no plugin at all). Well, please welcome <a href=\"http:\/\/wordpress.org\/extend\/plugins\/custom-fields-shortcodes\/\">Custom Fields Shortcodes<\/a>.<\/strong><\/p>\n<figure id=\"attachment_9056\" aria-describedby=\"caption-attachment-9056\" style=\"width: 150px\" class=\"wp-caption alignright\"><a href=\"http:\/\/wpml.org\/wp-content\/uploads\/2011\/12\/insert-custom-field.png\"><img decoding=\"async\" class=\"size-thumbnail wp-image-9056\" title=\"\" src=\"http:\/\/wpml.org\/wp-content\/uploads\/2011\/12\/insert-custom-field-150x115.png\" alt=\"\" width=\"150\" height=\"115\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2011\/12\/insert-custom-field-150x115.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2011\/12\/insert-custom-field-300x230.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2011\/12\/insert-custom-field.png 492w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><figcaption id=\"caption-attachment-9056\" class=\"wp-caption-text\">Custom Fields Shortcode popup<\/figcaption><\/figure>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/custom-fields-shortcodes\/\">Custom Fields Shortcodes<\/a> lets you insert shortcodes for any custom field, regardless of how it was created. With this, you can easily add custom fields to post content without any coding.<\/p>\n<p>But the real power is revealed when you use it in conjunction with <a href=\"https:\/\/toolset.com\/home\/views-create-elegant-displays-for-your-content\/\">Views<\/a>. Then, you can design entire sites, create complex layouts and display any content, without writing a single line of code.<\/p>\n<p>To top this off, <a href=\"http:\/\/wordpress.org\/extend\/plugins\/custom-fields-shortcodes\/\">Custom Fields Shortcodes<\/a> uses the field output API that other custom field plugins create. When this API exists (like for the <em>Advanced Custom Fields<\/em> plugin), fields output will go through it. Instead of just dumping the custom field value to the output, you&#8217;ll get the complex output that the plugin developer intended.<\/p>\n<p>Custom Fields Shortcodes is free. You can <strong>get it<\/strong>, <strong>rate it<\/strong> and <strong>vote for it<\/strong> in the WP plugins repository:<\/p>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/custom-fields-shortcodes\/\">http:\/\/wordpress.org\/extend\/plugins\/custom-fields-shortcodes\/<\/a><\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We got a lot of requests to allow Views to work properl [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-9053","post","type-post","status-publish","format-standard","hentry","category-announcements"],"spectra_custom_meta":{"_edit_last":["2"],"_edit_lock":["1325098407:2"],"_icl_translator_note":[""],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_alp_processed":["1408524424"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["0"],"_wpml_word_count":["190"],"_uag_css_file_name":["uag-css-9053.css"],"_uag_page_assets":["a:9:{s:3:\"css\";s:260:\".uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media(max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media(max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}}\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:1:{i:0;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:0;s:11:\"uag_version\";s:10:\"1778160889\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/zh-hans\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"We got a lot of requests to allow Views to work properl...","_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/9053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/comments?post=9053"}],"version-history":[{"count":5,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/9053\/revisions"}],"predecessor-version":[{"id":9059,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/9053\/revisions\/9059"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=9053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/categories?post=9053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/tags?post=9053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}