WordPress.org

Ready to get started?Download WordPress

Plugin Directory

VerticalResponse Newsletter Widget

Add a VerticalResponse signup form to your sidebar. Lots of configuration options. Now with custom colors and shortcode support!

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.

Requires: 2.8 or higher
Compatible up to: 3.5.2
Last Updated: 2012-12-11
Downloads: 25,771

Ratings

3 stars
3.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

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,1,1