{"id":1132,"date":"2012-01-26T16:19:38","date_gmt":"2012-01-26T16:19:38","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/01\/26\/using-php-include-function\/"},"modified":"2021-08-16T23:48:19","modified_gmt":"2021-08-17T03:48:19","slug":"using-php-include-function","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/","title":{"rendered":"Using the php Include Function to Reuse Code"},"content":{"rendered":"<p>In this tutorial series, we\u2019re creating a simple 2 page website in which each page allows users to post comments. In our previous articles, we\u2019ve <a href=\"\/support\/website\/database-setup\/\">created and setup our database<\/a>, and we\u2019ve <a href=\"\/support\/website\/create-html-form\/\">created the html form<\/a> that will allow users to type in and submit their comments. In this article, we now need to incorporate our HTML form into our 2 pages. This can be done using the <strong>Include php function<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating our Test website<\/h2>\n\n\n\n<p>At this point in our tutorial, we need to create the 2 pages that will appear on our website. As the purpose of this tutorial is not to show you how to create a basic website using HTML, we won\u2019t go through the process of creating those two pages. We\u2019ve created the two pages (page1.php and page2.php) and they can be seen below:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>page1.php<\/strong><\/td><td><strong>page2.php<\/strong><\/td><\/tr><tr><td><figure><a href=\"\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"356\" height=\"292\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\" class=\"optimized-lcp-image\" alt=\"this-is-page1\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\"><\/a><\/figure>\n<p>\u00a0<\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><td><figure><a href=\"\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page2.gif\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss size-full wp-image-6880\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page2.gif\" alt=\"this-is-page2\" width=\"356\" height=\"292\"><\/a><\/figure>\n<p>\u00a0<\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Adding our HTML form to our website using PHP\u2019s include function<\/h2>\n\n\n\n<p>In our <a href=\"\/support\/website\/create-html-form\/\">previous article<\/a>, we created an HTML form. Because we only have 2 pages, we could copy and paste the same code onto each page. In this example, that could be OK. If we however had 100 pages, that would be quite a bit of work. Also, if we had to make a change to that form, we would need to make that change to 100 different pages, which would be very tedious.<\/p>\n\n\n\n<p>To make this task easier, we will add our HTML form to a file called formcode.php and then include that file in each of our pages. If we go this route, if we needed to make a change to the form in the future, we would simply change the one formcode.php file and the change would affect all pages that included formcode.php.<\/p>\n\n\n\n<p><strong>To setup formcode.php and include it in your pages:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>create a new file named formcode.php and insert our form code (<a href=\"\/support\/website\/create-html-form\/\">found in our previous article<\/a>)<\/li><li>add <code>&lt;? include(\"formcode.php\"); ?&gt;<\/code> in both page1.php and page2.php where you would like the form to appear.<\/li><\/ol>\n\n\n\n<p>After following the steps above, your pages should look similar to the below screenshots and your code should look similar to the code sample below:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>page1.php<\/strong><\/td><td><strong>page2.php<\/strong><\/td><\/tr><tr><td><figure><a href=\"\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_page1-with-the-form-added.gif\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss size-full wp-image-6881\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_page1-with-the-form-added.gif\" alt=\"page1-with-the-form-added\" width=\"366\" height=\"460\"><\/a><\/figure>\n<p>\u00a0<\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><td><figure><a href=\"\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_page2-with-the-form-added.gif\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss size-full wp-image-6882\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_page2-with-the-form-added.gif\" alt=\"page2-with-the-form-added\" width=\"366\" height=\"460\"><\/a><\/figure>\n<p>\u00a0<\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;h1&gt;This is page1.php&lt;\/h1&gt;<\/code>\n<code>&lt;div&gt;&lt;a href=\"page2.php?id=2\"&gt;Click here&lt;\/a&gt; to go to page2.php&lt;\/div&gt;<\/code>\n<code>&lt;div style=\"margin: 20px; width: 100px; height: 100px; background: blue;\"&gt;\u00a0&lt;\/div&gt;<\/code>\n<code>&lt;? include(\"formcode.php\"); ?&gt;<\/code><\/pre>\n\n\n\n<p>In our next tutorial, we\u2019ll show you <a href=\"\/support\/server\/databases\/using-mysqli-to-insert\/\">how to process the user\u2019s comment after they have clicked the submit button<\/a> to submit their comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial series, we\u2019re creating a simple 2 page website in which each page allows users to post comments. In our previous articles, we\u2019ve created and setup our database, and we\u2019ve created the html form that will allow users to type in and submit their comments. In this article, we now need to incorporate<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-1132","post","type-post","status-publish","format-standard","hentry","category-website"],"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 the php Include Function to Reuse Code | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"When you&#039;re reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php&#039;s include function, and in this tutorial we&#039;ll give you an example on how to use.\" \/>\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\/website\/using-php-include-function\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the php Include Function to Reuse Code | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"When you&#039;re reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php&#039;s include function, and in this tutorial we&#039;ll give you an example on how to use.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\" \/>\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=\"2012-01-26T16:19:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:48:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Using the php Include Function to Reuse Code\",\"datePublished\":\"2012-01-26T16:19:38+00:00\",\"dateModified\":\"2021-08-17T03:48:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\"},\"wordCount\":408,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\",\"name\":\"Using the php Include Function to Reuse Code | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\",\"datePublished\":\"2012-01-26T16:19:38+00:00\",\"dateModified\":\"2021-08-17T03:48:19+00:00\",\"description\":\"When you're reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php's include function, and in this tutorial we'll give you an example on how to use.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif\",\"width\":356,\"height\":292,\"caption\":\"this-is-page1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the php Include Function to Reuse Code\"}]},{\"@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\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the php Include Function to Reuse Code | InMotion Hosting","description":"When you're reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php's include function, and in this tutorial we'll give you an example on how to use.","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\/website\/using-php-include-function\/","og_locale":"en_US","og_type":"article","og_title":"Using the php Include Function to Reuse Code | InMotion Hosting","og_description":"When you're reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php's include function, and in this tutorial we'll give you an example on how to use.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-01-26T16:19:38+00:00","article_modified_time":"2021-08-17T03:48:19+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Using the php Include Function to Reuse Code","datePublished":"2012-01-26T16:19:38+00:00","dateModified":"2021-08-17T03:48:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/"},"wordCount":408,"commentCount":10,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/","name":"Using the php Include Function to Reuse Code | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif","datePublished":"2012-01-26T16:19:38+00:00","dateModified":"2021-08-17T03:48:19+00:00","description":"When you're reusing code in many different places, it helps to have the code live in one location and to include it where needed. This can be done using php's include function, and in this tutorial we'll give you an example on how to use.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_phpmysql_this-is-page1.gif","width":356,"height":292,"caption":"this-is-page1"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/using-php-include-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Using the php Include Function to Reuse Code"}]},{"@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\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1132","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1132"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1132\/revisions"}],"predecessor-version":[{"id":86354,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1132\/revisions\/86354"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}