615 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Envato Studio (Microlancer) Beta Tester
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. :)

615 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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