Ahmad Awais

NAVIGATE


SHARE


Remove the `p` Paragraph Tags From Author Description in WordPress

Ahmad AwaisAhmad Awais

Since WordPress 4.9 by default WordPress adds paragraph tags <p></p> to the author descriptions. This sometimes breaks your theme styles.

Stop this by adding the following to your functions.php file.

Peace! โœŒ๏ธ

ย 

๐Ÿ“ฃ

UPDATE: Looks like the changes have been reverted. Take a look.

Helping businesses understand developers. Head of Developer Relations RapidAPI.

๐Ÿ“Ÿ Edutainer at Node.js CLI Automation course (100 videos ยท 22 Projects) & VSCode.pro course (over 20K devs). ๐ŸŽฉ Award-winning Open Source Engineer & Dev Advocate ๐ŸฆŠ Google Developers Expert Web DevRel ๐Ÿš€ Mars Ingenuity Helicopter code contributor ๐Ÿ† 8th GitHub Stars Award recipient ๐ŸŒณ Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator.

โœŒ๏ธ Author of various open-source dev-tools and software libraries used by millions of developers worldwide โ“ฆ WordPress Core Developer ๐Ÿ“ฃ TEDx Speaker with 100+ international talks.

๐Ÿ”ฅ Satya Nadella ยท CEO of Microsoft, said โ€” Awais is an awesome example for developers.
๐Ÿ™Œ Leading developers and publishing technical content for over a decade ๐Ÿ’œ Loves his wife (Maedah) โฏ Read more about Ahmad Awais.

๐Ÿ‘‹โ€ฆ Awais is mostly active on Twitter @MrAhmadAwais

๐Ÿ“จ

Developers Takeaway

Takeaway my professional opinion on open-source, developer relations, growing your business with family, and everything in between! Delivered to your inbox a couple of times every year. I'm even funny at times. I hate spam โ€” pinky-promise!

๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป 118,947 Developers Already Subscribed
Comments 4
  • Jesus Maceira
    Posted on

    Jesus Maceira Jesus Maceira

    Reply Author

    You are a Jedi Master!
    Thanks for this fix!


  • Sophia
    Posted on

    Sophia Sophia

    Reply Author

    This worked for me. Thanks so much!


  • dert
    Posted on

    dert dert

    Reply Author

    hi,

    how to remove p tags from category description woocommerce

    thanks