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.

Creator of CHAI.new — vibe code ai agents · Founder & CEO of Langbase.com — The most powerful serverless AI agents developer platform to build, deploy, and scale AI agents with tools and memory · Check out the State of AI Agents.

Ex VP DevTools & DevRel Eng. Rapid · Google Developers Advisory Board (gDAB) founding member. 🧑‍💻 AI/ML/DevTools Angel InvestorAI/ML Advisory Board San Francisco, DevNetwork

🎩 Award-winning Open Source Engineer & Dev Advocate 🦊 Google Developers Expert Web DevRel 🚀 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).

🌳 Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator. 📟 Teaching thousands of developers Node.js CLI Automation and VSCode.pro course. Over 142 million views, 24 yrs Blogging, 108K developers learning, 200+ FOSS.

✌️ Author of various open-source dev-tools and software libraries utilized by millions of developers worldwide WordPress Core Developer 📣 TEDx Speaker with 100+ international talks.

As quoted by: Satya Nadella · CEO of Microsoft — Awais is an awesome example for developers.
💜 Loves his wife (Maedah) ❯ Read more about Ahmad Awais.

👋… Awais is mostly active on 𝕏 @MrAhmadAwais

📨

Developers Takeaway

Stay ahead in the web dev community with Ahmad's expert insights on open-source, developer relations, dev-tools, and side-hustles. Insider-email-only-content. Don't miss out - subscirbe for a dose of professional advice and a dash of humor. No spam, pinky-promise!

✨ 172,438 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


Mentions

  • dert
  • Sophia
  • Ahmad Awais
  • Jesus Maceira