{"id":64644,"date":"2020-12-10T16:25:25","date_gmt":"2020-12-10T21:25:25","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=64644"},"modified":"2026-03-11T10:29:54","modified_gmt":"2026-03-11T14:29:54","slug":"wpgraphql-guide","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/","title":{"rendered":"A Beginner&#8217;s Guide to WPGraphQL"},"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\/12\/beginners-guide-wpgraphql-1024x538.jpg\" alt=\"Beginner's Guide to WPGraphQL header image\" class=\"wp-image-64648\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Creating queries to interact with data in the backend of WordPress can be difficult without using a few tools.\u00a0 One of the more recent plugins that can be added for this purpose is the plugin called <strong>WPGraphQL<\/strong>.\u00a0 With this plugin, you can create queries using the <strong>GraphQL <\/strong>syntax that has become a developer favorite in recent years.\u00a0 This guide will show you how to install the plugin and give you some basics on how it can be used within your WordPress site.\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#what-is-graphql\">What is WPGraphQL?<\/a><\/li>\n\n\n\n<li><a href=\"#installing\">Installing WPGraphQL<\/a><\/li>\n\n\n\n<li><a href=\"#using-graphql\">Using the Integrated Development Environment (IDE) \u2013 GraphiQL<\/a><\/li>\n\n\n\n<li><a href=\"#using-graphiql\">Using GraphiQL IDE<\/a><\/li>\n<\/ul>\n\n\n<div class=\"jumbotron\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; float: right; margin-left: 12px;\" src=\"https:\/\/design.inmotionhosting.com\/assets\/legacy\/images\/website-transfer.svg\" alt=\"Easy WordPress Website Transfers\" width=\"80\" height=\"80\" \/>\r\n<p>If you\u2019re having trouble with your WordPress host, then check out InMotion\u2019s <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\">WordPress Hosting<\/a>. We provide secure, optimized servers that are priced to meet your budget needs!<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Free Domain    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Free SSLs    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Unlimited Bandwidth<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\">WordPress Hosting<\/a><\/p>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-graphql\">What is WPGraphQL?<\/h2>\n\n\n\n<p>WPGraphQL is a free plugin for WordPress that allows WordPress developers to use GraphQL. GraphQL was created by Facebook developers in 2012.\u00a0 It was later publicly released in 2015 as an open-source data query language for<strong> Application Programming Interfaces<\/strong> (APIs).<\/p>\n\n\n\n<p>GraphQL allows developers to use syntax in order to ask for and get data. It has some great advantages:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can get specific data that you need in queries.<\/li>\n\n\n\n<li>You can access several resources with references to those resources.\u00a0 This allows for multiple queries to be completed in a single request resulting in speedier applications even with slow network connections.<\/li>\n\n\n\n<li>Provides a type system in order to describe queried data.<\/li>\n\n\n\n<li>The plugin also provides the GraphQL schema and API which can be extended for your development needs.<\/li>\n<\/ul>\n\n\n\n<p>WPGraphQL uses the <a href=\"https:\/\/relay.dev\/docs\/en\/graphql-server-specification.html\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Relay Specification for GraphQL servers<\/a>.  The plugin provides an interface to execute queries and mutations.  Mutations allow GraphQL to create, update, or delete data in WordPress.<\/p>\n\n\n\n<p>WPGraphQL is a great tool in that it allows content creators to stick with using WordPress for the front end while developers can use their frameworks and tools to gather data for the backend.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing\">Installing WPGraphQL<\/h2>\n\n\n\n<p>WPGraphQL is installed like any other WordPress plugin.\u00a0 It is a quick and easy process.\u00a0 Just follow the steps below:<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/logging-into-wordpress-dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log into the WordPress Administrator Dashboard.<\/a><\/li>\n\n\n\n<li>In the main menu, click on <strong>Plugins<\/strong>.<\/li>\n\n\n\n<li>Next, click on <strong>Add New<\/strong>.<\/li>\n\n\n\n<li>In the search field, type \u201cWPGraphQL\u201d.\u00a0 This will bring up the plugin with an Install button. Click on <strong>Install Now<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>Activate<\/strong> when the installation is finished to enable the plugin for your site.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d2756f3387e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d2756f3387e\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"313\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" data-id=\"64646\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-install.jpg\" alt=\"Plugin install\" class=\"wp-image-64646\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-install.jpg 637w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-install-300x147.jpg 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d2756f33e09&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d2756f33e09\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"289\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" data-id=\"64645\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-activate.jpg\" alt=\"Activate plugin\" class=\"wp-image-64645\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-activate.jpg 637w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/wpgraphql-activate-300x136.jpg 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"using-graphql\">Using GraphQL<\/h2>\n\n\n\n<p>Before you can begin to use the WPGraphQL plugin, you would need to understand how to use <a href=\"https:\/\/www.graphql.org\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">GraphQL<\/a>. GraphQL is the actual syntax that the plugin allows you to use in order to create your queries.\u00a0<\/p>\n\n\n\n<p>You can use the plugin to build a service in GraphQL using many different languages. The libraries that support GraphQL include JavaScript, PHP, Python, C#, Ruby, C++, and Scala to name just a few.\u00a0\u00a0 You can find much more information on using the libraries by going to the <a href=\"https:\/\/graphql.org\/code\/\" target=\"_blank\" aria-label=\"Code page of the GraphQL website (opens in a new tab)\" rel=\"noreferrer noopener\">Code page of the GraphQL website<\/a>.<\/p>\n\n\n\n<p>To learn more about using GraphQL, check out their <a href=\"https:\/\/graphql.org\/learn\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">website<\/a> for a great primer.\u00a0 GraphQL.org also partnered with edX to provide a free online course:\u00a0 <a href=\"https:\/\/www.edx.org\/course\/exploring-graphql-a-query-language-for-apis\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Exploring GraphQL: A Query Language for APIs<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"using-graphiql\">Using the Integrated Development Environment (IDE) \u2013 GraphiQL<\/h2>\n\n\n\n<p>In order to make use of GraphQL in WordPress, the WPGraphQL plugin provides an IDE called <strong>GraphiQL<\/strong>.\u00a0 Here you can test your queries.\u00a0 When the plugin is installed you will find <strong>GraphQL<\/strong> in the main menu.\u00a0 The GraphiQL IDE can be accessed through the menu or through a link at the top of the home page in the dashboard.<\/p>\n\n\n\n<p>You can use the <strong>GraphiQL IDE<\/strong> to create new queries or mutations.\u00a0 When you click on <strong>GraphiQL IDE<\/strong> option, then you will see the following interface:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1011\" height=\"751\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/graphiql-ide-page.jpg\" alt=\"GraphiQL IDE interface in WordPress\" class=\"wp-image-64647\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/graphiql-ide-page.jpg 1011w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/graphiql-ide-page-300x223.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/graphiql-ide-page-768x570.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>For more specific and detailed information on using WPGraphQL, check out their documentation at the <a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/wpgraphql.com\/docs\" target=\"_blank\">WPGraphQL<\/a> website.\u00a0 They provide you all the information and additional tools to help build your GraphQL queries in WordPress.<br><\/p>\n\n\n<p>Become a master of <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/\">WordPress plugins<\/a>! Protect, optimize, secure, and expand the functionality of your website easily with the help of WordPress plugins!<\/p>\n\n\n\n<p>For additional tips and tricks on using WordPress, check out our <a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/\" target=\"_blank\">WordPress Educational Channel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating queries to interact with data in the backend of WordPress can be difficult without using a few tools.&nbsp; One of the more recent plugins that can be added for this purpose is the plugin called WPGraphQL.&nbsp; With this plugin, you can create queries using the GraphQL syntax that has become a developer favorite in<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\"> Read More ><\/a><\/p>\n","protected":false},"author":7,"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":[4379],"tags":[],"class_list":["post-64644","post","type-post","status-publish","format-standard","hentry","category-plugins"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Beginner&#039;s Guide to WPGraphQL | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.\" \/>\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\/edu\/wordpress\/plugins\/wpgraphql-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Beginner&#039;s Guide to WPGraphQL | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\" \/>\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-12-10T21:25:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T14:29:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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\/edu\/wordpress\/plugins\/wpgraphql-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\"},\"headline\":\"A Beginner&#8217;s Guide to WPGraphQL\",\"datePublished\":\"2020-12-10T21:25:25+00:00\",\"dateModified\":\"2026-03-11T14:29:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\"},\"wordCount\":661,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-1024x538.jpg\",\"articleSection\":[\"WordPress Plugins\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\",\"name\":\"A Beginner's Guide to WPGraphQL | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-1024x538.jpg\",\"datePublished\":\"2020-12-10T21:25:25+00:00\",\"dateModified\":\"2026-03-11T14:29:54+00:00\",\"description\":\"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg\",\"width\":1200,\"height\":630,\"caption\":\"WPGraph Plugin Guide header image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Beginner&#8217;s Guide to WPGraphQL\"}]},{\"@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\/8d626175dd3b70ee90a172bdb09a460b\",\"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\/arn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Beginner's Guide to WPGraphQL | InMotion Hosting","description":"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.","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\/edu\/wordpress\/plugins\/wpgraphql-guide\/","og_locale":"en_US","og_type":"article","og_title":"A Beginner's Guide to WPGraphQL | InMotion Hosting","og_description":"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-12-10T21:25:25+00:00","article_modified_time":"2026-03-11T14:29:54+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg","type":"image\/jpeg"}],"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\/edu\/wordpress\/plugins\/wpgraphql-guide\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b"},"headline":"A Beginner&#8217;s Guide to WPGraphQL","datePublished":"2020-12-10T21:25:25+00:00","dateModified":"2026-03-11T14:29:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/"},"wordCount":661,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-1024x538.jpg","articleSection":["WordPress Plugins"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/","name":"A Beginner's Guide to WPGraphQL | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql-1024x538.jpg","datePublished":"2020-12-10T21:25:25+00:00","dateModified":"2026-03-11T14:29:54+00:00","description":"Learn about the WPGraphQL plugin and how it can be used for creating queries for the backend of your WordPress site.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/beginners-guide-wpgraphql.jpg","width":1200,"height":630,"caption":"WPGraph Plugin Guide header image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wpgraphql-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"A Beginner&#8217;s Guide to WPGraphQL"}]},{"@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\/8d626175dd3b70ee90a172bdb09a460b","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\/arn\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4379,"name":"WordPress Plugins","slug":"plugins","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64644","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=64644"}],"version-history":[{"count":12,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64644\/revisions"}],"predecessor-version":[{"id":131631,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64644\/revisions\/131631"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=64644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=64644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=64644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}