I'd like to enable a shortcode toolbar button, similar to the "More" break, that I can click to mark an insertion point where the text should be broken into columns.

Do shortcodes have encapsulation or would I need to enter an endpoint?


[column]The column starts here[/column]


[columnBegin]The column starts here[columnEnd]

I'm looking for some examples or plugins that might make this possible.


Shortcode do have encapsulation. Read more about that here: http://codex.wordpress.org/Shortcode_API

| improve this answer | |

What I did was take the values with attr , then with the explode function of php make an array and then loop through it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.