{"id":10314,"date":"2020-09-29T09:41:17","date_gmt":"2020-09-29T09:41:17","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=10314"},"modified":"2020-09-29T11:12:07","modified_gmt":"2020-09-29T11:12:07","slug":"wordpress-custom-fields","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/","title":{"rendered":"Step by Step Guide to Manage and Use WordPress Custom Fields"},"content":{"rendered":"<p>When you read blog posts, you can see the author\u2019s name, the topic or category the article belongs to, and the date of publication. However, bloggers may also decide to include other information. In this case, the post will contain more fields. When working with multiple posts, adding the same information over and over again can be extremely time-consuming. The task becomes especially difficult when working with such content-heavy websites as blogs. If you\u2019re using WordPress, however, you can do it much faster by using custom fields.<\/p>\n<p>A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information. This information can be displayed with every post and every page of your site. For example, you can use custom fields to add disclaimers to affiliate content or to include product ratings in reviews. In this article, we will consider custom fields in more detail. You will learn what custom fields are and how you can use them. On the one hand, using custom fields can be considered an advanced technique. On the other hand, it\u2019s much simpler than it seems.<\/p>\n<h3>What Custom Fields Are?<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10322\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\" alt=\"\" width=\"841\" height=\"227\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png 841w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min-300x81.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min-768x207.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/p>\n<p>Before we consider custom fields in more detail, let\u2019s figure out what they are. When you create a new post in your WordPress blog, the platform stores your information in two ways. First, there is the content itself. Secondly, there is additional information, which is called metadata. Metadata contains various details about your post. It may include numbers, text, dates, etc. It consists of pairs of keys and values, where a key represents the name of a particular field, and its value contains the necessary information. The WordPress editor already includes some fields by default, but if you want to include more types of data, you need to create custom fields.<\/p>\n<p>The custom fields feature is hidden by default. However, you can learn to create custom fields to include any additional information that you want. For instance, if you have an affiliate website where you publish various product reviews, you can add a field with a score to each of your posts so that each product will have its rating.<\/p>\n<p>Custom fields are stored as metadata, but when you categorize your metadata, custom fields enable you to display it on the front end so that people who visit your website can see it.<\/p>\n<h3>Why You Need Custom Fields?<\/h3>\n<p>Custom fields are a very useful customization tool that enables you to improve the design of your WordPress website and to tailor it to your specific needs. Here are some of the main benefits of adding custom fields to your posts.<\/p>\n<ul>\n<li>Custom fields give you more control over placement and display. You can control the way your content is displayed by using conditional tags of your WordPress theme.<\/li>\n<li>Custom fields are also more flexible than widgets. When using widgets, you display the same content on all the pages of your website, while custom fields enable you to adjust the content for each particular page.<\/li>\n<li>Another great thing about custom fields is that you can also customize them. Simply put, custom fields are code that you add to your theme files. You can edit this code using CSS and change your custom fields as you like.<\/li>\n<\/ul>\n<p>Now let\u2019s figure out how to add custom field in WordPress, and how you can use custom fields for different purposes.<\/p>\n<h2>How to Use Custom Fields?<\/h2>\n<h3>1. Adding Custom Fields<\/h3>\n<p>Start editing the page or post where you want to add a custom field. Open the<strong> Edit Post<\/strong> page and find the <strong>Custom Fields<\/strong> widget. First, you should specify the name of the new custom field. After this, you should enter the value. For instance, the name of your custom field can be <strong>\u201cLocation,\u201d<\/strong> and the value can be <strong>\u201cNew York.\u201d<\/strong> After this, click <strong>Add Custom Field<\/strong>.<\/p>\n<p>This information will be stored in the custom fields meta box. If you need to edit this custom field, you can change the necessary information and click <strong>Update<\/strong>. You can also delete your custom fields anytime you need it.<\/p>\n<h3>2. Showing Custom Fields in WordPress Themes<\/h3>\n<p>Once you\u2019ve created a new custom field, the information is saved as metadata. You still need to display it in your theme so that your website visitors can see it. To show your custom fields in a WordPress theme, you can edit the files of your theme.<\/p>\n<p>Find the theme that you want to edit. Ideally, you will display the custom field on a single-post page. In this case, you need to edit the content-single.php or single.php file. You should add custom fields code to the WordPress loop.<\/p>\n<p>Search for a line that looks as follows:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php while ( have_posts() ) : the_post(); ?&gt;<\/pre>\n<p>You need to add new code before this line:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php endwhile; \/\/ end of the loop. ?&gt;<\/pre>\n<p>Here is code that you should add:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php echo get_post_meta($post-&gt;ID, 'key', true); ?&gt;<\/pre>\n<p>Keep in mind that you must replace the key with the name of your custom field. For instance, the code for the custom field that we\u2019ve created in the first step will look like this:<\/p>\n<pre class=\"lang:default decode:true \">&lt;p&gt;Current Location: &lt;?php echo get_post_meta($post-&gt;ID, 'Location', true); ?&gt;&lt;\/p&gt;<\/pre>\n<p>Now you can save changes and check out how your post looks online. You can also use this custom field with your other posts, as well. Create a new post or edit a post that you already have in your blog. Go to the <strong>Custom Fields<\/strong> meta box, choose the necessary custom field from the dropdown menu, and enter the necessary value.<\/p>\n<h3>3. If You Cannot Find a Custom Field in the Drop-Down Menu<\/h3>\n<p>When editing WordPress posts, you may not see all the existing custom fields. The thing is that WordPress only shows 30 custom fields by default. If you\u2019re already using custom fields in some themes and plugins, the chances are that these custom fields will appear in the dropdown menu first. Therefore, if you create a new custom field that isn\u2019t used yet, it might appear at the end of the list and you won\u2019t see it.<\/p>\n<p>You can fix this problem by editing the functions.php file of your theme. Add this code:<\/p>\n<pre class=\"lang:default decode:true \">add_filter( 'postmeta_form_limit', 'meta_limit_increase' );\r\nfunction meta_limit_increase( $limit ) {\r\nreturn 60;\r\n}<\/pre>\n<p>This code will limit the number of custom fields in the dropdown menu to 60. If it doesn\u2019t help, you can simply increase this number again.<\/p>\n<h3>4. Making a User Interface for Custom Fields<\/h3>\n<p>As you can see, you need to select the necessary custom field and to enter its value every time you publish a new post. This is certainly not the best solution if you\u2019re dealing with many custom fields and if your website has multiple contributors.<\/p>\n<p>It would be much more convenient to have a user interface where everyone could enter the necessary values of custom fields by using a simple form. Many WordPress plugins already perform this exact function. For instance, a popular plugin All in One SEO Pack has a custom meta box for an SEO title and meta description.<\/p>\n<p>The Advanced Custom Fields plugin can also be used. This plugin enables you to add new custom fields to your posts and to edit them with no coding knowledge.<\/p>\n<h3>5. Creating Custom Fields with Advanced Custom Fields<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10323\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image2-min-1024x459.jpg\" alt=\"\" width=\"1024\" height=\"459\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image2-min-1024x459.jpg 1024w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image2-min-300x134.jpg 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image2-min-768x344.jpg 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image2-min.jpg 1319w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>First of all, you should install the <strong>Advanced Custom Fields<\/strong> plugin. Activate the plugin. After this, go to <strong>Custom Fields &gt; Field Groups<\/strong>, and click the <strong>Add New<\/strong> button. Field groups contain sets of custom fields. By using field groups, you can add multiple panels with different custom fields. Enter the title of a new field group, and then click the <strong>Add Field<\/strong> button.<\/p>\n<p>You can add names for your custom fields and choose field types. You can use the <strong>Advanced Custom Fields<\/strong> plugin to create different types of fields, including numbers, text, dropdown menus, image upload features, checkboxes, etc.<\/p>\n<p>You can also scroll down and change many other features of a particular custom field according to your requirements. Now you can find a new panel with custom fields in the content editor when creating or editing posts.<\/p>\n<h3>6. Using Conditional Statements to Hide Empty Custom Fields<\/h3>\n<p>Now you know how to create custom fields and how to show them in your theme. However, there\u2019s no point in displaying a custom field if it\u2019s empty. You can modify the code to only display custom fields that actually have some data in them. For example, here\u2019s what such code will look like when dealing with our Location custom field that we\u2019ve created before:<br \/>\n<!--?php $location = get_post_meta($post-&gt;ID, 'Location', true);&lt;\/p&gt; &lt;p&gt;if ($location) { ?--><\/p>\n<pre class=\"lang:default decode:true\"> &lt;?php\r\n$location = get_post_meta($post-&gt;ID, 'Location', true);\r\nif ($location) { ?&gt;\r\n&lt;p&gt;Current location: &lt;? echo $location; ?&gt;&lt;\/p&gt;\r\n&lt;?php\r\n} else {\r\n\/\/ do nothing;\r\n}\r\n?&gt;<\/pre>\n<p>Keep in mind that you will have to replace \u201cLocation\u201d with the name of your custom field.<\/p>\n<h3>7. Adding Multiple Values to the Same Custom Field<\/h3>\n<p>You can reuse the same custom field in the same post, entering different values. To do it, you just need to select the necessary custom field again and to enter another value. However, the code that we used above will only display one value.<\/p>\n<p>If you want to show multiple values in a custom field, you will need to change the code so that it will return data in the form of an array. Below is the code that you should add:<br \/>\n<!--?php $location = get_post_meta($post-&gt;ID, 'Location', false);&lt;br ?--><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n$location = get_post_meta($post-&gt;ID, 'Location', false);\r\nif( count( $location ) != 0 ) { ?&gt;\r\n&lt;p&gt;Current location:&lt;\/p&gt;\r\n&lt;ul&gt;\r\n&lt;?php foreach($location as $location) {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 echo '&lt;li&gt;'.$location.'&lt;\/li&gt;';\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ?&gt;\r\n&lt;\/ul&gt;\r\n&lt;?php\r\n} else {\r\n\/\/ do nothing;\r\n}\r\n?&gt;<\/pre>\n<p>Keep in mind that you will need to replace \u201cLocation\u201d with the name of your custom field. You may have noticed that in this code, we\u2019ve switched the last parameter of the get_post_meta function to \u201cfalse.\u201d This parameter determines whether or not the function will return a single value. When this parameter is switched to \u201cfalse,\u201d the function can display data as an array.<\/p>\n<h3>8. Adding a Guest Author\u2019s Name<\/h3>\n<p>Sometimes, bloggers need to publish a guest post but don\u2019t want to create a new user profile for a single post. You can do it easier by including the guest author\u2019s name in a custom field. Add the below code to your theme&#8217;s functions.php file:<\/p>\n<pre class=\"lang:default decode:true \">add_filter( 'the_author', 'guest_author_name' );\r\nadd_filter( 'get_the_author_display_name', 'guest_author_name' );\r\nfunction guest_author_name( $name ) {\r\nglobal $post;\r\n$author = get_post_meta( $post-&gt;ID, 'guest-author', true );\r\nif ( $author )\r\n$name = $author;\r\nreturn $name;\r\n}<\/pre>\n<p>First, the function will check the guest author\u2019s name. If the name exists, the existing author\u2019s name will be replaced with the new name. Now you just need to edit your post\u2019s meta box to include the necessary name as a value of the guest_author field.<\/p>\n<h3>9. Showing Contributors to an Article<\/h3>\n<p>Quite often, blog posts may have multiple contributors. However, WordPress doesn\u2019t enable you to include several authors for the same article. Fortunately, you can add contributors as custom fields. Start editing the post with multiple contributors, scroll down to the custom fields meta box, and create a \u201cco-author\u201d field with the necessary names. To show co-authors in your theme, add this code to the theme files:<\/p>\n<pre class=\"lang:default decode:true\">&lt;?php\r\n\r\n$contributors = get_post_meta($post-&gt;ID, 'co-author', false);\r\nif( count( $contributors ) != 0 ) { ?&gt;\r\n&lt;ul class=\"contributors\"&gt;\r\n&lt;li&gt;Contributors&lt;\/li&gt;\r\n&lt;?php foreach($contributors as $contributors) { ?&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;?php echo '&lt;li&gt;'.$contributors.'&lt;\/li&gt;' ;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ?&gt;\r\n&lt;\/ul&gt;\r\n&lt;?php\r\n} else {\r\n\/\/ do nothing;\r\n}\r\n?&gt;<\/pre>\n<p>To separate the names of contributors with commas, you can use the following CSS code:<\/p>\n<pre class=\"lang:default decode:true \">.contributors ul {\r\ndisplay:inline;\r\n}\r\n.contributors li {\r\ndisplay:inline;\r\nlist-style:none;\r\n}\r\n.contributors li:after {\r\ncontent:\",\"\r\n}\r\n.contributors li:last-child:after {\r\ncontent: \"\";\r\n}\r\n.contributors li:first-child:after {\r\ncontent: \":\";\r\n}<\/pre>\n<h3>10. Showing Custom Fields Outside the WordPress Loop<\/h3>\n<p>All the tips above will help you display custom fields inside the WordPress loop. However, you may also want to display them outside the loop. For example, you may want to include them in a sidebar of a particular post. In this case, use the following code:<br \/>\n<!--?php global $wp_query; $postid = $wp_query-&gt;post-&gt;ID;&lt;br ?--><\/p>\n<pre class=\"lang:default decode:true\">&lt;?php\r\nglobal $wp_query;\r\n$postid = $wp_query-&gt;post-&gt;ID;\r\necho get_post_meta($postid, 'key', true);\r\nwp_reset_query();\r\n?&gt;<\/pre>\n<p>Don\u2019t forget to replace \u201ckey\u201d with the name of your custom field.<\/p>\n<h3>Wrapping Up<\/h3>\n<p>Custom fields can be used in various situations. For instance, you can use them to display the names of multiple contributors or to include virtually any other type of information. To display custom fields in your WordPress theme, you will need to use examples of code from our guide. However, you can also install a custom field plugin and work with a simple user interface.<\/p>\n<p>We hope that our tips will help you use custom fields to adjust your WordPress website to your specific needs and to improve its design. If you know any other useful tips, please leave your comments below!<\/p>\n<p><strong>Also Read:<\/strong><\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/joomla-website-to-wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>Learn to Migrate Your Joomla Website to WordPress<\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/ftp-upload-files-to-wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>Using FTP to Upload Files to WordPress for Beginners<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you read blog posts, you can see the author\u2019s name, the topic or category the article belongs to, and the date of publication. However, bloggers may also decide to include other information. In this case, the post will contain more fields. When working with multiple posts, adding the same information over and over again [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[1642,1643,78,1641],"class_list":["post-10314","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-wordpress-faq","tag-custom-fields","tag-use-wordpress-custom-fields","tag-wordpress-2","tag-wordpress-custom-fields"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Step by Step Guide to Manage and Use WordPress Custom Fields<\/title>\n<meta name=\"description\" content=\"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Step by Step Guide to Manage and Use WordPress Custom Fields\" \/>\n<meta property=\"og:description\" content=\"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-29T09:41:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-29T11:12:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\" \/>\n<meta name=\"author\" content=\"Frank Hamilton\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Frank Hamilton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\"},\"author\":{\"name\":\"Frank Hamilton\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a\"},\"headline\":\"Step by Step Guide to Manage and Use WordPress Custom Fields\",\"datePublished\":\"2020-09-29T09:41:17+00:00\",\"dateModified\":\"2020-09-29T11:12:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\"},\"wordCount\":1964,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\",\"keywords\":[\"custom fields\",\"use wordpress custom fields\",\"WordPress\",\"wordpress custom fields\"],\"articleSection\":[\"WordPress FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\",\"name\":\"Step by Step Guide to Manage and Use WordPress Custom Fields\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\",\"datePublished\":\"2020-09-29T09:41:17+00:00\",\"dateModified\":\"2020-09-29T11:12:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a\"},\"description\":\"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png\",\"width\":841,\"height\":227},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Step by Step Guide to Manage and Use WordPress Custom Fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a\",\"name\":\"Frank Hamilton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/frank-min-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/frank-min-150x150.png\",\"caption\":\"Frank Hamilton\"},\"description\":\"Frank Hamilton has been working as an editor at essay review service Online Writers Rating. He is a professional writing expert in such topics as blogging, digital marketing and self-education. He also loves traveling and speaks Spanish, French, German and English.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/frank-hamilton\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Step by Step Guide to Manage and Use WordPress Custom Fields","description":"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/","og_locale":"en_US","og_type":"article","og_title":"Step by Step Guide to Manage and Use WordPress Custom Fields","og_description":"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2020-09-29T09:41:17+00:00","article_modified_time":"2020-09-29T11:12:07+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png","type":"","width":"","height":""}],"author":"Frank Hamilton","twitter_misc":{"Written by":"Frank Hamilton","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/"},"author":{"name":"Frank Hamilton","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a"},"headline":"Step by Step Guide to Manage and Use WordPress Custom Fields","datePublished":"2020-09-29T09:41:17+00:00","dateModified":"2020-09-29T11:12:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/"},"wordCount":1964,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png","keywords":["custom fields","use wordpress custom fields","WordPress","wordpress custom fields"],"articleSection":["WordPress FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/","name":"Step by Step Guide to Manage and Use WordPress Custom Fields","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png","datePublished":"2020-09-29T09:41:17+00:00","dateModified":"2020-09-29T11:12:07+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a"},"description":"A \u0441ustom field in WordPress enables you to modify the editor, adding a specific place for a certain type of information.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/image_1-min.png","width":841,"height":227},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wordpress-custom-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Step by Step Guide to Manage and Use WordPress Custom Fields"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/1d93687ccf23d71cb71d212fa0929e3a","name":"Frank Hamilton","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/frank-min-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/09\/frank-min-150x150.png","caption":"Frank Hamilton"},"description":"Frank Hamilton has been working as an editor at essay review service Online Writers Rating. He is a professional writing expert in such topics as blogging, digital marketing and self-education. He also loves traveling and speaks Spanish, French, German and English.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/frank-hamilton\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=10314"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10314\/revisions"}],"predecessor-version":[{"id":10330,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10314\/revisions\/10330"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=10314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=10314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=10314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}