WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Scroll Triggered Boxes

The best non-obtrusive call-to-action: Scroll Triggered Boxes. Show social media sharing options or sign-up forms in conversion boosting boxes.

How to display a form in the box?

The plugin is tested with the plugins below but will work with any plugin that uses shortcodes.

How to display sharing options in the box?

The plugin is tested with the plugins below but will work with any plugin that uses shortcodes.

How do I set more advanced rules for on which pages to show a box?

You can use conditional tags to set super-customized rules.

Example: only show for posts in category 'cars'

is_single() && in_category('cars')

*Example: show everywhere except on pages with slug 'contact' and 'checkout'

!is_page( array( 'contact', 'checkout') )

Can I have a box to open after clicking a certain link or button?

Sure, just link to the box element.

Example (box ID is 94 in this example)

<a href="#stb-94">Open Box</a>

Can I have a box to open right after opening a page?

Sure, just include stb- followed by the box ID in the URL.

Example (box ID is 94 in this example)

http://your-wordpress-site.com/some-page/#stb-94

How to set more advanced styling rules

If you want more advanced styling, you can use CSS to further style the boxes. Every box gets its own unique #id as well as various CSS classes.

#box-{id} { } /* 1 particular box */
.stb { } /* all boxes */
.stb-content { } /* the contents of the box */
.stb-close{ } /* the close button of the box */

Will a box be shown on mobile devices or small screens?

If the box width fits on the screen, the box will be shown. If the box width is larger than the screen size, the box will be automatically hidden. To disable automatic hiding of the box, add the following line to your theme its functions.php file.

add_filter('stb_auto_hide_small_screens', '__return_false');

I want to disable auto-paragraphs in the box content

All default WordPress filters are added to the stb_content filter hook. If you want to remove any of them, add the respectable line to your theme its functions.php file.

remove_filter( 'stb_content', 'wptexturize') ;
remove_filter( 'stb_content', 'convert_smilies' );
remove_filter( 'stb_content', 'convert_chars' );
remove_filter( 'stb_content', 'wpautop' );
remove_filter( 'stb_content', 'do_shortcode' );
remove_filter( 'stb_content', 'shortcode_unautop' );

Requires: 3.7 or higher
Compatible up to: 3.9.2
Last Updated: 2014-7-30
Downloads: 23,886

Ratings

5 stars
5 out of 5 stars

Support

4 of 20 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,3,3 100,1,1 100,4,4 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,1,1 100,1,1
100,2,2 100,2,2 100,1,1