• Resolved jimwelch

    (@jimwelch)


    Great plugin!

    I’d like to offer my client shortcodes for adding rows and columns in the WYSISYG editor. Are such shortcodes available? I can’t find any documentation for using a shortcode for inserting a <div class=”row” /> or <div class=”spanx” />, however it looks like there’s relevant code at line 577 of the “hlt-bootstrap-shortcodes.php” plugin file.

    Is this possible and if so, can you offer an example?

    Thanks!

    http://wordpress.org/extend/plugins/wordpress-bootstrap-css/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Hi,

    sorry for the delay in this.

    I’ve updated the plugin to version 2.0.4.6. I was hoping 2.1.0 would be out sooner, but they’re saying another 3 weeks and I don’t think it’s worth waiting that long for the changes.

    I’ve added the shortcode: TBS_SPAN

    This will print a div with class ‘span’. To change the size of the span, simply pass the parameter ‘size’. If you want to use ‘offset’ again, simply pass it in the shortcode. So, the following is a simply example:

    [TBS_SPAN size='3' offset='2']My span[/TBS_SPAN]

    will give:

    <div class="span3 offset2">My span</div>

    Hope that helps! 🙂
    Thanks,
    Paul.

    Plugin Author Paul

    (@paultgoodchild)

    I decided to write a fuller explanation on the website so you can check the guide out here:

    http://bit.ly/T65hle

    Cheers,
    Paul.

    Thread Starter jimwelch

    (@jimwelch)

    Thanks, Paul. This documentation is very needed and appreciated!

    Plugin Author Paul

    (@paultgoodchild)

    No problem…

    This has prompted me to create more detailed documentation for all the plugin shortcodes.

    Here it is: http://worpit.com/wordpress-twitter-bootstrap-css-plugin-home/wordpress-twitter-bootstrap-demo-page/

    Thanks for the push 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Twitter Bootstrap CSS] Shortcodes to insert row and spanx???’ is closed to new replies.