{"id":3940,"date":"2021-09-24T09:47:06","date_gmt":"2021-09-24T09:47:06","guid":{"rendered":"https:\/\/developers.wpastra.com\/astra-theme\/reference\/classes\/astra_related_posts_markup\/astra_get_related_posts_by_query\/"},"modified":"2026-04-08T18:46:13","modified_gmt":"2026-04-08T18:46:13","slug":"astra_related_posts_markup-astra_get_related_posts_by_query","status":"publish","type":"wp-parser-method","link":"https:\/\/developers.wpastra.com\/astra-theme\/reference\/classes\/astra_related_posts_markup\/astra_get_related_posts_by_query\/","title":{"rendered":"Astra_Related_Posts_Markup::astra_get_related_posts_by_query()"},"excerpt":{"rendered":"<p><b>Method: <\/b>Get related posts based on configurations.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false},"wp-parser-source-file":[520],"wp-parser-package":[11],"wp-parser-since":[320],"_links":{"self":[{"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-method\/3940"}],"collection":[{"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-method"}],"about":[{"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/types\/wp-parser-method"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/comments?post=3940"}],"version-history":[{"count":1,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-method\/3940\/revisions"}],"predecessor-version":[{"id":6240,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-method\/3940\/revisions\/6240"}],"wp:attachment":[{"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/media?parent=3940"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-source-file?post=3940"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-package?post=3940"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developers.wpastra.com\/astra-theme\/wp-json\/wp\/v2\/wp-parser-since?post=3940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}