Description
This plugin requires a VerticalResponse account. Sign up for VerticalResponse today.
Add a VerticalResponse signup form to your sidebar without touching code.
This plugin includes many configuration options:
- Custom widget title (if empty, shows no title)
- Define your own Button Text (Subscribe, Submit, Add Me!, Go, etc.)
- Show an intro paragraph and define your own wrapping tag (defaults to a paragraph tag).
- Choose from two styles:
- Default VerticalResponse style (gray)
- Choose your own colors
- No style (make your own using CSS)
- Choose from three types of forms:
- Full Name, Email, Subscribe button
- Email, Subscribe button
- Subscribe button only
The plugin includes a full-featured [verticalresponse]
shortcode. Learn how to configure the shortcode.
Screenshots
Installation
Follow the following steps to install this plugin.
- Download plugin to the
/wp-content/plugins/
folder - Upload the plugin to your web host
- Activate the plugin through the Plugins page (
wp-admin/plugins.php
) - Add the widget to your sidebar on the Widgets page (
wp-admin/widgets.php
) - Configure the widget and save the settings
You can also embed in your website by configuring above, then removing the widget from your sidebar. Then:
- Add
<?php widget_vr(); ?>
in your template code - Write
[verticalresponse]
in your post’s or page’s content.
FAQ
- How do I use the shortcode?
-
Here’s an example shortcode (Version 1.6+):
[verticalresponse title="Sign Up Here" bg_color="#000000" label_color:"#FFFFFF" border_color="333333" border_width="5" email_input_size=15]
You can overwrite the plugin settings in the shortcode using the following attributes:
code
(default: โ)title
(default: โSign up for our Newsletterโ)email_default_value
(default: โEnter your email addressโ)div_class
(default: โwidget_vrโ)form_class
(default: โvr_formโ)form_id
(default: ($number_of_vr_widgets === 1) ? โvr_formโ : โvr_form_โ.$number_of_vr_widgets)showname
(default: โfullโ)bg_color
(default: โ#ddddddโ)border_color
(default: โ#000000โ)font_color
(default: โ#333333โ)label_color
(default: โ#000000โ)button_bg_color
(default: โ#333333โ)button_border_color
(default: โ#999999โ)button_font_color
(default: โ#000000โ)border_width
(default: 1)preface
(default: โ)wrap
(default: โpโ)button
(default: โSubscribeโ)defaultstyle
(default: โyesโ)credit
(default: โyesโ)show_vr_code
(default: โyesโ)email_input_size
(default: 20)name_input_size
(default: 15)last_name_label
(default: โLast Name:โ)first_name_label
(default: โFirst Name:โ)email_label
(default: โEmail:โ)before_widget
(default: โ<div class=โwidget [div_class]โ>โ)after_widget
(default: โ</div>โ)before_title
(default: โ<h4 class=โwidgettitleโ>โ)after_title
(default: โ</h4>โ)
- How do I use the new `add_filters()` functionality? (Added 1.1)
-
If you want to change some code in the widget, you can use the WordPress
add_filter()
function to achieve this.You can add code to your theme’s
functions.php
file that will modify the widget or shortcode output. Here’s an example:function my_example_function($widget) { // The $widget variable is the output of the widget // This will replace 'this word' with 'that word' in the widget output. $widget = str_replace('this word', 'that word', $widget); // Make sure to return the $widget variable, or it won't work! return $widget; } add_filter('vr_widget_form', 'my_example_function');
- What is the license?
-
This plugin is released under a GPL license.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“VerticalResponse Newsletter Widget” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “VerticalResponse Newsletter Widget” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.6
- Added shortcode configuration options. Learn how to configure the shortcode.
- Improved code structure
- Switched away from some depreciated functions
- Added
vr_widget_defaults
andvr_widget_args
filters to modify default form configuration
1.5.1
- Fixed
[verticalresponse]
shortcode bug where form would be shown at the beginning of content rather than embedded inside it (as reported in issue #438919)
1.5
- Dropped a decimal place in the version numbers
- If you want to modify widget or shortcode output, there’s now an
add_filters
method to do so. - Improved widget controls configuration
.1482
- Fixed
. />
code validation errors on line 183 and 193. Thanks to Doug Ng for pointing this out
.1481
- Added GPL notice
.148
- Added shortcode
.147
- Added color options for backgrounds (form, button), borders (form, button), text (main, labels, button)
- Updated versions
.146
- Fixed error on line 146
- Added give credit option
.145
- Minor update to fix fatal error, changing <? to <?php
- Added id’s and classes to improve CSS customization capabilities
.144
- Removed white space at end of widget to possibly fix fatal error
.143
- Updated stripslashes() to better handle apostrophes in fields
.142
- Fixed tag closure order error. Thanks patrickrileydesign.com!
.141
- Updated Plugin URI link to go to widget’s page
.14
- Fixed bug that showed the VerticalResponse form instead of saving the widget options or removing the widget.