{"id":22169,"date":"2018-07-13T12:15:21","date_gmt":"2018-07-13T09:15:21","guid":{"rendered":"https:\/\/www.webcodegeeks.com\/?p=22169"},"modified":"2018-07-11T10:45:41","modified_gmt":"2018-07-11T07:45:41","slug":"wordpress-diy-adding-syntax-highlighting","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/","title":{"rendered":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin"},"content":{"rendered":"<p>Just as my other articles in <a href=\"https:\/\/prahladyeri.com\/blog\/tag\/wordpress+diy\">WordPress DIY<\/a> series, this one also focuses on doing everything yourself by writing the code rather than using any external dependencies.<\/p>\n<p>There are two popular open source implementations of Syntax Highlighting JavaScript libraries: <a href=\"https:\/\/github.com\/google\/code-prettify\">Google\u2019s Prettify<\/a> and <a href=\"http:\/\/alexgorbatchev.com\/SyntaxHighlighter\/\">Alex Gorbatchev\u2019s Syntax Highlighter<\/a>, and in this article, we will use the former.<\/p>\n<p>Writing your own plugin for syntax highlighting is very straightforward if you know what you are doing.<\/p>\n<p>Just create a file named <code>\/wp-content\/plugins\/wp-prettify.php<\/code> in your WordPress installation and add the below code to it:<\/p>\n<pre class=\"brush:php\">&lt;?php\r\n\/**\r\n * @package WP Prettify\r\n * @version 0.1.0\r\n *\/\r\n\/*\r\nPlugin Name: WP Prettify\r\nPlugin URI: http:\/\/github.com\/prahladyeri\/wp-prettify\r\nDescription: WordPress implementation of Google Prettify Syntax Highlighter\r\nAuthor: Prahlad Yeri\r\nAuthor URI: https:\/\/www.prahladyeri.com\/\r\nVersion: 0.1.0\r\nLicense: GPL version 2 or later - http:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html\r\n*\/\r\n\r\n\r\nfunction add_syntax_highlighter() {\r\n$text=&lt;&lt;&lt;EOD\r\n&lt;script&gt;\r\ndocument.addEventListener('DOMContentLoaded', function(){\r\n\tvar elements = document.getElementsByTagName('pre');\r\n\tfor(var i=0;i&lt;elements.length;i++) {\r\n\t\tif (elements[i].className.indexOf(\"prettyprint\") == -1) {\r\n\t\t\telements[i].className =   elements[i].className + \" prettyprint \"\r\n\t\t\tconsole.log('adding');\r\n\t\t}\r\n\t\telse {\r\n\t\t  console.log('class already exists');\r\n\t\t}\r\n\t}\r\n});\r\n&lt;\/script&gt;\r\n&lt;style&gt;\r\npre.prettyprint.prettyprinted {\r\n  border: 0px;\r\n  padding: 5px;\r\n  font-size: 15px;\r\n}\r\n&lt;\/style&gt;\r\n\r\n&lt;script src=\"https:\/\/cdn.rawgit.com\/google\/code-prettify\/master\/loader\/run_prettify.js\"&gt;&lt;\/script&gt;\r\nEOD;\r\n\r\n\techo $text;\r\n}\r\n\r\nadd_action('wp_head', 'add_syntax_highlighter');\r\n?&gt;<\/pre>\n<p>Remember to enable the plugin by navigating to <code>\/wp-admin<\/code> before using it.<\/p>\n<p>This function first adds a <code>prettyprint<\/code> class to all your <code>&lt;pre&gt;<\/code> tags to tell the Prettify library to highlight this block and thus making syntax highlighting painless on your part. The advantage of using Google\u2019s solution is that it automatically detects the programming or scripting language inside the block, and you don\u2019t have to use additional tag markup like <code>\u201clang=php\u201d<\/code> or something like that.<\/p>\n<p>The addition of CSS <code>&lt;style&gt;<\/code> tag in the function is optional and not really needed. Its just my preference to hide the border and increase the padding and font size a bit.<\/p>\n<p>The demonstration of this self-written plugin is quite evident as this very site runs on this plugin and the above code block is highlighted using the Google\u2019s Prettify library. If you can use the Chrome or Firefox Developer tools to analyze that <code>&lt;pre&gt;<\/code> block, it will show you that a <code>prettyprint<\/code> class has been added!<\/p>\n<p>So, go ahead and write this plugin if you are building a WordPress blog for yourself and want to do this in a DIY way. And let us know how it goes in comments below!<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on Web Code Geeks with permission by Prahlad Yeri, partner at our <a href=\"\/\/www.webcodegeeks.com\/join-us\/wcg\/\" target=\"_blank\" rel=\"noopener\">WCG program<\/a>. See the original article here: <a href=\"https:\/\/prahladyeri.com\/blog\/2018\/07\/wordpress-diy-adding-syntax-highlighting-to-your-wordpress-blog-without-using-an-external-plugin.html\" target=\"_blank\" rel=\"noopener\">WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin<\/a><\/p>\n<p>Opinions expressed by Web Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Just as my other articles in WordPress DIY series, this one also focuses on doing everything yourself by writing the code rather than using any external dependencies. There are two popular open source implementations of Syntax Highlighting JavaScript libraries: Google\u2019s Prettify and Alex Gorbatchev\u2019s Syntax Highlighter, and in this article, we will use the former. &hellip;<\/p>\n","protected":false},"author":20,"featured_media":932,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-22169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prahlad1981\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-13T09:15:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prahlad Yeri\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/prahladyeri\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prahlad Yeri\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\"},\"author\":{\"name\":\"Prahlad Yeri\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd\"},\"headline\":\"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin\",\"datePublished\":\"2018-07-13T09:15:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\"},\"wordCount\":342,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\",\"name\":\"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"datePublished\":\"2018-07-13T09:15:21+00:00\",\"description\":\"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd\",\"name\":\"Prahlad Yeri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g\",\"caption\":\"Prahlad Yeri\"},\"description\":\"Prahlad is a freelance software developer working on web and mobile application development. He also likes to blog about programming and contribute to opensource.\",\"sameAs\":[\"http:\/\/www.prahladyeri.com\/\",\"https:\/\/www.facebook.com\/prahlad1981\",\"http:\/\/in.linkedin.com\/pub\/prahlad-yeri\/16\/a53\/243\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/prahladyeri\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/prahlad-yeri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026","description":"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!","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:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/","og_locale":"en_US","og_type":"article","og_title":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026","og_description":"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!","og_url":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_author":"https:\/\/www.facebook.com\/prahlad1981","article_published_time":"2018-07-13T09:15:21+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","type":"image\/jpeg"}],"author":"Prahlad Yeri","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/prahladyeri","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Prahlad Yeri","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/"},"author":{"name":"Prahlad Yeri","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd"},"headline":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin","datePublished":"2018-07-13T09:15:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/"},"wordCount":342,"commentCount":1,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/","url":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/","name":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","datePublished":"2018-07-13T09:15:21+00:00","description":"Interested to learn more about syntax highlighting? Check out our article where we add syntax highlighting in wordpress by writing the code ourselves!","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/wordpress-diy-adding-syntax-highlighting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/www.webcodegeeks.com\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"WordPress DIY: Adding Syntax Highlighting to your WordPress Blog Without using an External Plugin"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd","name":"Prahlad Yeri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g","caption":"Prahlad Yeri"},"description":"Prahlad is a freelance software developer working on web and mobile application development. He also likes to blog about programming and contribute to opensource.","sameAs":["http:\/\/www.prahladyeri.com\/","https:\/\/www.facebook.com\/prahlad1981","http:\/\/in.linkedin.com\/pub\/prahlad-yeri\/16\/a53\/243\/","https:\/\/x.com\/https:\/\/twitter.com\/prahladyeri"],"url":"https:\/\/www.webcodegeeks.com\/author\/prahlad-yeri\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/22169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=22169"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/22169\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/932"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=22169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=22169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=22169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}