Ahmad Awais

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! ✌️

🎩

WPTakeaway: Premium WordPress Newsletter!

Takeaway my professional opinion about Full Stack WordPress Development, building a business, growing a family, and everything web! Delivered to your inbox twice a month. 👻 I hate spam! Pinky Promise!

🔥 Ridiculously hard-working Full Stack Web DeveloperRegular WordPress Core Contributor 📣 TEDx Speaker ✌️ Spends 50% of his time building FOSS (Free & Open Source Software) used by over 10,000 Developers 🎖 WordPress Advocate & 🙌 Community Evangelist 👻 DevOps fanboy 😂 Cracks silly jokes 💜 Loves his wife (Maedah) 🍕 Learn more about Ahmad ↣

Say 👋 on Twitter @MrAhmadAwais | Subscribe to the WordPress Takeaway!