0

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?

Example:

[column]The column starts here[/column]

Or

[columnBegin]The column starts here[columnEnd]

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

1

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

0

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

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.