52 posts Umbrella
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+5 more
UmbrellaStudios says

Hi

As many users have the ability to insert from the WSYIWYG Editor any HTML tag, or sometimes custom shortcodes is causing troubles on handling those Tags within the container where we display “the_content()” .

So which is the best way to handle any tag within

<div class="content"><?php the_content()?></div>

and make it maybe flexible and keep it compact at any responsive media query.

Hope that was clear enough.

PS : Are you forced to handle each tag within the editor, or you can explain the customer that extra tags need extra care and we could not handle that all by our self ?

52 posts Umbrella
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+5 more
UmbrellaStudios says

In case someone else had the same problem or doubts we used a plugin called Demo Data Creator- http://www.stillbreathing.co.uk/wordpress/demo-data-creator

It fills your Wordpress with dummy data and if you support all those tags it outputs than i think your good to go.

2457 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says

Are you talking perhaps about the classes that WordPress generates? Using the Theme Check plugin, you’ll make sure to cover all of them in your CSS.

Anything else coming from your theme, you obviously have CSS styles for them, because you created them. All other custom user IDs/classes are the user’s problem, you can’t possibly know whether or not I’ll be pasting in something like this in the editor:

<div class="trytostylethissmartass">haha</div>
by
by
by
by
by
by