Click an icon to jump down to that section
At it's core, WP Triggers is plugin that makes websites way more interactive. It lets you pre-populate triggers (ie: "90210" OR "WALTERWHITE") and an action (ie: display a YouTube video OR redirect the user to a secret URL). Once your settings are saved it gives you a shortcode to paste on any page/post in your site. Once a website visitor types in one of your triggers, it performs the action. It's simple and full of potential!
WP Triggers is kind of like IFTTT for your website content, essentially it's an if/then statement:
The interface is incredible simple but powerful. When adding/editing a Trigger Box you add Triggers on the left and Actions on the right. You can specify multiple Triggers for one Action, like this:
There are more settings on this page but for now let's say that you are done editing your Trigger Box, once saved you simply copy and paste the shortcode onto a page/post and visitors can then type in Triggers and (if correct) see the associated action.
Using Wildcards is extremely useful if your trigger has slightly different variations that you want to include. For example if you are making a zip code search instead of typing the following triggers: 33624, 33625, 33626, 33627 you could just type one trigger 3362_. The underscore represents a single character, WPTriggers also support a percent sign which represents multiple characters. Here's some useful examples:
WP Triggers supports two types of Wildcards
Once you understand Wildcard, you can get a fancy with it! For example you can have a trigger like this 336%45 which would make these valid triggers: 3367245 and 3369245 but NOT these: 3369925 and 3362874.
NOTE: You can combine Wildcards and the option to “Only allow numbers” (in the General Options) to make a very useful Zip Code search.
Being able to create a customized experience has always been the goal of WP Triggers and these General Options help you do just that. Experiment with these fun and useful options to add new functionality to your Trigger Box.
Placeholder Text: This is text that displays in the Trigger Box when the page loads and disappears when the user clicks in the box. This is useful to instruct visitors what to type in the box.
Only Allow numbers to be entered into this Trigger Box: This is useful for US zip codes and phone numbers.
Hide this trigger Box after a visitor searches for a trigger: This is useful when you do not want the user to enter in anymore triggers, it also makes the page look cleaner once submitted.
Scroll the visitor down: If you are putting a Triggerbox towards the bottom of your website AND you are using WordPress shortcodes check this box. This will bring the visitor back down to the Trigger Box when the page reloads (which it needs to so it can render the WP shortcode).
Shake: If you want to draw a little attention to your Trigger Bos check this box (NOTE: Works in MOST browsers / devices)
There are two sections that deal with styling Trigger Box Styling and Button Options. By default those elements are controlled by your theme, however WPTriggers 4 now has the ability to easily override those CSS styles and apply it's own styling. Below is an overview of each section:
The default Trigger Box styling values are great but if you want to customize it a bit more use the controls below.
- Text Alignment: How should the text align within the Trigger Box?
- Text Color: What color should the text be?
- Background Color: What color should the background be? Hint: make sure that you'll be able to read the text that appears over it!
- Border Color: There is a 1 pixel border, what color should that be?
- Text Size: How big should the text be? Hint: 2em is a good size! Start there.
- Corner Radius: Want rounded corners? Enter a number here. Hint: 3 is a good radius!
- Vertical Padding: How much space should be between the text and the top/bottom border?
- Horizontal Padding: How much space should be between the left/right border?
Being able to know what triggers visitors entered into your trigger boxes is really useful and the Trigger History section has some new features that make this even better! WP Triggers 4.0 now supports deleting triggers (individually or a group) and exporting triggers as a CSV! Here's how to use it:
- Better Filtering: If you're looking for submitted triggers from a particular Trigger Box or Date Range you can specify those parameters here. You can also choose has many triggers per page to display.
- Export CSV: If you need to do some analysis in a spreadsheet program or export email address into your mailing list service, simply get the triggers you want to export on your screen (using the filtering options described above) check all the boxes (or just check the box in the row header which selects all the items on our screen) and click the Export as .CSV button. You can then import that CSV into most data driven applications.
- Delete: If there are triggers you want to clean up your data, select the items you want to remove and click the Delete button.
WP Triggers now includes the ability to Export Settings, Import Settings and Duplicate Trigger Boxes. This is useful to keep a local copy of your Trigger Box settings or to share your unique Trigger Boxes with the world (the Triggers that visitors have submitted are NOT included in these export files).
On the All Triggers screen simply move your mouse over any of your Trigger Boxes to see the new options.
Export Settings: This will download all your Trigger Box settings (the submitted Triggers are NOT included) as an .XML file.
Duplicate: Clicking this will duplicate the Trigger Box (useful if you want to test something new).
Import: This is where you can import any XML Trigger Box settings file (you can find some in the Examples section of this page)
WPTriggers is incredibly flexible and to get you started we've created a bunch of Triggers Boxes. Simply download and Import the example Trigger Boxes below then tweak for your particular needs. If you've come up with a great use For WPTriggers, we'd love to hear about it.
WP Triggers Changelog
- Added CodeCanyon License functionality
- Added new WP admin menu icon (the new infinity symbol)
- Trigger Box sections now collapse/expand (cleaner interface)
- Instead of giving no values for styling elements (like color), we created a beautiful set of default settings
- Added a quick link to the Wildcard section on this page to help people understand how to use Wildcards
- The Trigger Box editing screen now fills the screen for easy editing (it used to only fill about 60%)
- Removed some unnecessary formatting, cleaned up some text instructions
- Fixed the dropdown menu styling problem
- Trigger Boxes can now be submitted with either the form button or the Enter button on your keyboard
- When using a button on a Trigger Box that contains WP shortcode, the button no longer disappears.
- Checkboxes now have a slick IOS feel to them