184 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 1 and 100 dollars
  • United States
ThemeBuddies says

did the community every come up with a final solution to the issue WordPress has with empty p tags? I have tried using jquery and css to get rid of them but it doesn’t seem to always work. I thought I read that Themeforest doesn’t like us to get rid of the p tags all together. All my searching in these forums come up with the problem in shortcodes. I am not having that issue right now. It’s just in the plain editor. What is the “be all end all” solution to this issue?

279 posts
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
PrimaThemes says

You can use the solution from @bitfade,

https://gist.github.com/bitfade/4555047
184 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 1 and 100 dollars
  • United States
ThemeBuddies says

that is a shortcode fix. I am not having the issue in my shortcodes right now. It’s in the regular posts that I am having the trouble

114 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 100 and 499 items
  • Referred between 50 and 99 users
  • Most Wanted Bounty Winner
  • Microlancer Beta Tester
  • Has been a member for 2-3 years
nagaemas says

Does it happen when you put two line breaks after each line?

279 posts
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
PrimaThemes says

that is a shortcode fix. I am not having the issue in my shortcodes right now. It’s in the regular posts that I am having the trouble

If it is empty p tags because of the user add some line breaks on the editor, leave it, no need to think about it. We only need to educate our user about this, to make sure they know what happens if they add too many line breaks (enter) on the editor…

If for theme demo purpose, you can always make it looks clean in the editor to make it looks good to your buyer.

by
by
by
by
by
by