{"id":100066,"date":"2025-02-05T18:20:08","date_gmt":"2025-02-06T00:20:08","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=resource&#038;p=100066"},"modified":"2025-02-11T18:21:37","modified_gmt":"2025-02-12T00:21:37","slug":"wp_query-in-wordpress","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/","title":{"rendered":"Perform Queries: WordPress WP_Query"},"content":{"rendered":"\n<p><a href=\"https:\/\/codex.wordpress.org\/Database_Description\" target=\"_blank\" rel=\"noreferrer noopener\">The database<\/a> that feeds your WordPress website is full of valuable information. This is what makes it possible to filter your posts and pages by many different variables. If what you want to display is not part of your theme, however, there are other ways of using that data.&nbsp;<\/p>\n\n\n\n<p>This is where <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP_Query<\/a> comes in. This is a <a href=\"https:\/\/www.php.net\/manual\/en\/language.oop5.php\" target=\"_blank\" rel=\"noreferrer noopener\">PHP class<\/a> that makes use of a wide variety of parameters. Consequently, it enables you to pull data from the WordPress database for use or display on your website.&nbsp;<\/p>\n\n\n\n<p>In this article, we\u2019ll provide a deeper understanding of the WP_Query class and how it can be used. We\u2019ll also walk you through some important steps to follow when using it. If you\u2019re ready, let\u2019s dive right in!&nbsp;<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">What is WP_Query?<\/h2>\n\n\n\n<p>As we mentioned, WP_Query is a PHP class used by the WordPress database. This particular class can do several things, but primarily it\u2019s used to pull posts from the database.&nbsp;<\/p>\n\n\n\n<p>As its name indicates, it makes a query based on the criteria you set for it. Since there are <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#parameters\" target=\"_blank\" rel=\"noreferrer noopener\">a lot of parameters<\/a> you can use with WP_Query in WordPress, you can pull and display posts in a number of unique ways. We\u2019ll explore those options in greater detail later in this post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use WP_Query<\/h2>\n\n\n\n<p>Even if you\u2019re just learning the various aspects of the WordPress codebase, WP_Query is a good class to get started with. Now, let\u2019s break down four different ways you can use it on your website.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Get Started with a Custom Loop&nbsp;<\/h3>\n\n\n\n<p>One of the best ways to get to know the WP_Query call is through <a href=\"https:\/\/developer.wordpress.org\/themes\/basics\/the-loop\/\" target=\"_blank\" rel=\"noreferrer noopener\">the WordPress Loop<\/a>. If you\u2019re not familiar with what the Loop is, it\u2019s an important concept to read up on.<\/p>\n\n\n\n<p>The Loop is what calls to the database asking for post content, and displays the data that is returned. It also functions based on set parameters, such as how many posts you want your site to display on a single page (something you can configure in your <em>Settings &gt; Reading<\/em> menu).<\/p>\n\n\n\n<p>The very basics of the Loop look like this:<\/p>\n\n\n\n<p><code>&lt;?php<br>if ( have_posts() ) :<br>&nbsp;&nbsp;&nbsp;&nbsp;while ( have_posts() ) : the_post();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ Display post content<br>&nbsp;&nbsp;&nbsp;&nbsp;endwhile;<br>endif;<br>?&gt;<\/code><\/p>\n\n\n\n<p>This simple statement is essentially saying that if there are posts, they should be displayed. Of course, you can add a wide variety of <a href=\"https:\/\/developer.wordpress.org\/themes\/references\/list-of-template-tags\/\" target=\"_blank\" rel=\"noreferrer noopener\">template tags<\/a> to this foundation, in order to create the display you want.<\/p>\n\n\n\n<p>You can also insert WP_Query into the Loop. This enables you to place parameters on what posts will be returned. Let\u2019s break down what that would look like:&nbsp;<\/p>\n\n\n\n<p><code>&lt;?php<br><br>\/\/ The Query<br>$the_query = new WP_Query( $args );<br><br>\/\/ The Loop<br>if ( $the_query-&gt;have_posts() ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;ul&gt;';<br>&nbsp;&nbsp;&nbsp;&nbsp;while ( $the_query-&gt;have_posts() ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$the_query-&gt;the_post();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;li&gt;' . get_the_title() . '&lt;\/li&gt;';<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;\/ul&gt;';<br>} else {<br>&nbsp;&nbsp;&nbsp;&nbsp;\/\/ no posts found<br>}<br>\/* Restore original Post Data *\/<br>wp_reset_postdata();<\/code><\/p>\n\n\n\n<p>You\u2019ll see the same <em>if\/while<\/em> statements from the basic Loop, but there is an additional WP_Query string. Whatever parameters are set here will determine what posts will be displayed.&nbsp;<\/p>\n\n\n\n<p>For example, if you wanted to <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#author-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">exclude a certain author<\/a> from a list of posts, you could do that in the Loop with WP_Query:&nbsp;<\/p>\n\n\n\n<p><code>$query = new WP_Query( array( 'author' =&gt; -12 ) );<\/code><\/p>\n\n\n\n<p>By placing this in the Loop, your displayed posts would no longer include the user with the author number of 12.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#properties-and-methods\" target=\"_blank\" rel=\"noreferrer noopener\">number of parameters<\/a> you can use with this method are just about endless. You can <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#category-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">include category information<\/a> as well as <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#taxonomy-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">advanced taxonomies<\/a>, just to give two examples.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Arguments: The Backbone of Custom Queries in WordPress<\/h3>\n\n\n\n<p>In the previous example, you may have noticed \u201c($args)\u201d as a part of the string. This is a vital part of the query that refers to the included &#8220;arguments.&#8221; It tells the database exactly what to include in the returned data.&nbsp;<\/p>\n\n\n\n<p>Essentially, these arguments can be set up to determine the exact results you want to display. Arguments can be used to change the value of variables as well. For example, if you want to change how your list of categories appears on the page, you can use an argument.&nbsp;<\/p>\n\n\n\n<p>Your argument will define an array of variables and values. So if you want to, you can use an argument to define an array and tell your database to present the categories in descending order. Additionally, you can use the same method to exclude any categories that don\u2019t contain posts.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Parameters in WP_Query: Category, Tag, and More&nbsp;<\/h3>\n\n\n\n<p>Up to this point, we\u2019ve only mentioned parameters in passing. At this point, let\u2019s look closer at what they can actually do. Their primary function is to enable you to pull custom-designed collections of posts.&nbsp;<\/p>\n\n\n\n<p>One <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#parameters\" target=\"_blank\" rel=\"noreferrer noopener\">example of a parameter<\/a> that can be used in the header of your site is the <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#category-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">Category parameter<\/a>. You can use this to specify specific categories for display. This is done by providing the relevant category number or slug.&nbsp;<\/p>\n\n\n\n<p>Additionally, you can do the same thing with the <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#tag-parameters\" target=\"_blank\" rel=\"noreferrer noopener\">Tag parameter<\/a>. Of course, the Category and Tag parameters are really just the tip of the iceberg when it comes to using WP_Query.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Modify Objects with Methods and Properties&nbsp;<\/h3>\n\n\n\n<p>While it\u2019s not recommended to directly alter the <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#properties-and-methods\" target=\"_blank\" rel=\"noreferrer noopener\">properties of a class<\/a> like WP_Query, you can interact with them <a href=\"https:\/\/developer.wordpress.org\/reference\/methods\/\" target=\"_blank\" rel=\"noreferrer noopener\">by using methods<\/a>. Essentially, methods are like <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/\" target=\"_blank\" rel=\"noreferrer noopener\">functions<\/a>, while properties are the equivalent of <a href=\"https:\/\/codex.wordpress.org\/Global_Variables\" target=\"_blank\" rel=\"noreferrer noopener\">variables<\/a>.&nbsp;<\/p>\n\n\n\n<p>WP_Query has <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/#properties\" target=\"_blank\" rel=\"noreferrer noopener\">many properties<\/a>. These range from simple \u201c$posts\u201d properties to more complicated ones. Whatever method is used to interact with them, data will be returned based on the parameters you choose to put in place.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WP_Query vs. query_posts() in WordPress<\/h2>\n\n\n\n<p>It\u2019s worth noting there is another way to modify the main query on your page. This is the query_posts() function. While this can work in a similar way to WP_Query, it can also be very problematic.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/query_posts\/\" target=\"_blank\" rel=\"noreferrer noopener\">The WordPress Code Reference<\/a> even strongly advises that you do not use this function inside your website\u2019s main Loop. It\u2019s also best to avoid it in plugins and themes. This is because it will completely override your main query.&nbsp;<\/p>\n\n\n\n<p>The WP_Query class is preferred, because you can also &#8220;reset&#8221; the main Loop after you run a query. Since WP_Query allows you to run multiple queries in a loop, you\u2019ll want to understand how to implement the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_reset_postdata\/\" target=\"_blank\" rel=\"noreferrer noopener\">wp_reset_postdata<\/a> function as well.<\/p>\n\n\n\n<p>If you\u2019ve embedded a secondary loop inside the main WordPress Loop, the reset function will be placed at the end and look like this:&nbsp;<\/p>\n\n\n\n<p><code>&lt;?php wp_reset_postdata(); ?&gt;<\/code><\/p>\n\n\n\n<p>This will restore the default template tags, and you\u2019ll be back to how things were before your secondary loop was initiated.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Customize Your WordPress Site with WP Engine&nbsp;<\/h2>\n\n\n\n<p>Being able to make adjustments to how items are displayed on your website is just one of the benefits of using WordPress. Understanding WP_Query and leveraging the tools provided on the <a href=\"https:\/\/developer.wordpress.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">developer resources<\/a> page can help you build truly customized websites.&nbsp;<\/p>\n\n\n\n<p>Here at WP Engine, we\u2019re passionate about making sure you have the resources and high-quality <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting for WordPress sites<\/a> so you can focus on building and managing engaging websites. Check out our <a href=\"https:\/\/wpengine.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">solutions and hosting plans for WordPress sites<\/a> today!\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The database that feeds your WordPress website is full of valuable information. This is what makes it possible to filter your posts and pages by many different variables. If what you want to display is not part of your theme, however, there are other ways of using that data.&nbsp; This is where WP_Query comes in.<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":177,"featured_media":146528,"template":"","resource-topic":[901],"resource-role":[896,897],"resource-type":[916],"class_list":["post-100066","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use WP_Query in WordPress<\/title>\n<meta name=\"description\" content=\"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use WP_Query in WordPress\" \/>\n<meta property=\"og:description\" content=\"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress with WP Engine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-12T00:21:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2020\/02\/query-header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Use WP_Query in WordPress\" \/>\n<meta name=\"twitter:description\" content=\"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress with WP Engine.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2020\/02\/query-header.png\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/\",\"name\":\"How to Use WP_Query in WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2025-02-06T00:20:08+00:00\",\"dateModified\":\"2025-02-12T00:21:37+00:00\",\"description\":\"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Perform Queries: WordPress WP_Query\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/aba73ed4c15eda43b5fd78844ec31fad\",\"name\":\"Samantha Rodriguez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g\",\"caption\":\"Samantha Rodriguez\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use WP_Query in WordPress","description":"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to Use WP_Query in WordPress","og_description":"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress with WP Engine.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2025-02-12T00:21:37+00:00","og_image":[{"width":1100,"height":500,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2020\/02\/query-header.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_title":"How to Use WP_Query in WordPress","twitter_description":"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress with WP Engine.","twitter_image":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2020\/02\/query-header.png","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/","name":"How to Use WP_Query in WordPress","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2025-02-06T00:20:08+00:00","dateModified":"2025-02-12T00:21:37+00:00","description":"WP_Query allows users to perform complex queries to retrieve data from the WordPress database. Learn how to use WP_Query in WordPress.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wp_query-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"Perform Queries: WordPress WP_Query"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/aba73ed4c15eda43b5fd78844ec31fad","name":"Samantha Rodriguez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g","caption":"Samantha Rodriguez"}}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2020\/02\/query-grid.png","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Developer, Freelancer","topic":"<strong>Topics:<\/strong> WordPress","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/100066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/146528"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=100066"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=100066"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=100066"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=100066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}