{"id":61076,"date":"2020-09-12T17:20:49","date_gmt":"2020-09-12T21:20:49","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=61076"},"modified":"2021-06-15T15:28:13","modified_gmt":"2021-06-15T19:28:13","slug":"advanced-custom-fields-templates","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/","title":{"rendered":"Using Advanced Custom Fields in WordPress Templates"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg\" alt=\"advanced custom fields\" class=\"wp-image-61957\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-install-and-set-up-advanced-custom-fields-for-wordpress-hosting\/\">Advanced Custom Fields<\/a> is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup. By separating the markup from the content, you make it easier for clients to update their own content in the future, without risking them inadvertently changing or deleting code that is important for the layout.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#add-acf\" data-type=\"internal\" data-id=\"#add-acf\">Set Up and Add Advanced Custom Fields <\/a><\/li><li><a href=\"#template\" data-type=\"internal\" data-id=\"#template\">Add Your Custom Fields to you Template File<\/a><\/li><\/ul>\n\n\n\n<p class=\"alert alert-info\">A modern, user-friendly website can boost your online engagement and help build your business. Contact our Professional Web Design Team today for a beautiful, <a href=\"https:\/\/www.inmotionhosting.com\/services\/wordpress-website-design\">custom WordPress website<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-acf\"><strong>Set Up and Add Advanced Custom Fields in the Dashboard<\/strong><\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Install Advanced Custom Fields like you would any other plugin (Add Plugins &gt; search, or Add Plugins &gt; Upload Plugin).\u00a0<\/li><li>Create a Field Group (Custom Fields &gt; Add New); give your group a name, and add one or more fields to your new group.<a href=\"http:\/\/www.advancedcustomfields.com\/resources\/#field-types\" target=\"_blank\" rel=\"noreferrer noopener\"> Read more details on the various field types<\/a>. (some field types like the repeater, the gallery, and the flexible content field are only available in the pro version). Take note of each field name, you will need this later when you add the field to your template file.\u00a0<\/li><li>Set your location (this is where your fields will appear in the WordPress dashboard). This can be based on one or more rules, and can be as simple as the page name or page template.\u00a0<\/li><li>Click the blue Publish button near the upper right to save your changes.\u00a0<\/li><li>Edit the Page (or Post) you have set the custom fields to appear on and add your content.\u00a0<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"template\"><strong>Add Your Custom Field(s) to your Template File<\/strong><\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>If you are working in the Home page, you will already have a page template for this page (named page-home.php). If you are working on a different page, make a copy of the respective page template you want to base your new template on, and name the copy to something like (page-about.php). Make sure you change the name of the template in the comments at the top of the file.\u00a0<\/li><li>Set up whatever divs (including classes or ids) you need to control the layout of your content.\u00a0<\/li><li>Add the code to pull in your field. This example pulls content from a text or WYSIWYG field (replace field_name with your correct field name):\n\n<pre class=\"wp-block-preformatted\">\/\/ Displays an ACF field, replace field_name with your field name\n&lt;?php the_field('field_name'); ?&gt;<\/pre>\n\n<p>This example pulls in an image from an image field (replace image_field with your correct field name)<\/p>\n\n<pre class=\"wp-block-preformatted\">\/\/ Displays an ACF image field, replace image_field with your field name\n&lt;?php echo $image['alt']; ?&gt;\n<\/pre>\n\n<p>Review more <a href=\"http:\/\/www.advancedcustomfields.com\/resources\/code-examples\" target=\"_blank\" rel=\"noreferrer noopener\">code examples<\/a> and <a rel=\"noreferrer noopener\" href=\"http:\/\/www.advancedcustomfields.com\/resources\/displaying-custom-field-values-in-your-theme\" target=\"_blank\">info on displaying ACF values<\/a> in your theme.<\/p>\n\n<\/li><li>Add the necessary CSS to your style sheet to style your newly added fields.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Tips<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Stray &lt;p&gt; Tags<\/strong><\/h3>\n\n\n\n<p>When using the WYSIWYG field in ACF,\u00a0you have probably noticed &lt;p&gt; tags being automatically added to the content of that field, and often in the wrong place.<\/p>\n\n\n\n<p>To turn off wpautop (the function that automatically adds &lt;p&gt; tags) on ACF fields add this to your functions.php file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Turn off wpautop on ACF fields\nremove_filter ('acf_the_content', 'wpautop');<\/pre>\n\n\n\n<p>To remove stray &lt;p&gt; tags when using shortcodes in the ACF WYSIWYG, but keep other paragraph tags, add this to your functions.php file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/* \n * Remove stray <p> tags when adding shortcodes in ACF WYSIWYG, \n * while keeping other paragraph tags\n*\/\nfunction wpex_clean_shortcodes($content){ \n    $array = array ( '[' =&gt; '[', ']' =&gt; ']', ']' =&gt; ']' ); \n    $content = strtr($content, $array); return $content; \n} \n    \nadd_filter('acf_the_content', 'wpex_clean_shortcodes');<\/p><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Select\u00a0the Correct Page or Template<\/strong><\/h2>\n\n\n\n<p>Make sure you have selected the correct page or template in Location when creating or editing\u00a0an ACF Field Group. For instance, the Home page will in most cases use the Home page template, so you can customize it as needed.\u00a0If selecting the page name in the location doesn\u2019t work, change\u00a0the location settings to the page template and make sure your page has the correct template assigned to it.<\/p>\n\n\n\n<p class=\"alert alert-warning\"><strong>Please note: <\/strong>When you copy the code from these areas, that they will properly indent and each line will have the correct format when you paste it into your code editor program.<\/p>\n\n\n\n<p>For more tutorials and information on how you can customize your website, please check our <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/\">Web Design Services<\/a> guides.<\/p>\n\n\n\n<p>Need assistance? From Website Rebuilds to <a href=\"https:\/\/www.inmotionhosting.com\/services\/wordpress-site-maintenance\">Monthly Maintenance Plans<\/a>, our <a href=\"https:\/\/www.inmotionhosting.com\/services\">Professional Website Services<\/a> team is here to help you succeed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup. By separating the markup from the content, you make it easier for clients to update their own content<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4417],"tags":[],"class_list":["post-61076","post","type-post","status-publish","format-standard","hentry","category-web-design-services"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Advanced Custom Fields - InMotion Hosting Support Center<\/title>\n<meta name=\"description\" content=\"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.\" \/>\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.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Advanced Custom Fields - InMotion Hosting Support Center\" \/>\n<meta property=\"og:description\" content=\"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-12T21:20:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-15T19:28:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Using Advanced Custom Fields in WordPress Templates\",\"datePublished\":\"2020-09-12T21:20:49+00:00\",\"dateModified\":\"2021-06-15T19:28:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\"},\"wordCount\":638,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg\",\"articleSection\":[\"Web Design Services\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\",\"name\":\"Using Advanced Custom Fields - InMotion Hosting Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg\",\"datePublished\":\"2020-09-12T21:20:49+00:00\",\"dateModified\":\"2021-06-15T19:28:13+00:00\",\"description\":\"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields.jpg\",\"width\":1200,\"height\":630,\"caption\":\"advanced custom fields\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Advanced Custom Fields in WordPress Templates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Advanced Custom Fields - InMotion Hosting Support Center","description":"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.","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.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/","og_locale":"en_US","og_type":"article","og_title":"Using Advanced Custom Fields - InMotion Hosting Support Center","og_description":"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.","og_url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-09-12T21:20:49+00:00","article_modified_time":"2021-06-15T19:28:13+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Using Advanced Custom Fields in WordPress Templates","datePublished":"2020-09-12T21:20:49+00:00","dateModified":"2021-06-15T19:28:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/"},"wordCount":638,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg","articleSection":["Web Design Services"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/","url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/","name":"Using Advanced Custom Fields - InMotion Hosting Support Center","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields-1024x538.jpg","datePublished":"2020-09-12T21:20:49+00:00","dateModified":"2021-06-15T19:28:13+00:00","description":"Advanced Custom Fields is a WordPress plugin that makes it easy to add additional fields to Pages or Posts in WordPress. This is especially helpful for complex layouts, so you can separate the content from the markup.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/10\/advanced-custom-fields.jpg","width":1200,"height":630,"caption":"advanced custom fields"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/advanced-custom-fields-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Using Advanced Custom Fields in WordPress Templates"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4417,"name":"Web Design Services","slug":"web-design-services","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/61076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=61076"}],"version-history":[{"count":17,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/61076\/revisions"}],"predecessor-version":[{"id":74600,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/61076\/revisions\/74600"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=61076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=61076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=61076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}