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

 

📣

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

📨

TheDevTakeaway: Developers' Newsletter!

Takeaway my professional opinion about Open Source, JavaScript/Cloud, Full Stack Development, building a business, growing a family, and everything in between! Delivered to your inbox once a month. 🤣 I'm even funny some times. 👻 I hate spam! Pinky Promise!

👨‍🏫 Edutainer at VSCode.pro 🎩 Full-time #OpenSourcerer 🥑 JavaScript Developer Advocate 😂 Hilarious comedian 🔥 Ridiculously hard-working Full Stack Web DeveloperRegular WordPress Core Developer 📣 TEDx Speaker ✌️ Spends 50-80% of his time building professional FOSS (Free & Open Source Software) used by over 218,900 Developers 🙌 Cloud Community Evangelist 🎯 JavaScript & DevOps fanboy 💜 Loves his wife (Maedah) 🍕 Learn more about Ahmad ↣

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