{"id":3165,"date":"2017-11-16T23:06:19","date_gmt":"2017-11-16T18:06:19","guid":{"rendered":"https:\/\/ahmadawais.com\/?p=3165"},"modified":"2018-03-27T16:37:32","modified_gmt":"2018-03-27T11:37:32","slug":"remove-the-p-paragraph-tags-from-author-description-in-wordpress","status":"publish","type":"post","link":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/","title":{"rendered":"Remove the `p` Paragraph Tags From Author Description in WordPress"},"content":{"rendered":"<p>Since WordPress 4.9 by default WordPress adds paragraph tags <code>&lt;p&gt;&lt;\/p&gt;<\/code> to the author descriptions. This sometimes breaks your theme styles.<\/p>\n<p>Stop this by adding the following to your <code>functions.php<\/code> file.<\/p>\n<p><div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/ahmadawais\/104579123483c7ff5d55d71b459b28c0.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/ahmadawais\/104579123483c7ff5d55d71b459b28c0\">Gist<\/a>.<\/noscript><\/div>\n<\/p>\n<p style=\"text-align: center;\">Peace! <img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg\" alt=\"\u270c\ufe0f\" \/><\/p>\n<p>\u00a0<\/p>\n<p style=\"text-align: center;\">\n<div class=\"alert gray\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/svg\/1f4e3.svg\" alt=\"\ud83d\udce3\" \/><\/p>\n<p style=\"text-align: center;\">UPDATE: Looks like the <a href=\"https:\/\/make.wordpress.org\/core\/2018\/01\/17\/auto-formatting-of-author-bios-reverted-in-4-9-2\/\">changes have been reverted<\/a>. Take a look.<\/p>\n<p style=\"text-align: center;\"><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since WordPress 4.9 by default WordPress adds paragraph<br \/>\ntags to the author descriptions. This sometimes breaks your theme styles.<\/p>\n","protected":false},"author":2,"featured_media":0,"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":[173,174],"class_list":["post-3165","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-wordpress-4-9","tag-wordpress-author-description"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Remove the `p` Paragraph Tags From Author Description in WordPress<\/title>\n<meta name=\"description\" content=\"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.\" \/>\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\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remove the `p` Paragraph Tags From Author Description in WordPress\" \/>\n<meta property=\"og:description\" content=\"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-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=\"2017-11-16T18:06:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-27T11:37:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg\" \/>\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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/\"},\"author\":{\"name\":\"Ahmad Awais\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"headline\":\"Remove the `p` Paragraph Tags From Author Description in WordPress\",\"datePublished\":\"2017-11-16T18:06:19+00:00\",\"dateModified\":\"2018-03-27T11:37:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/\"},\"wordCount\":67,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.3\\\/svg\\\/270c.svg\",\"keywords\":[\"WordPress 4.9\",\"WordPress Author Description\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/\",\"name\":\"Remove the `p` Paragraph Tags From Author Description in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.3\\\/svg\\\/270c.svg\",\"datePublished\":\"2017-11-16T18:06:19+00:00\",\"dateModified\":\"2018-03-27T11:37:32+00:00\",\"description\":\"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.3\\\/svg\\\/270c.svg\",\"contentUrl\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.3\\\/svg\\\/270c.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ahmadawais.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remove the `p` Paragraph Tags From Author Description in WordPress\"}]},{\"@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":"Remove the `p` Paragraph Tags From Author Description in WordPress","description":"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.","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\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Remove the `p` Paragraph Tags From Author Description in WordPress","og_description":"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.","og_url":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/","og_site_name":"Ahmad Awais","article_publisher":"https:\/\/facebook.com\/AhmadAwais","article_author":"https:\/\/facebook.com\/AhmadAwais","article_published_time":"2017-11-16T18:06:19+00:00","article_modified_time":"2018-03-27T11:37:32+00:00","og_image":[{"url":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg","type":"","width":"","height":""}],"author":"Ahmad Awais","twitter_card":"summary_large_image","twitter_creator":"@MrAhmadAwais","twitter_site":"@MrAhmadAwais","twitter_misc":{"Written by":"Ahmad Awais"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/"},"author":{"name":"Ahmad Awais","@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"headline":"Remove the `p` Paragraph Tags From Author Description in WordPress","datePublished":"2017-11-16T18:06:19+00:00","dateModified":"2018-03-27T11:37:32+00:00","mainEntityOfPage":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/"},"wordCount":67,"commentCount":4,"publisher":{"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"image":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg","keywords":["WordPress 4.9","WordPress Author Description"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/","url":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/","name":"Remove the `p` Paragraph Tags From Author Description in WordPress","isPartOf":{"@id":"https:\/\/ahmadawais.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg","datePublished":"2017-11-16T18:06:19+00:00","dateModified":"2018-03-27T11:37:32+00:00","description":"Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions. This sometimes breaks your theme styles.","breadcrumb":{"@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#primaryimage","url":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg","contentUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/270c.svg"},{"@type":"BreadcrumbList","@id":"https:\/\/ahmadawais.com\/remove-the-p-paragraph-tags-from-author-description-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ahmadawais.com\/"},{"@type":"ListItem","position":2,"name":"Remove the `p` Paragraph Tags From Author Description in WordPress"}]},{"@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":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/3165","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=3165"}],"version-history":[{"count":5,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/3165\/revisions"}],"predecessor-version":[{"id":4278,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/3165\/revisions\/4278"}],"wp:attachment":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/media?parent=3165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/categories?post=3165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/tags?post=3165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}