{"id":10815,"date":"2021-10-15T13:01:53","date_gmt":"2021-10-15T13:01:53","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=10815"},"modified":"2024-03-29T01:00:00","modified_gmt":"2024-03-29T01:00:00","slug":"wordpress-custom-fields","status":"publish","type":"post","link":"\/my\/tutorials\/wordpress-custom-fields","title":{"rendered":"WordPress Custom Fields: What They Are and Ways to Add Them to Posts and Pages"},"content":{"rendered":"<p>As one of the most popular content management systems (CMS), WordPress is widely known for its various functions and customization options.<\/p><p>One such option is expanding metadata, which refers to key information of a page or post, including author names, titles, and descriptions.<\/p><p>Users can include additional metadata by enabling custom fields in WordPress, extending the functionality of specific posts or pages. For instance, collecting the author&rsquo;s email, putting a disclaimer on a sponsored post, or attaching extra details to a product.<\/p><p>Similar to most WordPress features, you can add custom fields to your posts and pages manually or using a dedicated plugin.<\/p><p>In this article, we&rsquo;ll explain what custom fields are and how to add them to your WordPress content using both methods.<\/p><p>\n\n\n\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-are-wordpress-custom-fields\">What Are WordPress Custom Fields<\/h2><p>Each page and <a href=\"\/my\/tutorials\/how-to-add-a-new-post-in-wordpress\">post you create in WordPress<\/a> carries its own metadata. The WordPress&rsquo; default metadata includes the author&rsquo;s name, date, and time. For example, on the post below, you can see the metadata displayed above the post title. <\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/how-to-make-a-website-cover-screenshot.png\"><img decoding=\"async\" width=\"570\" height=\"375\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/how-to-make-a-website-cover-screenshot.png\" alt=\"How to Make a Website article on Hostinger Tutorials\" class=\"wp-image-37916\" style=\"width:570px;height:375px\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/how-to-make-a-website-cover-screenshot.png 570w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/how-to-make-a-website-cover-screenshot-300x197.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/how-to-make-a-website-cover-screenshot-150x99.png 150w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/a><\/figure><\/div><p>In some cases, however, you need to add metadata that WordPress doesn&rsquo;t support out of the box &ndash; this is where custom fields come in handy. WordPress custom fields are a feature that inputs additional information to a post or a page.<\/p><p>Custom fields give you a way to enter that data and extend the information on your content:<\/p><ul class=\"wp-block-list\">\n<li><strong>Flexible and customizable<\/strong>. Custom fields are made of code snippets, allowing you to customize and control their placements on your site&rsquo;s front-end.<\/li>\n\n\n\n<li><strong>Easier input and update<\/strong>. If you want to update the information displayed on your posts, simply modify the custom fields instead of editing each post individually.<\/li>\n\n\n\n<li><strong>Consistent<\/strong>. Custom fields ensure all of your posts display the same information in the same formatting.<\/li>\n<\/ul><p>Finally, it is important to note the difference between custom fields and <a href=\"\/my\/tutorials\/wordpress-custom-post-types\">custom post types<\/a>.<\/p><p>A custom post type is a specially formatted kind of content, such as review posts or product pages. In many cases, people add custom fields to their <a href=\"\/my\/tutorials\/wordpress-post-template\">custom post templates<\/a>, but you can also use them separately.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-add-wordpress-custom-fields-to-your-posts-and-pages\">How to Add WordPress Custom Fields to Your Posts and Pages<\/h2><p>In the following section, we&rsquo;ll help you create your own custom fields using two different methods.<\/p><p>The first method involves installing a dedicated plugin to simplify the process. The second one requires that you manually edit your WordPress theme files.<\/p><h3 class=\"wp-block-heading\" id=\"h-use-the-advanced-custom-fields-plugin\">Use the Advanced Custom Fields Plugin<\/h3><p>There are a lot of plugins to help you quickly add WordPress custom fields. The most popular one is <a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\" target=\"_blank\" rel=\"noreferrer noopener\">Advanced Custom Fields (ACF)<\/a>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/acf-plugin.png\"><img decoding=\"async\" width=\"1024\" height=\"466\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/acf-plugin-1024x466.png\" alt=\"Advanced Custom Fields plugin banner\" class=\"wp-image-37889\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin-1024x466.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin-300x137.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin-150x68.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin-768x350.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin-1536x699.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/acf-plugin.png 1898w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>It comes with an easy-to-use user interface that allows you to add 30 custom field types with only a few clicks. To get started, you need to <a href=\"\/my\/tutorials\/wordpress\/how-to-install-wordpress-plugins\">install the plugin<\/a> and activate it.<\/p><p>Go to your dashboard and into the <strong>Plugins <\/strong>&rarr;<strong> Add New <\/strong>tab. Once you&rsquo;re there, use the search bar to look for <strong>Advanced Custom Fields<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/install-acf-plugin.png\"><img decoding=\"async\" width=\"1024\" height=\"260\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/install-acf-plugin-1024x260.png\" alt=\"Add plugins section, highlighting the Install Now button next to the ACF plugin\" class=\"wp-image-37892\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/install-acf-plugin.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/install-acf-plugin-300x76.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/install-acf-plugin-150x38.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/install-acf-plugin-768x195.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/install-acf-plugin-1536x391.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Go ahead and click the <strong>Install Now <\/strong>button. Wait until the text changes to <strong>Activate<\/strong>, then click on it once more.<\/p><p>Once Advanced Custom Fields is up and running, you&rsquo;ll see a new <strong>Custom Fields <\/strong>tab appear in your dashboard. Clicking on it will reveal a list of custom field groups, which should be empty.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-fields-tab.png\"><img decoding=\"async\" width=\"1024\" height=\"424\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-fields-tab-1024x424.png\" alt=\"Custom Fields tab on the WordPress dashboard\" class=\"wp-image-37893\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-tab.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-tab-300x124.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-tab-150x62.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-tab-768x318.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-tab-1536x636.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To set up a field group, simply click on the <strong>Add<\/strong> <strong>New <\/strong>button at the top of the screen.<\/p><p>Continue by clicking on the <strong>Add Field <\/strong>button. Pick a label for your new field that will also serve as its name. You also need to choose what type of field you want to set up &ndash; some of the options include text, checkbox, and email.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/add-field.png\"><img decoding=\"async\" width=\"1024\" height=\"537\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/add-field-1024x537.png\" alt=\"Add new field group\" class=\"wp-image-37895\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-field.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-field-300x157.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-field-150x79.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-field-768x403.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-field-1536x805.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>For this example, we&rsquo;re going to create an <strong>Email <\/strong>field to collect every author&rsquo;s email address.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/email-field.png\"><img decoding=\"async\" width=\"1024\" height=\"196\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/email-field-1024x196.png\" alt=\"Form to create a new email field\" class=\"wp-image-37896\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/email-field-1024x196.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/email-field-300x57.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/email-field-150x29.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/email-field-768x147.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/email-field.png 1333w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To write a set of instructions, simply fill in the provided field. For example, you can add &ldquo;Please fill out your email address before publishing your post.&rdquo;<\/p><p>Although this step isn&rsquo;t necessary, it helps other administrators on the website know what to do with the custom field.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/field-instructions.png\"><img decoding=\"async\" width=\"1024\" height=\"348\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/field-instructions-1024x348.png\" alt=\"Field instructions\" class=\"wp-image-37898\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-instructions-1024x348.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-instructions-300x102.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-instructions-150x51.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-instructions-768x261.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-instructions.png 1267w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Moving on, you&rsquo;ll also need to indicate whether this is a required field or not. This way, it will not be possible to save posts or pages without filling it out.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/required-field.png\"><img decoding=\"async\" width=\"1024\" height=\"349\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/required-field-1024x349.png\" alt=\"Toggle the button to mark whether the field is required\" class=\"wp-image-37900\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/required-field-1024x349.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/required-field-300x102.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/required-field-150x51.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/required-field-768x262.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/required-field.png 1266w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>There are a few other <a href=\"https:\/\/www.advancedcustomfields.com\/resources\/field-settings\/\" target=\"_blank\" rel=\"noreferrer noopener\">advanced settings<\/a> you can adjust if needed. Once the basic properties are filled out, scroll down to locate the <strong>Close Field <\/strong>button.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/close-field.png\"><img decoding=\"async\" width=\"1024\" height=\"218\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/close-field-1024x218.png\" alt=\"Close field button\" class=\"wp-image-37901\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/close-field.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/close-field-300x64.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/close-field-150x32.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/close-field-768x164.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Clicking on it will automatically add your custom field group to the list. To add more custom fields, simply choose the <strong>Add Field<\/strong> button and repeat the process.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/field-group-list.png\"><img decoding=\"async\" width=\"1024\" height=\"372\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/field-group-list-1024x372.png\" alt=\"List of custom field groups\" class=\"wp-image-37902\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-group-list.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-group-list-300x109.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-group-list-150x54.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/field-group-list-768x279.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Once you have created your custom field groups, you&rsquo;ll need to configure where these custom field groups will show up by customizing the <strong>Location <\/strong>settings.<\/p><p>There&rsquo;s an option labeled <strong>Show this field group if<\/strong> that you can use to configure the display options.<\/p><p>In this example, we configured the custom field to show up on regular posts. If you want, you can add more than one location to display your custom field using the <strong>Add rule group <\/strong>button.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/add-rule.png\"><img decoding=\"async\" width=\"1024\" height=\"575\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/add-rule-1024x575.png\" alt='Add rule group section, highlighting the option \"Show this field group if\"' class=\"wp-image-37903\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-rule-1024x575.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-rule-300x169.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-rule-150x84.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-rule-768x432.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/add-rule.png 1317w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Finally, hit the <strong>Publish <\/strong>button to save your new custom field.<\/p><p>When your field is ready to go, open the WordPress post editor. The custom field will show up right under the text editor.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-field.png\"><img decoding=\"async\" width=\"1024\" height=\"532\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-field-1024x532.png\" alt=\"Custom field section under the text editor\" class=\"wp-image-37904\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-300x156.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-150x78.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-768x399.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-1536x798.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Keep in mind that you can&rsquo;t use Advanced Custom Fields to display custom fields for website visitors &ndash; the custom field will only show up in your dashboard.<\/p><p>If you want to display the custom fields on the site&rsquo;s front-end, you&rsquo;ll need to edit the theme file. We will walk you through this process later in the article.<\/p><h3 class=\"wp-block-heading\" id=\"h-other-custom-field-plugins\">Other Custom Field Plugins<\/h3><p>If you&rsquo;re looking for a plugin that offers more options than Advanced Custom Fields, we listed three alternatives to help you find a tool that better suits your website needs.<\/p><p>1. <a href=\"https:\/\/wordpress.org\/plugins\/meta-box\/\" target=\"_blank\" rel=\"noreferrer noopener\">Meta Box<\/a><\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/meta-box.png\"><img decoding=\"async\" width=\"1024\" height=\"498\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/meta-box-1024x498.png\" alt=\"Meta Box plugin banner\" class=\"wp-image-37905\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/meta-box.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/meta-box-300x146.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/meta-box-150x73.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/meta-box-768x374.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/meta-box-1536x747.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>With Meta Box, enable custom fields in WordPress posts, pages, and forms. It supports up to 40 custom fields, from text lists and check-boxes to images and user fields.<\/p><p>It provides <a href=\"\/my\/tutorials\/wordpress-page-builders\">free extensions<\/a>, allowing you to add custom fields in the comments and <a href=\"\/my\/tutorials\/how-to-optimize-wordpress-yoast-seo\">Yoast SEO<\/a> to improve your content&rsquo;s SEO scores. The plugin also integrates with <a href=\"\/my\/tutorials\/wordpress-page-builders\">WordPress page builders<\/a> like <strong>Beaver Builder<\/strong>.<\/p><p>Additionally, Meta Box offers both <strong>free<\/strong> and premium versions.<\/p><p>With its premium version, starting at <strong>$99\/year<\/strong>, you&rsquo;ll get access to its meta box builder. This feature lets you add WordPress custom fields using an easy-to-use drag-and-drop interface.<\/p><p>[<a href=\"https:\/\/metabox.io\/pricing\/\" target=\"_blank\" rel=\"noreferrer noopener\">PRICING<\/a> \/ <a href=\"https:\/\/metabox.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">DOWNLOAD<\/a>]<\/p><p>2. <a href=\"https:\/\/wordpress.org\/plugins\/custom-field-suite\/\" target=\"_blank\" rel=\"noreferrer noopener\">Custom Fields Suite<\/a><\/p><figure class=\"wp-block-image size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-fields-suite.png\"><img decoding=\"async\" width=\"1024\" height=\"136\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-fields-suite-1024x136.png\" alt=\"Custom Field Suite plugin banner\" class=\"wp-image-37906\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-suite.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-suite-300x40.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-suite-150x20.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-fields-suite-768x102.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>Custom Fields Suite offers a lightweight and straightforward solution to enable custom fields in WordPress websites.<\/p><p>This <strong>free<\/strong> plugin supports 14 field types, including loop, tab, <a href=\"\/my\/tutorials\/wysiwyg-web-builders\">WYSIWYG<\/a>, date, and true\/false. You can add custom fields to your WordPress post, page, and custom post types.<\/p><p>Use the plugin to create custom field groups and display them on the post editor. With the placement rules box, you can also decide where the field group will appear. For instance, it&rsquo;s possible to place it above or below the text editor.<\/p><p>The only downside of Custom Fields Suite is that it doesn&rsquo;t have a customer support team. However, it provides <a href=\"https:\/\/mgibbs189.github.io\/custom-field-suite\/\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a> that you can access for more information about the plugin.<\/p><p>3. <a href=\"https:\/\/wordpress.org\/plugins\/pods\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pods<\/a><\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/pods.png\"><img decoding=\"async\" width=\"1024\" height=\"326\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/pods-1024x326.png\" alt=\"Pods WordPress plugin banner\" class=\"wp-image-37907\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/pods.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/pods-300x95.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/pods-150x48.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/pods-768x244.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Pods manages all custom content in a simple and clean interface. This makes it easier to add custom fields to your posts, pages, or any custom content types.<\/p><p>Use the plugin&rsquo;s shortcodes, widgets, or templates to display the fields anywhere on the site. Pods also comes with default custom field types, but it&rsquo;s possible to create new types according to your needs.<\/p><p>Pods integrates well with other WordPress plugins such as <strong>Polylang<\/strong>, <strong>Beaver Builder<\/strong>, and <strong>Gravity Forms<\/strong>. Moreover, it is equipped with <a href=\"https:\/\/docs.pods.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">extensive documentation<\/a> and <a href=\"https:\/\/pods.io\/chat\/\" target=\"_blank\" rel=\"noreferrer noopener\">live chat support<\/a> to guide users and solve any issues.<\/p><p>[<a href=\"https:\/\/pods.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">DOWNLOAD<\/a>]<\/p><h3 class=\"wp-block-heading\" id=\"h-add-wordpress-custom-post-fields-manually-and-edit-your-theme-to-display-them\">Add WordPress Custom Post Fields Manually and Edit Your Theme to Display Them<\/h3><p>By default, the custom fields option is hidden in WordPress. To enable this feature, access your page or post editor.<\/p><p>Locate the <strong>Screen Options<\/strong> button on the right corner of your screen, and check the <strong>Custom Fields <\/strong>box.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/screen-options.png\"><img decoding=\"async\" width=\"1024\" height=\"268\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/screen-options-1024x268.png\" alt=\"Screen options, highlighting the  Custom Fields box\" class=\"wp-image-37908\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/screen-options.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/screen-options-300x79.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/screen-options-150x39.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/screen-options-768x201.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/screen-options-1536x403.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>This will make a new dialog box appear below the content editor.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/dialog-box.png\"><img decoding=\"async\" width=\"1024\" height=\"243\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/dialog-box-1024x243.png\" alt=\"Custom fields dialog box\" class=\"wp-image-37909\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/dialog-box.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/dialog-box-300x71.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/dialog-box-150x36.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/dialog-box-768x182.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>You can enter the custom field data using key\/value pairs. The <strong>key<\/strong> refers to the name of your custom field, while the <strong>value<\/strong> is the information you want to display.<\/p><p>For example, we want to add a disclaimer to a sponsored post. So, we set <strong>Sponsored<\/strong> as the name and fill out <strong>Yes<\/strong> or <strong>No<\/strong> in the value box to show if the post was sponsored or not.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-field-data.png\"><img decoding=\"async\" width=\"1024\" height=\"228\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/custom-field-data-1024x228.png\" alt=\"Adding custom field data using key\/value pairs\" class=\"wp-image-37910\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-data-1024x228.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-data-300x67.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-data-150x33.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-data-768x171.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/custom-field-data.png 1331w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Hit the <strong>Add Custom Field <\/strong>button at the bottom of the box to save it.<\/p><p>However, the process doesn&rsquo;t end there. WordPress only keeps custom field values on the back-end. To display the information on the front-end of the site, you need to <a href=\"\/my\/tutorials\/wordpress-theme-editor\/\">edit the theme files<\/a>.<\/p><p>There are several options to edit your theme files &ndash; through your admin dashboard, connecting to an FTP, or using <a href=\"\/my\/tutorials\/how-to-use-hostinger-file-manager\/\">Hostinger&rsquo;s File Manager<\/a>.<\/p><p>Regardless of the method you choose, we recommend <a href=\"\/my\/tutorials\/how-to-create-wordpress-child-theme\">using a child theme<\/a> to experiment freely without damaging the theme during the process.<\/p><p>In this tutorial, we will show you how to access the files directly from the WordPress dashboard. Proceed to <strong>Appearance <\/strong>&rarr;<strong> Theme Editor<\/strong>, then locate the <strong>single.php <\/strong>file.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/single-php-file.png\"><img decoding=\"async\" width=\"1024\" height=\"510\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/single-php-file-1024x510.png\" alt=\"Theme Editor, highlighting the single.php file\" class=\"wp-image-37911\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/single-php-file.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/single-php-file-300x149.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/single-php-file-150x75.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/single-php-file-768x382.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/single-php-file-1536x765.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Below is an example of a commonly used code to display custom fields:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php echo get_post_meta($post-&gt;ID, 'key', true); ?&gt;<\/pre><p>Note that the exact code you&rsquo;ll use may vary depending on the action or information you want to display. However, be sure to change the <strong>&lsquo;key&rsquo; placeholder<\/strong> with your custom field name.<\/p><p>In this example, we want to display a disclaimer message for sponsored posts. Thus, the code should look like this:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\n$meta = get_post_meta( get_the_ID(), 'Sponsored Post' );\nif( $meta[0] == 'Yes' ) {\n?&gt;\n&lt;center&gt;This post contains affiliate links. We might earn a commission if you make a purchase using these links.&lt;\/center&gt;&gt;\n&lt;?php } ?&gt;<\/pre><p>What you want to do is add your code in the <a href=\"https:\/\/developer.wordpress.org\/themes\/basics\/the-loop\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress loop<\/a>, which is a function that tells WordPress what data it needs to pull up and display when someone views content on your site.<\/p><p>A loop code can vary, depending on which theme you&rsquo;re using. However, here&rsquo;s what the default WordPress loop looks like:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;\n&lt;?php endwhile; else: ?&gt;\n&lt;?php endif; ?&gt;<\/pre><p>When adding a custom field, you are free to control its placement on the site. For instance, to place it at the top of a post, add the code before the following line:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">while ( have_posts() ) : the_post();<\/pre><p>When you&rsquo;ve successfully added the code to the theme editor, click on the <strong>Update File <\/strong>button to save the changes.<\/p><p>The code we apply tells WordPress to look for posts with <strong>Sponsored Post <\/strong>custom fields and check the value.<\/p><p>WordPress will display the disclaimer message if the value is set as <strong>Yes<\/strong> since the post is marked as sponsored. Otherwise, it won&rsquo;t show any additional information or metadata.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/metadata-example.png\"><img decoding=\"async\" width=\"1024\" height=\"478\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/10\/metadata-example-1024x478.png\" alt=\"A metadata example on a WordPress post\" class=\"wp-image-37912\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/metadata-example.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/metadata-example-300x140.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/metadata-example-150x70.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/metadata-example-768x358.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2021\/10\/metadata-example-1536x717.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>Keep in mind that the example above is one of the WordPress custom fields&rsquo; basic functions. To apply more complex actions, you will need to do some extra coding.<\/p><p>Below are several template tags you can use to customize the custom fields function on your website:<\/p><ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/the_meta\/\" target=\"_blank\" rel=\"noreferrer noopener\">the_meta() <\/a>&ndash; also known as post-meta, this tag displays a list of post custom fields.<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_post_custom\/\" target=\"_blank\" rel=\"noreferrer noopener\">get_post_custom()<\/a> and <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_post_meta\/\" target=\"_blank\" rel=\"noreferrer noopener\">get_post_meta()<\/a> &ndash; retrieves a single or multiple metadata of a post.<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_post_custom_values\/\" target=\"_blank\" rel=\"noreferrer noopener\">get_post_custom_values()<\/a> &ndash; fetches the values of a custom post field.<\/li>\n<\/ul><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/my\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1024x300.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-300x88.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-150x44.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-768x225.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1536x450.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>WordPress is equipped with advanced features like custom fields to enable users to add extra information to a post or a page, from disclaimers to images and checkboxes.<\/p><p>The WordPress built-in custom field functionality is hidden by default, so we&rsquo;ve included steps on how to enable it.<\/p><p>In addition to that, we have also covered the steps of creating and using custom fields in WordPress:<\/p><ol class=\"wp-block-list\">\n<li>By installing the <strong>Advanced Custom Fields Plugin<\/strong> or any of the other three plugins suggested on the website.<\/li>\n\n\n\n<li>Manually editing your theme&rsquo;s <strong>single.php<\/strong> file.<\/li>\n<\/ol><p>The native WordPress custom field feature might not be the most user-friendly technique. For this reason, we&rsquo;ve included the option of using custom fields plugins to simplify the process.<\/p><p>We hope this guide has helped you understand how to apply and display your custom fields on WordPress websites. Feel free to leave questions in the comments section below.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">Learn Other Advanced WordPress Techniques<\/h4>\n                    <p><a href=\"\/my\/tutorials\/create-a-shortcode-in-wordpress\">How to Create a Shortcode in WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/speed-up-wordpress\">How to Speed Up WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/remove-sidebar-wordpress\">How to Remove Sidebar in WordPress<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-icons\">How to Use WordPress Icon Fonts<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-a-b-testing\">WordPress A\/B Testing Guide<\/a><br>\n<a href=\"\/my\/tutorials\/wordpress-staging-environment\">How to Create a Staging Environment in WordPress<\/a><\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As one of the most popular content management systems (CMS), WordPress is widely known for its various functions and customization options. One such option is expanding metadata, which refers to key information of a page or post, including author names, titles, and descriptions. Users can include additional metadata by enabling custom fields in WordPress, extending [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/wordpress-custom-fields\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":76,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"WordPress Custom Fields: What They Are and How to Add Them","rank_math_description":"WordPress custom fields allow users to add extra information to a post or a page, from images to checkboxes. Check out how to use them here.","rank_math_focus_keyword":"wordpress custom fields","footnotes":""},"categories":[22638,22632],"tags":[],"class_list":["post-10815","post","type-post","status-publish","format-standard","hentry","category-advanced","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-custom-fields","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/campos-personalizados-wordpress","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/campos-personalizados-wordpress","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/custom-field-wordpress","default":0},{"locale":"nl-NL","link":"https:\/\/www.hostinger.com\/nl\/tutorials\/wordpress-custom-fields","default":0},{"locale":"pl-PL","link":"https:\/\/www.hostinger.com\/pl\/tutoriale\/niestandardowe-pola-w-wordpress\/","default":0},{"locale":"ja-JP","link":"https:\/\/www.hostinger.com\/jp\/tutorials\/wordpress-custom-fields\/","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-custom-fields","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/wordpress-custom-fields","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/wordpress-custom-fields","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/campos-personalizados-wordpress","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/campos-personalizados-wordpress","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/campos-personalizados-wordpress","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/campos-personalizados-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-custom-fields","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-custom-fields","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-custom-fields","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-custom-fields","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/10815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/76"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=10815"}],"version-history":[{"count":28,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/10815\/revisions"}],"predecessor-version":[{"id":106772,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/10815\/revisions\/106772"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=10815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=10815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=10815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}