626 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

I’m busy rethinking methods to create a page / post layout, besides using some builder.

Is it better to use shortcodes, or to insert the html in the editor.

In an older WordPress project ( not on TF ) i had added an extra button to the editor to create 2, 3 or 4 columns and when inserting it would output the row and column html in the editor. The editor had an edited styling so you also saw the columns inside the editor.

In an even older project i used a similar button, but that one placed shortcodes in the editor, which in turn obviously created the row and column html on the frontend.

Now i’m wondering: Which one of these is better practice? Or, is there an even better way?

Would be nice to have some thoughts of you authors! :)

236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
GradaStudio says

i think every author goes through this and its quite difficult to choose. you may read this http://justintadlock.com/archives/2011/05/02/dealing-with-shortcode-madness

but again if we don’t use shortcodes it adds lot of extra work. someone over here recommend me for a shortcodes plugin. :)

626 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

I know that article, and i think it partly has a point.

Guess i’ll go and write down some pros and cons about both :)

by
by
by
by
by
by