Banner for Speed Bumps
Intelligently insert speed bumps into site content. Wordpress Tutorial
Noted That:
  • To install correctly this speed-bumps.zip .
  • Fisrt Download the speed-bumps.zip to your computer
  • Extract/Open speed-bumps.zip to Your Computer.
  • Then, Find readme.txt file inside speed-bumps.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " speed-bumps.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Speed Bumps

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Speed Bumps

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Speed Bumps

Step-5 : Now, Browse " speed-bumps.zip " Downloaded plugin from your computer, Where you downloaded " speed-bumps.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Speed Bumps

Step-6 : Now, Click on " Active Plugin "

Activate Speed Bumps

Step-7 : Then, See left Side Menu. " Speed Bumps " folder is added on left Side Menu. Now, Click on " Speed Bumps " folder.

Noted that: If you do not see " Speed Bumps " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Speed Bumps Configurations and Settings or How to work " Speed Bumps " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Speed Bumps " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Speed Bumps
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

It’s a plugin! Install it like any other.

Onec you’ve installed the plugin, you’ll have to register one or more speed bumps in order for it to have any effect. You’ll also have to specifically call Speed Bumps to filter your content – the plugin doesn’t attach any filters to the_content or other hooks by itself.

The simplest way to have Speed Bumps process all of your content and insert speed bumps into content everywhere is simply adding the filter following registration:


register_speed_bump( 'speed_bump_sample', array( 'string_to_inject' =>
 function() { return '
'; }, )); add_filter( 'the_content', 'insert_speed_bumps', 1 );

This registration results in the string_to_inject value being injected at the first opportunity based on the default rules (e.g. on posts longer than 1200 characters, following the third paragraph OR following the paragraph which contains the 75th word, whichever comes later).

Let’s say you wanted the speed bump higher in the content. You could modify the from_start parameter to declare that the speed bump can be inserted after the first paragraph (yes, like good engineers, we prefer zero-based indexing).


register_speed_bump( 'speed_bump_sample', array( 'string_to_inject' =>
 function() { return '
'; }, 'from_start' => 0, ));

You can also selectively insert speed bumps into a string of content by calling Speed Bumps directly:


echo insert_speed_bumps( $content_to_be_inserted_into );

Name