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!
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.
- 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.