{"id":144252,"date":"2018-09-23T11:09:41","date_gmt":"2018-09-23T11:09:41","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=144252"},"modified":"2024-07-04T11:07:17","modified_gmt":"2024-07-04T11:07:17","slug":"creating-a-custom-dashboard-widget-in-wordpress","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/","title":{"rendered":"Creating a Custom Dashboard Widget in WordPress"},"content":{"rendered":"<p>In WordPress,\u00a0<strong>Dashboard<\/strong>\u00a0(wp-admin) is the first screen you see when you log into the administration area of your blog.<\/p>\n<p>The WordPress Dashboard allows you to control all of the behind-the-scene details of managing your site. Once you find your way around the dashboard, you\u2019ll realize it\u2019s really easy to use and navigate.<\/p>\n<p>The Dashboard Screen presents information in blocks called widgets. By default, WordPress delivers five widgets on this page: At a Glance, Activity, Quick Draft, WordPress News, and Welcome.<\/p>\n<p>In this blog, we will add a <strong>Custom Dashboard Widget<\/strong> and show some the posts which are been published.<\/p>\n<p>So, for doing that we need to follow 3 steps:<\/p>\n<ul>\n<li>Registering the dashboard widget in WordPress.<\/li>\n<li>Creating a function which handles the content display.<\/li>\n<li>Calling a function to display the posts.<\/li>\n<\/ul>\n<p>So lets start with the first step :<\/p>\n<h3><strong>STEP 1.<\/strong>\u00a0Registering dashboard widget in WordPress :<\/h3>\n<p>For registering the dashboard widget we use built in function &#8216;<em>wp_add_dashboard_widget<\/em>&#8216;\u00a0 :<\/p>\n<pre class=\"brush:php\"> wp_add_dashboard_widget(\n\t\t'wk_dashboard_add_widget',\n\t\t'Custom Dashboard Widget',\n\t\t'wk_dashboard_widget_function'\n\t);<\/pre>\n<div>This function takes 3 parameters :<\/div>\n<div>\n<ul>\n<li>Widget slug<\/li>\n<li>Widget title<\/li>\n<li>Display function<\/li>\n<\/ul>\n<\/div>\n<div>This should be called at the the hook :<\/div>\n<div>\n<pre class=\"brush:php\">add_action( 'wp_dashboard_setup', 'wk_dashboard_add_widget' );<\/pre>\n<\/div>\n<h3><strong>STEP 2.<\/strong>\u00a0Creating a function which handles the content display :<\/h3>\n<p>In this step we will fetch the posts that we will display on our dashboard widget. As the callback option required a valid function to handle the widget&#8217;s content, let&#8217;s add a function for this named in previous step as &#8216;<em>wk_dashboard_widget_function<\/em>&#8216;.<\/p>\n<pre class=\"brush:php\">function wk_dashboard_widget_function() {\n\t\n\tglobal $post;\n\t$args = array( 'numberposts' =&gt; -1 );\n\t$myposts = get_posts( $args );\n\tdisplay_post($myposts);\n}<\/pre>\n<h3><strong>STEP 3.<\/strong>\u00a0Calling a function to display the posts :<\/h3>\n<p>The last step include the setting up the posts on the widget. for that we will add the following code :<\/p>\n<pre class=\"brush:xml\">function display_post( $posts ) {\n\t?&gt;\n\t&lt;table class=\"wk-table\"&gt;\n\t\t&lt;tr class=\"wk-tr\"&gt;\n\t\t\t&lt;th class=\"wk-th\" &gt;&lt;h2&gt;Title&lt;\/h2&gt;&lt;\/th&gt;\n\t\t\t&lt;th class=\"wk-th\" &gt;&lt;h2&gt;Author&lt;\/h2&gt;&lt;\/th&gt;\n\t\t&lt;\/tr&gt;\n\t&lt;?php\n\tforeach( $posts as $post ){\n\t\t?&gt;\n\t\t&lt;tr class=\"wk-tr\"&gt;\n\t\t\t&lt;td class=\"wk-td\"&gt;&lt;a href=\"&lt;?php get_permalink( $post-&gt;ID ) ?&gt;\"&gt;&lt;?php echo get_the_title( $post-&gt;ID ); ?&gt;&lt;\/a&gt;&lt;\/td&gt;\t\t\n\t\t\t&lt;td class=\"wk-td\"&gt;&lt;?php echo get_the_author_meta( 'display_name', $post-&gt;post_author ); ?&gt;&lt;\/td&gt;\t\t\n\t\t&lt;\/tr&gt;\n\t\t&lt;?php\n\t}\n\techo \"&lt;\/table&gt;\";\n}<\/pre>\n<p>After following all the above steps, now when we visit our dashboard we will find a new widget titled as &#8216;Custom Dashboard Widget&#8217; listing different posts that are been published as shown in below :<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-144254\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\" alt=\"\" width=\"1690\" height=\"919\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png 1690w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget-250x136.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget-300x163.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget-768x418.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget-1200x653.png 1200w\" sizes=\"(max-width: 1690px) 100vw, 1690px\" loading=\"lazy\" \/><\/p>\n<p>Hope this blog will help you to create your custom dashboard widget in a better way to make the the dashboard area more attractive and you can enhance dashboard widgets by creating some nice styles or applying some Javascript functionality. Try this and\u00a0if you have any query then\u00a0just comment below.<\/p>\n<p>Thanks for reading \ud83d\ude42<\/p>\n<div class=\"panel-heading\"><\/div>\n<div class=\"panel-body\">\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In WordPress,\u00a0Dashboard\u00a0(wp-admin) is the first screen you see when you log into the administration area of your blog. The WordPress Dashboard allows you to control all of the behind-the-scene details of managing your site. Once you find your way around the dashboard, you\u2019ll realize it\u2019s really easy to use and navigate. The Dashboard Screen presents <a href=\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":199,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1260],"tags":[7557,4829,1258],"class_list":["post-144252","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-custom-dashboard-widget","tag-widget","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a Custom Dashboard Widget in Wordpress - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Custom Dashboard Widget in Wordpress - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In WordPress,\u00a0Dashboard\u00a0(wp-admin) is the first screen you see when you log into the administration area of your blog. The WordPress Dashboard allows you to control all of the behind-the-scene details of managing your site. Once you find your way around the dashboard, you\u2019ll realize it\u2019s really easy to use and navigate. The Dashboard Screen presents [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-23T11:09:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-04T11:07:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\" \/>\n<meta name=\"author\" content=\"Nikhil Chaudhary\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikhil Chaudhary\" \/>\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:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\"},\"author\":{\"name\":\"Nikhil Chaudhary\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/312fd2a63ee03279d90e75c4e54bb6c6\"},\"headline\":\"Creating a Custom Dashboard Widget in WordPress\",\"datePublished\":\"2018-09-23T11:09:41+00:00\",\"dateModified\":\"2024-07-04T11:07:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\"},\"wordCount\":354,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\",\"keywords\":[\"Custom Dashboard Widget\",\"widget\",\"wordpress\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\",\"url\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\",\"name\":\"Creating a Custom Dashboard Widget in Wordpress - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\",\"datePublished\":\"2018-09-23T11:09:41+00:00\",\"dateModified\":\"2024-07-04T11:07:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png\",\"width\":1690,\"height\":919},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Custom Dashboard Widget in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/312fd2a63ee03279d90e75c4e54bb6c6\",\"name\":\"Nikhil Chaudhary\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0f7cbf2960542a79718244837672a23a600dc055499fe56de52e4ff3c89df996?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0f7cbf2960542a79718244837672a23a600dc055499fe56de52e4ff3c89df996?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Nikhil Chaudhary\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/nikhilchaudhary-wordpress493\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Custom Dashboard Widget in Wordpress - Webkul Blog","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:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Custom Dashboard Widget in Wordpress - Webkul Blog","og_description":"In WordPress,\u00a0Dashboard\u00a0(wp-admin) is the first screen you see when you log into the administration area of your blog. The WordPress Dashboard allows you to control all of the behind-the-scene details of managing your site. Once you find your way around the dashboard, you\u2019ll realize it\u2019s really easy to use and navigate. The Dashboard Screen presents [...]","og_url":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-09-23T11:09:41+00:00","article_modified_time":"2024-07-04T11:07:17+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png","type":"","width":"","height":""}],"author":"Nikhil Chaudhary","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Nikhil Chaudhary","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/"},"author":{"name":"Nikhil Chaudhary","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/312fd2a63ee03279d90e75c4e54bb6c6"},"headline":"Creating a Custom Dashboard Widget in WordPress","datePublished":"2018-09-23T11:09:41+00:00","dateModified":"2024-07-04T11:07:17+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/"},"wordCount":354,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png","keywords":["Custom Dashboard Widget","widget","wordpress"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/","url":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/","name":"Creating a Custom Dashboard Widget in Wordpress - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png","datePublished":"2018-09-23T11:09:41+00:00","dateModified":"2024-07-04T11:07:17+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/dasshboard-widget.png","width":1690,"height":919},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/creating-a-custom-dashboard-widget-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating a Custom Dashboard Widget in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/312fd2a63ee03279d90e75c4e54bb6c6","name":"Nikhil Chaudhary","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0f7cbf2960542a79718244837672a23a600dc055499fe56de52e4ff3c89df996?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0f7cbf2960542a79718244837672a23a600dc055499fe56de52e4ff3c89df996?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Nikhil Chaudhary"},"url":"https:\/\/webkul.com\/blog\/author\/nikhilchaudhary-wordpress493\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/199"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=144252"}],"version-history":[{"count":5,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144252\/revisions"}],"predecessor-version":[{"id":451412,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/144252\/revisions\/451412"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=144252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=144252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=144252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}