We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

My first plugin - remove <p></p> tags

Development and Programming

Zac G.'s avatar
Zac G.
268 posts
16 years ago
Zac G.'s avatar Zac G.

I must say that I may have created the simplest plugin ever, but I am really excited because I just realized how EASY! it is to do.

All the plugin does is remove paragraph tags from a field. For example

{exp:removepar}{summary}[/exp:removepar}

I created it because I updated a site that had paragraph tags in all of the summary fields that I wanted to remove. I had really wanted to remove them all from the database, but this will do for now.

Maybe in the future I could set it up to accept a parameter to remove other tags as well.

Not sure if anyone will find this helpful, but here it is.

Thanks EE, you make dev time so much fun 😊

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar

Congratulations with new plugin. 😊 I think it’s a new level for understanding EE(how I feel it). p.s. But I recommend you to look on this example: Low Find and Replace plugin.

       
Zac G.'s avatar
Zac G.
268 posts
16 years ago
Zac G.'s avatar Zac G.

Thanks for the welcome and the great plugin. I had figured that some had to have thought of this before me but I went ahead just for the sake of learning something new about EE.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.