62 posts Umbrella
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $500,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 ?

62 posts Umbrella
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $500,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.

2468 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
+2 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>

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by