{"id":5020,"date":"2018-05-01T09:32:27","date_gmt":"2018-05-01T13:32:27","guid":{"rendered":"https:\/\/themespress.ca\/?p=5020"},"modified":"2022-10-01T14:31:55","modified_gmt":"2022-10-01T18:31:55","slug":"randomly-display-taxonomy-terms","status":"publish","type":"post","link":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/","title":{"rendered":"Randomly Display Taxonomy Terms"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>With this tutorial, we&#8217;re going to show you how to display randomly display taxonomies. For example, we&#8217;ll create a Post Type called Event whose taxonomy will be Event Type. We consult an Event page and under its results, we want to randomly display additional taxonomy except for the one we&#8217;re currently viewing.<\/p>\n<p>They are like similar terms, but random.<\/p>\n<p>For our example:<br \/>\nPost Type: <strong>Events<\/strong><br \/>\nTaxonomy: <strong>Event type (must be the same as the category name)<\/strong><br \/>\nTemplate used: <strong>taxonomy-type-evenements.php<\/strong><\/p>\n<p>Thus we will create a query that will allow us to do so. We will use the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_terms\/\" target=\"_blank\" rel=\"noopener\"><strong>get_terms<\/strong><\/a> function and add our args. Afterwards, we will get a random result and we will indicate how many results to return. To display the results, we close the loop with a <strong>foreach<\/strong> for every term.<\/p>\n<p>We also must not forget to exclude the term we are currently consulting with the <strong>get_queried_object_id();<\/strong> that we use with our variable before the get_terms.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Randomly Display Taxonomy Terms<\/h2><div id=\"ts-enlighterjs-container-1494230\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-1494230\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"php\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">&lt;?php \n    \/\/Get all terms \n\t$currentid = get_queried_object_id(); \n\t$terms = get_terms( array( \n\t&#039;taxonomy&#039;      =&gt; &#039;type-evenements&#039;,\n\t&#039;hide_empty&#039;    =&gt; false,\n\t&#039;exclude&#039;       =&gt; array($currentid)\n\t) );\n\t\/\/ Randomize Term Array\n\tshuffle( $terms );\n\t\/\/ Grab Indices 0 - 5, 6 in total\n\t$randterms = array_slice( $terms, 0, 2 );\n?&gt;\n&lt;?php foreach ($randterms as $term) { ?&gt;\n&lt;?php \/\/\/ Votre div dynamique d&eacute;sir&eacute;e ?&gt;\n&lt;?php endforeach; wp_reset_postdata(); ?&gt;<\/pre><\/div>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>So by using get_terms, make sure to change the args for yours without adding any new ones.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type. We<div class=\"read-more\"><a class=\"btn button-secondary\" href=\"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/\">Read More<\/a><\/div>","protected":false},"author":81,"featured_media":5029,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[283],"tags":[318,357],"class_list":["post-5020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-functions","tag-taxonomy"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"With this tutorial, we&#039;re going to show you how to display randomly display taxonomies. For example, we&#039;ll create a Post Type called Event whose taxonomy will be Event Type.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Daniel\"\/>\n\t<meta name=\"google-site-verification\" content=\"t6BGEKVeq0mBMvotb-TgZMJCdlDLuU-VkrnMjlExL5M\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Themespress - Des tutoriels et ressources WordPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Randomly Display Taxonomy Terms - Themespress\" \/>\n\t\t<meta property=\"og:description\" content=\"With this tutorial, we&#039;re going to show you how to display randomly display taxonomies. For example, we&#039;ll create a Post Type called Event whose taxonomy will be Event Type.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-05-01T13:32:27-04:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-10-01T18:31:55-04:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Randomly Display Taxonomy Terms - Themespress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"With this tutorial, we&#039;re going to show you how to display randomly display taxonomies. For example, we&#039;ll create a Post Type called Event whose taxonomy will be Event Type.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#blogposting\",\"name\":\"Randomly Display Taxonomy Terms - Themespress\",\"headline\":\"Randomly Display Taxonomy Terms\",\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/Randomly-Display-Taxonomy-Terms.png\",\"width\":1920,\"height\":1667,\"caption\":\"Randomly Display Taxonomy Terms\"},\"datePublished\":\"2018-05-01T09:32:27-04:00\",\"dateModified\":\"2022-10-01T14:31:55-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#webpage\"},\"articleSection\":\"Tutorials, Functions, Taxonomy, Optional\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#listItem\",\"name\":\"Randomly Display Taxonomy Terms\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"name\":\"Accueil\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#listItem\",\"position\":3,\"name\":\"Randomly Display Taxonomy Terms\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/\",\"name\":\"Daniel\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniel\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#webpage\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/\",\"name\":\"Randomly Display Taxonomy Terms - Themespress\",\"description\":\"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/Randomly-Display-Taxonomy-Terms.png\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#mainImage\",\"width\":1920,\"height\":1667,\"caption\":\"Randomly Display Taxonomy Terms\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/randomly-display-taxonomy-terms\\\/#mainImage\"},\"datePublished\":\"2018-05-01T09:32:27-04:00\",\"dateModified\":\"2022-10-01T14:31:55-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Randomly Display Taxonomy Terms - Themespress","description":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type.","canonical_url":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"t6BGEKVeq0mBMvotb-TgZMJCdlDLuU-VkrnMjlExL5M","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#blogposting","name":"Randomly Display Taxonomy Terms - Themespress","headline":"Randomly Display Taxonomy Terms","author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2018\/05\/Randomly-Display-Taxonomy-Terms.png","width":1920,"height":1667,"caption":"Randomly Display Taxonomy Terms"},"datePublished":"2018-05-01T09:32:27-04:00","dateModified":"2022-10-01T14:31:55-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#webpage"},"isPartOf":{"@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#webpage"},"articleSection":"Tutorials, Functions, Taxonomy, Optional"},{"@type":"BreadcrumbList","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","position":1,"name":"Accueil","item":"https:\/\/themespress.ca\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","position":2,"name":"Tutorials","item":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#listItem","name":"Randomly Display Taxonomy Terms"},"previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","name":"Accueil"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#listItem","position":3,"name":"Randomly Display Taxonomy Terms","previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}}]},{"@type":"Organization","@id":"https:\/\/themespress.ca\/en\/#organization","name":"Themespress","description":"Des tutoriels et ressources WordPress","url":"https:\/\/themespress.ca\/en\/"},{"@type":"Person","@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author","url":"https:\/\/themespress.ca\/en\/author\/daniel\/","name":"Daniel","image":{"@type":"ImageObject","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniel"}},{"@type":"WebPage","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#webpage","url":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/","name":"Randomly Display Taxonomy Terms - Themespress","description":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/themespress.ca\/en\/#website"},"breadcrumb":{"@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#breadcrumblist"},"author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"creator":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2018\/05\/Randomly-Display-Taxonomy-Terms.png","@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#mainImage","width":1920,"height":1667,"caption":"Randomly Display Taxonomy Terms"},"primaryImageOfPage":{"@id":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/#mainImage"},"datePublished":"2018-05-01T09:32:27-04:00","dateModified":"2022-10-01T14:31:55-04:00"},{"@type":"WebSite","@id":"https:\/\/themespress.ca\/en\/#website","url":"https:\/\/themespress.ca\/en\/","name":"Themespress","description":"Des tutoriels et ressources WordPress","inLanguage":"en-US","publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Themespress - Des tutoriels et ressources WordPress","og:type":"article","og:title":"Randomly Display Taxonomy Terms - Themespress","og:description":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type.","og:url":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/","article:published_time":"2018-05-01T13:32:27-04:00","article:modified_time":"2022-10-01T18:31:55-04:00","twitter:card":"summary","twitter:title":"Randomly Display Taxonomy Terms - Themespress","twitter:description":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type."},"aioseo_meta_data":{"post_id":"5020","title":null,"description":"With this tutorial, we're going to show you how to display randomly display taxonomies. For example, we'll create a Post Type called Event whose taxonomy will be Event Type.","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-11-26 11:16:27","updated":"2025-06-07 23:52:05","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/\" title=\"Accueil\">Accueil<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/categorie\/tutorials\/\" title=\"Tutorials\">Tutorials<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRandomly Display Taxonomy Terms\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Accueil","link":"https:\/\/themespress.ca\/en\/"},{"label":"Tutorials","link":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/"},{"label":"Randomly Display Taxonomy Terms","link":"https:\/\/themespress.ca\/en\/randomly-display-taxonomy-terms\/"}],"_links":{"self":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/5020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/comments?post=5020"}],"version-history":[{"count":0,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/5020\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media\/5029"}],"wp:attachment":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media?parent=5020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/categories?post=5020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/tags?post=5020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}