WordPress.org

Plugin Directory

Scroll Triggered Boxes

Call to actions for engaged visitors, a less obtrusive alternative to pop-ups.

What does this plugin do?

Have a look at the Scroll Triggered Boxes demo site.

How to display a form in the box?

The plugin is battle-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.

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

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_box_content', 'wptexturize') ;
remove_filter( 'stb_box_content', 'convert_smilies' );
remove_filter( 'stb_box_content', 'convert_chars' );
remove_filter( 'stb_box_content', 'wpautop' );
remove_filter( 'stb_box_content', 'do_shortcode' );
remove_filter( 'stb_box_content', 'shortcode_unautop' );

Requires: 3.7 or higher
Compatible up to: 4.2.2
Last Updated: 2015-5-18
Active Installs: 9,000+

Ratings

5 out of 5 stars

Support

13 of 23 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

3 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,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,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
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,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,2,2 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,1,1
100,1,1 100,1,1
100,2,2 100,5,5 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,2,2
100,1,1 100,1,1 100,2,2
100,4,4 100,1,1 100,2,2 100,1,1 100,2,2 100,1,1
100,2,2 100,3,3 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 100,2,2 100,2,2
100,1,1 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 100,2,2 100,2,2
100,1,1 100,1,1 100,2,2 100,3,3