S
by Fusion Engineering
1 (0 reviews)
Speed Bumps
Intelligently insert speed bumps into site content.
Tested up to WP 4.7 (Current: 6.9)
v0.2.0
Current Version v0.2.0
Updated 9 years ago
Last Update on 17 Dec, 2016
Synced 11 hours ago
Last Synced on
Rank
#21,187
—
No change
Active Installs
50+
+6.4%
KW Avg Position
1
—
No change
Downloads
3.9K
+1 today
Support Resolved
0%
—
No change
Rating
20%
Review 1 out of 5
1
(0 reviews)
Next Milestone 60
50+
60+
1,193
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 7 more installs to reach 60+
Rank Changes
Current
#21,187
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
1.0
0 reviews
Overall
20%
5
0
(0%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| recirculation | 1 | — | Tag | 12 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 0.2.0
- Last Updated
- Dec 17, 2016
- Requires WP
- 4.2+
- Tested Up To
- 4.7
- PHP Version
- N/A
- Author
- Fusion Engineering
Support & Rating
- Rating
- ★ ☆ ☆ ☆ ☆ 1
- Reviews
- 0
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,736
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Popup Builder - Create highly converting, mobile friendly marketing popups.
200K+ installs
#259
Ads.txt Manager
100K+ installs
#354
YARPP – Yet Another Related Posts Plugin
100K+ installs
#379
Frequently Asked Questions
Common questions about Speed Bumps
The default options for speed bumps are currently: Never insert in a post fewer than 8 paragraphs long, or fewer than 1200 characters. Never insert before the the third paragraph, or before 75 words into the post. Never insert fewer than 3 paragraphs or 75 words from the end of the article. At least one paragraph from an iframe or embed. At least two paragraphs from an image. At least one paragraph from any other speed bump in the post.
Adding a custom rule for a speed bump is a matter of defining a function and hooking it to the speed_bumps_{id}_constraints filter. The function hooked to that filter will receive several arguments to determine the state of the content, surrounding paragraphs, and other context, and can return false to block insertion. Simple, stupid example: You have a speed bump called "rickroll" which inserts a beautiful musical video throughout your content. You really need this viral bump (publisher's words, not yours) so you disable minimum content length and the rules regarding acceptable speed bump distance from start/end of the post. Greedy! register_speed_bump( 'rickroll', array( 'string_to_inject' => function() { return '[youtube https://www.youtube.com/watch?v=dQw4w9WgXcQ&w=420&h=315]'; }, 'minimum_content_length' => false, 'from_start' => false, 'from_end' => false, )); add_filter( 'the_content', 'insert_speed_bumps', 1 ); But, maybe that's a little too extreme. You want to show it in certain situations, say, only when the previous paragraph contains the phrase 'give {something} up'. Here's how you would achieve that: add_filter( 'speed_bumps_rickroll_constraints', 'give_you_up', 10, 4 ); function give_you_up( $can_insert, $context, $args, $already_inserted ) { if ( ! preg_match( '/give [^ ]+ up/i', $context['prev_paragraph'] ) ) { $can_insert = false; } return $can_insert; } You could also disable it altogether with this filter (although why you would disable so soon after addition, only Rick Astley himself could answer): add_filter( 'speed_bumps_rickroll_constraints', '__return_false' );
Each rule is hooked to that speed bump's "constraints" filter. To remove a rule, simply remove the filter which defines that rule, like these lines which remove the default rules for your speed bump: remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Text\Minimum_Text::content_is_long_enough_to_insert' ); remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Text\Minimum_Text::meets_minimum_distance_from_start' ); remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Text\Minimum_Text::meets_minimum_distance_from_end' ); remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Content\Injection::less_than_maximum_number_of_inserts' ); remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Content\Injection::meets_minimum_distance_from_other_inserts' ); remove_filter( 'speed_bumps_{id}_constraints', '\Speed_Bumps\Constraints\Elements\Element_Constraints::meets_minimum_distance_from_elements' );