{"id":552,"date":"2015-05-10T20:54:46","date_gmt":"2015-05-10T15:54:46","guid":{"rendered":"https:\/\/ahmadawais.com\/?p=552"},"modified":"2015-05-24T16:52:33","modified_gmt":"2015-05-24T11:52:33","slug":"edd-taxonomy-terms-includeexclude-and-redux-select-field","status":"publish","type":"post","link":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/","title":{"rendered":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field"},"content":{"rendered":"<p>Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I could display posts from a particular term while excluding other particular terms. Secondly, I wanted to provide end-user with a <a href=\"https:\/\/select2.github.io\/examples.html\" target=\"_blank\">select-2<\/a> based drop down menu to select from the present terms of a custom taxonomy.<\/p>\n<h2 id=\"context\">Context<a href=\"#context\" class=\"heading-link\">#<\/a><\/h2>\n<p>Think of a theme which displays three different blocks of posts on the homepage. Basically, I am building a theme for <a href=\"https:\/\/wordpress.org\/plugins\/easy-digital-downloads\/\" target=\"_blank\">Easy Digital Downloads<\/a> plugin. Now think again, at the homepage you need to add three different blocks of posts from three different terms of EDD&#8217;s Categories. Where EDD&#8217;s categories are based upon a custom taxonomy called\u00a0<strong>download_category<\/strong>.<\/p>\n<h3 id=\"data-set\">Data Set<a href=\"#data-set\" class=\"heading-link\">#<\/a><\/h3>\n<ul>\n<li><strong>Block #1:<\/strong> It will display posts from the term\u00a0<strong>Featured<\/strong>\u00a0from EDD categories while any post in terms <strong>Recent<\/strong> and <strong>Deals<\/strong> would be excluded<\/li>\n<li><strong>Block #2:<\/strong> It will display posts from the term\u00a0<strong>Recent<\/strong>\u00a0from EDD categories while any post in terms <strong>Featured<\/strong>\u00a0and <strong>Deals<\/strong> would be excluded<\/li>\n<li><strong>Block #3:<\/strong> It will display posts from the term\u00a0<strong>Deals<\/strong>\u00a0from EDD categories while any post in terms <strong>Featured<\/strong>\u00a0and <strong>Recent<\/strong>\u00a0would be excluded<\/li>\n<\/ul>\n<h2 id=\"building-a-custom-wpquery\">Building a custom WPQuery<a href=\"#building-a-custom-wpquery\" class=\"heading-link\">#<\/a><\/h2>\n<p>First of all I needed to build a custom query. While building custom WPQuery for taxonomy you need to realize that it is pretty different from simple queries of custom post types. Here one needs to build an array for <strong>tax_query<\/strong> argument. Inside this array we define the relation of two more arrays of posts where former is responsible for selecting the posts from a term and later array is responsible for excluding posts from defined terms. Here is how I did it.<br \/>\n<script src=\"https:\/\/gist.github.com\/ahmadawais\/fe5be048bcc0b1a1e4ff.js\"><\/script>Where term ID 7 is the <strong>Featured<\/strong> term ID and 5,6 are for <strong>Recent<\/strong> and <strong>Deals<\/strong> terms respectively.<\/p>\n<h2 id=\"adding-a-terms-to-redux-field-type-select\">Adding a\u00a0terms to Redux field type: select<a href=\"#adding-a-terms-to-redux-field-type-select\" class=\"heading-link\">#<\/a><\/h2>\n<p>I use <a href=\"http:\/\/reduxframework.com\" target=\"_blank\">Redux Framework<\/a> to provide my theme users with a set of options in form of a <strong>Theme Settings<\/strong> page. Luckily Redux offers a select-2 based field type called select. I wanted to provide theme users with a drop down panel from where they could select a particular category \u00a0for a particular block i.e. term from a custom taxonomy.<\/p>\n<p>All I had to do was build a custom arguments array to\u00a0define which particular custom taxonomy should be used to populate the select-2 based drop-down menu. So, I went ahead and started reading the <a href=\"http:\/\/docs.reduxframework.com\/core\/fields\/select\/\" target=\"_blank\">docs for select field<\/a>. I must say Dovy Paukstys (@<a href=\"https:\/\/twitter.com\/SimpleRain\" target=\"_blank\">SimpleRain<\/a>) has done a pretty good job with Redux framework and its documentation. Though at first, I was not able to make much sense out of it. Then after several iterations I finally found a solution which I intend to document today. \u00a0 \u00a0<script src=\"https:\/\/gist.github.com\/ahmadawais\/7bd77f794d729ca10206.js\"><\/script><br \/>\nLook at line #14, I have added an array where I defined the custom taxonomy which should be used to populate terms in the select drop down. This is how it looks inside theme options.<\/p>\n<\/section>\n<div class=\"postcontents full dark\">\n<div class=\"wrapper\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-554\" src=\"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Terms-in-redux-select.png\" alt=\"Terms-in-redux-select\" width=\"650\" height=\"222\" srcset=\"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Terms-in-redux-select.png 650w, https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Terms-in-redux-select-300x102.png 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/div>\n<\/div>\n<section class=\"postcontents wrapper\">\n<h3 id=\"final-form-of-wpquery\">Final Form of WPQuery<a href=\"#final-form-of-wpquery\" class=\"heading-link\">#<\/a><\/h3>\n<p>Finally here is what\u00a0WPQuery for Block #1 looks like<br \/>\n<script src=\"https:\/\/gist.github.com\/ahmadawais\/f321ef8307463310075b.js\"><\/script><br \/>\nThat&#8217;s about it. If you have any questions, let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I could display posts from a particular term while excluding other particular terms. Secondly, I wanted to provide end-user with a select-2 based drop down menu to select from the present terms of a custom taxonomy. Context# Think of a theme which displays three different blocks of posts on the homepage. Basically, I am building a theme for Easy Digital Downloads plugin. Now think again, at the homepage you need to add three [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":556,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[37,39,38],"class_list":["post-552","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-edd","tag-redux","tag-taxonomy-terms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>EDD Taxonomy Terms: Include\/Exclude and Redux Select Field<\/title>\n<meta name=\"description\" content=\"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field\" \/>\n<meta property=\"og:description\" content=\"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/\" \/>\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=\"2015-05-10T15:54:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-24T11:52:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ahmad Awais\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/\"},\"author\":{\"name\":\"Ahmad Awais\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"headline\":\"EDD Taxonomy Terms: Include\\\/Exclude and Redux Select Field\",\"datePublished\":\"2015-05-10T15:54:46+00:00\",\"dateModified\":\"2015-05-24T11:52:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/\"},\"wordCount\":527,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/Dealing-with-Terms.png\",\"keywords\":[\"EDD\",\"Redux\",\"Taxonomy Terms\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/\",\"name\":\"EDD Taxonomy Terms: Include\\\/Exclude and Redux Select Field\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/Dealing-with-Terms.png\",\"datePublished\":\"2015-05-10T15:54:46+00:00\",\"dateModified\":\"2015-05-24T11:52:33+00:00\",\"description\":\"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/Dealing-with-Terms.png\",\"contentUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/Dealing-with-Terms.png\",\"width\":650,\"height\":450},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/edd-taxonomy-terms-includeexclude-and-redux-select-field\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ahmadawais.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EDD Taxonomy Terms: Include\\\/Exclude and Redux Select Field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#website\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/\",\"name\":\"Ahmad Awais\",\"description\":\"Founder &amp; CEO of CommandCode.ai f\\\/k\\\/a Langbase | Google Developers Advisory Board (gDAB) founding member\",\"publisher\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ahmadawais.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\",\"name\":\"Ahmad Awais\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"contentUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"width\":2299,\"height\":1705,\"caption\":\"Ahmad Awais\"},\"logo\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\"},\"description\":\"Founder & CEO of \u2318 Command Code coding agent with taste. Founded Langbase.com, AI cloud to build, deploy, and scale AI agents with tools & memory \u00b7 Creator of Command.new. \\\"Awais is an awesome example for developers\\\" \u2014 Satya Nadella, CEO of Microsoft. NASA Mars Ingenuity Helicopter mission code contributor 8th GitHub Stars Award recipient with 5x GitHub Stars Award (Listed as GitHub's #1 JavaScript trending developer). Google Developers Expert Web DevRel. Ex VP Eng (DevTools & DevRel) Rapid \u00b7 Google Developers Advisory Board (gDAB) founding member \u00b7 AI\\\/ML\\\/DevTools Angel Investor (Replit, Resend, Daytona, Gumroad and you?) \u276f AI\\\/ML Advisory Board San Francisco, DevNetwork. Award-winning Open Source Engineering leader authored hundreds of open-source dev-tools and software libraries used by millions of developers, including Shades of Purple code theme and corona-cli. Linux Foundation (Node.js Committee Lead), OpenAPI Business Governing Board. Taught 108K+ developers via NodeCLI.com and VSCode.pro course. 274 million views, blogging for 24 yrs. \u276f Read more about Ahmad Awais or come say hi on \ud835\udd4f @MrAhmadAwais.\",\"sameAs\":[\"https:\\\/\\\/AhmadAwais.com\\\/\",\"https:\\\/\\\/facebook.com\\\/AhmadAwais\",\"https:\\\/\\\/instagram.com\\\/MrAhmadAwais\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/MrAhmadAwais\\\/\",\"https:\\\/\\\/x.com\\\/MrAhmadAwais\",\"https:\\\/\\\/youtube.com\\\/AhmadAwais\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field","description":"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I","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:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/","og_locale":"en_US","og_type":"article","og_title":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field","og_description":"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I","og_url":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/","og_site_name":"Ahmad Awais","article_publisher":"https:\/\/facebook.com\/AhmadAwais","article_author":"https:\/\/facebook.com\/AhmadAwais","article_published_time":"2015-05-10T15:54:46+00:00","article_modified_time":"2015-05-24T11:52:33+00:00","og_image":[{"width":650,"height":450,"url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","type":"image\/png"}],"author":"Ahmad Awais","twitter_card":"summary_large_image","twitter_creator":"@MrAhmadAwais","twitter_site":"@MrAhmadAwais","twitter_misc":{"Written by":"Ahmad Awais","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#article","isPartOf":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/"},"author":{"name":"Ahmad Awais","@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"headline":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field","datePublished":"2015-05-10T15:54:46+00:00","dateModified":"2015-05-24T11:52:33+00:00","mainEntityOfPage":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/"},"wordCount":527,"commentCount":2,"publisher":{"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"image":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#primaryimage"},"thumbnailUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","keywords":["EDD","Redux","Taxonomy Terms"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/","url":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/","name":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field","isPartOf":{"@id":"https:\/\/ahmadawais.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#primaryimage"},"image":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#primaryimage"},"thumbnailUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","datePublished":"2015-05-10T15:54:46+00:00","dateModified":"2015-05-24T11:52:33+00:00","description":"Today while working over a premium WordPress theme I had to solve two problems. First of all I needed to build a custom WordPress query through which I","breadcrumb":{"@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#primaryimage","url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","contentUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","width":650,"height":450},{"@type":"BreadcrumbList","@id":"https:\/\/ahmadawais.com\/edd-taxonomy-terms-includeexclude-and-redux-select-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ahmadawais.com\/"},{"@type":"ListItem","position":2,"name":"EDD Taxonomy Terms: Include\/Exclude and Redux Select Field"}]},{"@type":"WebSite","@id":"https:\/\/ahmadawais.com\/#website","url":"https:\/\/ahmadawais.com\/","name":"Ahmad Awais","description":"Founder &amp; CEO of CommandCode.ai f\/k\/a Langbase | Google Developers Advisory Board (gDAB) founding member","publisher":{"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ahmadawais.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b","name":"Ahmad Awais","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","contentUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","width":2299,"height":1705,"caption":"Ahmad Awais"},"logo":{"@id":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg"},"description":"Founder & CEO of \u2318 Command Code coding agent with taste. Founded Langbase.com, AI cloud to build, deploy, and scale AI agents with tools & memory \u00b7 Creator of Command.new. \"Awais is an awesome example for developers\" \u2014 Satya Nadella, CEO of Microsoft. NASA Mars Ingenuity Helicopter mission code contributor 8th GitHub Stars Award recipient with 5x GitHub Stars Award (Listed as GitHub's #1 JavaScript trending developer). Google Developers Expert Web DevRel. Ex VP Eng (DevTools & DevRel) Rapid \u00b7 Google Developers Advisory Board (gDAB) founding member \u00b7 AI\/ML\/DevTools Angel Investor (Replit, Resend, Daytona, Gumroad and you?) \u276f AI\/ML Advisory Board San Francisco, DevNetwork. Award-winning Open Source Engineering leader authored hundreds of open-source dev-tools and software libraries used by millions of developers, including Shades of Purple code theme and corona-cli. Linux Foundation (Node.js Committee Lead), OpenAPI Business Governing Board. Taught 108K+ developers via NodeCLI.com and VSCode.pro course. 274 million views, blogging for 24 yrs. \u276f Read more about Ahmad Awais or come say hi on \ud835\udd4f @MrAhmadAwais.","sameAs":["https:\/\/AhmadAwais.com\/","https:\/\/facebook.com\/AhmadAwais","https:\/\/instagram.com\/MrAhmadAwais\/","https:\/\/www.linkedin.com\/in\/MrAhmadAwais\/","https:\/\/x.com\/MrAhmadAwais","https:\/\/youtube.com\/AhmadAwais"]}]}},"jetpack_featured_media_url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2015\/05\/Dealing-with-Terms.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/comments?post=552"}],"version-history":[{"count":0,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/552\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/media\/556"}],"wp:attachment":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/media?parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/categories?post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/tags?post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}