

{"id":246,"date":"2014-10-11T01:58:48","date_gmt":"2014-10-10T20:58:48","guid":{"rendered":"https:\/\/staging-ahmadawais.kinsta.cloud\/?p=246"},"modified":"2015-08-25T17:49:32","modified_gmt":"2015-08-25T12:49:32","slug":"code-first-shortcode-wordpress","status":"publish","type":"post","link":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/","title":{"rendered":"Code Your First Shortcode in WordPress"},"content":{"rendered":"<p><a href=\"http:\/\/codex.wordpress.org\/Shortcode_API\" target=\"_blank\">Shortcode API<\/a> in WordPress is fun. It helps you create small tags to address a\u00a0chunk of code. All you do is write some [tag] and it returns the HTML\/CSS\/PHP code which you have saved inside it. Shortcodes can be used both in the Visual &amp; the Text tab of your post\/page editor. Let&#8217;s build a basic shortcode.\u00a0Building shortcodes is fun.\u00a0A\u00a0beginner can easily code a shortcode in under\u00a0one minute. Shortcodes are based upon a philosophy called DRY i.e. Don&#8217;t Repeat Yourself. E.g. I link [aboutme] page in my blog posts a lot. Same is the case with [contact] page link. Instead of writing these links each and every time, I have created shortcodes to help me optimize my workflow.<\/p>\n<h2 id=\"coding-a-shortcode-in-wordpress\">\u00a0Coding a Shortcode in WordPress<a href=\"#coding-a-shortcode-in-wordpress\" class=\"heading-link\">#<\/a><\/h2>\n<p>The algorithm of using shortcode API in WordPress is quite a simple one. All you have to do is write a function, return something and register a tag, which is then later used to render the shortcode. Let&#8217;s take an easy example;<\/p>\n<p>I am going to create a basic shortcode which will help me in linking to my [aboutme] page in form of a shortcode [ aa_me]. So, I registered a function <strong>aa_me_shortcode()<\/strong> which is returning some HTML code(the code between <strong>return&#8217;<\/strong>HTML\/CSS_CODE<strong>&#8216;;<\/strong>). After that <strong>add_shortcode<\/strong>() function is registering [aa_me] against the same <strong>aa_me_shortcode()<\/strong> function.<\/p>\n<p>Modify this code, and paste it inside your theme&#8217;s <strong>functions.php<\/strong> file. At the very end before the closing PHP tag i.e. ?&gt;. Don&#8217;t copy the &lt;?php ?&gt; tags from the code.<br \/>\n<script src=\"https:\/\/gist.github.com\/ahmadawais\/a32172c85b308232ce63.js\"><\/script>After saving the file go to the editor and type [aa_me] to render the shortcode. That&#8217;s about it. Enjoy building awesome shortcodes. <\/p>\n<h2 id=\"two-more-shortcodes\">Two More Shortcodes<a href=\"#two-more-shortcodes\" class=\"heading-link\">#<\/a><\/h2>\n<p>I have coded two more shortcodes for you people. One is for custom placement of Adsense or any other ads code. Other one hides the content inside it from users who are not logged in. Usage examples are given inside the code in a commented form.<script src=\"https:\/\/gist.github.com\/ahmadawais\/c50bfebdbc7aef0006bf.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shortcode API in WordPress is fun. It helps you create small tags to address a\u00a0chunk of code. All you do is write some [tag] and it returns the HTML\/CSS\/PHP code which you have saved inside it. Shortcodes can be used both in the Visual &amp; the Text tab of your post\/page editor. Let&#8217;s build a basic shortcode.\u00a0Building shortcodes is fun.\u00a0A\u00a0beginner can easily code a shortcode in under\u00a0one minute. Shortcodes are based upon a philosophy called DRY i.e. Don&#8217;t Repeat Yourself. E.g. I link [aboutme] page in my blog posts a lot. Same is the case with [contact] page link. Instead [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":250,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[9,10],"tags":[65],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.4.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Code Your First Shortcode in WordPress<\/title>\n<meta name=\"description\" content=\"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It&#039;s that easy.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code Your First Shortcode in WordPress\" \/>\n<meta property=\"og:description\" content=\"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It&#039;s that easy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Ahmad Awais\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/AhmadAwais\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/AhmadAwais\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-10T20:58:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-25T12:49:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/MrAhmadAwais\" \/>\n<meta name=\"twitter:site\" content=\"@MrAhmadAwais\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ahmad Awais\" \/>\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\":\"WebSite\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#website\",\"url\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/\",\"name\":\"Ahmad Awais\",\"description\":\"Open Source Developer Advocate\",\"publisher\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png\",\"contentUrl\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png\",\"width\":800,\"height\":600,\"caption\":\"Code your first Shortcode in WordPress\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage\",\"url\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/\",\"name\":\"Code Your First Shortcode in WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage\"},\"datePublished\":\"2014-10-10T20:58:48+00:00\",\"dateModified\":\"2015-08-25T12:49:32+00:00\",\"description\":\"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It's that easy.\",\"breadcrumb\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code Your First Shortcode in WordPress\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage\"},\"author\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b\"},\"headline\":\"Code Your First Shortcode in WordPress\",\"datePublished\":\"2014-10-10T20:58:48+00:00\",\"dateModified\":\"2015-08-25T12:49:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage\"},\"wordCount\":348,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b\"},\"image\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png\",\"keywords\":[\"code a shortcode\"],\"articleSection\":[\"Tutorials\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b\",\"name\":\"Ahmad Awais\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg\",\"contentUrl\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg\",\"width\":2299,\"height\":1705,\"caption\":\"Ahmad Awais\"},\"logo\":{\"@id\":\"https:\/\/staging-ahmadawais.kinsta.cloud\/#personlogo\"},\"description\":\"Helping businesses understand developers. Head of Developer Relations RapidAPI. \ud83d\udcdf Edutainer at Node.js CLI Automation course (100 videos \u00b7 22 Projects) & VSCode.pro course (over 20K devs). \ud83c\udfa9 Award-winning Open Source Engineer & Dev Advocate \ud83e\udd8a Google Developers Expert Web DevRel \ud83d\ude80 Mars Ingenuity Helicopter code contributor \ud83c\udfc6 8th GitHub Stars Award recipient \ud83c\udf33 Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator. \u270c\ufe0f Author of various open-source dev-tools and software libraries used by millions of developers worldwide \u24e6 WordPress Core Developer \ud83d\udce3 TEDx Speaker with 100+ international talks. \ud83d\udd25 Satya Nadella \u00b7 CEO of Microsoft, said \u2014 Awais is an awesome example for developers. \ud83d\ude4c Leading developers and publishing technical content for over a decade \ud83d\udc9c Loves his wife (Maedah) \u276f Read more about Ahmad Awais. \ud83d\udc4b\u2026 Awais is mostly active on Twitter @MrAhmadAwais\",\"sameAs\":[\"https:\/\/staging-ahmadawais.kinsta.cloud\",\"https:\/\/facebook.com\/AhmadAwais\",\"https:\/\/instagram.com\/MrAhmadAwais\/\",\"https:\/\/www.linkedin.com\/in\/MrAhmadAwais\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/MrAhmadAwais\",\"https:\/\/youtube.com\/AhmadAwais\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Code Your First Shortcode in WordPress","description":"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It's that easy.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Code Your First Shortcode in WordPress","og_description":"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It's that easy.","og_url":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/","og_site_name":"Ahmad Awais","article_publisher":"https:\/\/facebook.com\/AhmadAwais","article_author":"https:\/\/facebook.com\/AhmadAwais","article_published_time":"2014-10-10T20:58:48+00:00","article_modified_time":"2015-08-25T12:49:32+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/MrAhmadAwais","twitter_site":"@MrAhmadAwais","twitter_misc":{"Written by":"Ahmad Awais","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#website","url":"https:\/\/staging-ahmadawais.kinsta.cloud\/","name":"Ahmad Awais","description":"Open Source Developer Advocate","publisher":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/staging-ahmadawais.kinsta.cloud\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage","inLanguage":"en-US","url":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png","contentUrl":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png","width":800,"height":600,"caption":"Code your first Shortcode in WordPress"},{"@type":"WebPage","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage","url":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/","name":"Code Your First Shortcode in WordPress","isPartOf":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#website"},"primaryImageOfPage":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage"},"datePublished":"2014-10-10T20:58:48+00:00","dateModified":"2015-08-25T12:49:32+00:00","description":"Shortcode API in WordPress is epic fun. Learn from Ahmad Awais how to code a shortcode in WordPress within 60 seconds. Yes! It's that easy.","breadcrumb":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/staging-ahmadawais.kinsta.cloud\/"},{"@type":"ListItem","position":2,"name":"Code Your First Shortcode in WordPress"}]},{"@type":"Article","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#article","isPartOf":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage"},"author":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"headline":"Code Your First Shortcode in WordPress","datePublished":"2014-10-10T20:58:48+00:00","dateModified":"2015-08-25T12:49:32+00:00","mainEntityOfPage":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#webpage"},"wordCount":348,"commentCount":2,"publisher":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"image":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png","keywords":["code a shortcode"],"articleSection":["Tutorials","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/staging-ahmadawais.kinsta.cloud\/code-first-shortcode-wordpress\/#respond"]}]},{"@type":["Person","Organization"],"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b","name":"Ahmad Awais","image":{"@type":"ImageObject","@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#personlogo","inLanguage":"en-US","url":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","contentUrl":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","width":2299,"height":1705,"caption":"Ahmad Awais"},"logo":{"@id":"https:\/\/staging-ahmadawais.kinsta.cloud\/#personlogo"},"description":"Helping businesses understand developers. Head of Developer Relations RapidAPI. \ud83d\udcdf Edutainer at Node.js CLI Automation course (100 videos \u00b7 22 Projects) & VSCode.pro course (over 20K devs). \ud83c\udfa9 Award-winning Open Source Engineer & Dev Advocate \ud83e\udd8a Google Developers Expert Web DevRel \ud83d\ude80 Mars Ingenuity Helicopter code contributor \ud83c\udfc6 8th GitHub Stars Award recipient \ud83c\udf33 Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator. \u270c\ufe0f Author of various open-source dev-tools and software libraries used by millions of developers worldwide \u24e6 WordPress Core Developer \ud83d\udce3 TEDx Speaker with 100+ international talks. \ud83d\udd25 Satya Nadella \u00b7 CEO of Microsoft, said \u2014 Awais is an awesome example for developers. \ud83d\ude4c Leading developers and publishing technical content for over a decade \ud83d\udc9c Loves his wife (Maedah) \u276f Read more about Ahmad Awais. \ud83d\udc4b\u2026 Awais is mostly active on Twitter @MrAhmadAwais","sameAs":["https:\/\/staging-ahmadawais.kinsta.cloud","https:\/\/facebook.com\/AhmadAwais","https:\/\/instagram.com\/MrAhmadAwais\/","https:\/\/www.linkedin.com\/in\/MrAhmadAwais\/","https:\/\/twitter.com\/https:\/\/twitter.com\/MrAhmadAwais","https:\/\/youtube.com\/AhmadAwais"]}]}},"jetpack_featured_media_url":"https:\/\/staging-ahmadawais.kinsta.cloud\/wp-content\/uploads\/2014\/10\/Code-your-first-Shortcode-in-WordPress.png","_links":{"self":[{"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/posts\/246"}],"collection":[{"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/comments?post=246"}],"version-history":[{"count":0,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/posts\/246\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/media\/250"}],"wp:attachment":[{"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/media?parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/categories?post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging-ahmadawais.kinsta.cloud\/api\/wp\/v2\/tags?post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}