Support » Plugin: WP Boilerplate Shortcode » [Plugin: WP Boilerplate Shortcode] showtitle='false' not working on my install; showtitle=

  • Resolved philzo

    (@philzo)


    I’ve spent all of 20 minutes with boilerplate and already I’m thinking big things. Thanks for a great plugin.

    One small thing I noticed:

    the_boilerplate(21,'id',array('showtitle'=>'false'))

    does not turn off the title of the boilerplate as expected. Changing false to 0 (the number zero) fixed it. Might be unique to my install.

    I’m using this code in a custom function in a child theme of Thematic, WP 3.0.1.

    http://wordpress.org/extend/plugins/wp-boilerplate-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Schinkel

    (@mikeschinkel)

    Hi @philzo,

    Glad you like it. Sorry for my error in documentation, should have been:

    the_boilerplate(21,'id',array('showtitle'=>false))

    The value for “showtitle” gets evaluated as true(1) or false(0) so a string of “false” actually evaluates to true. My bad, my documentation shows it working that way.

    I’m planning to come out with a new version as soon as I can finish my current client project at which time I’ll fix the docs.

    -Mike

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Boilerplate Shortcode] showtitle='false' not working on my install; showtitle=’ is closed to new replies.