Some settings are missing for the ShowSpace Product Widgets plugin to function.

ShowSpace in your Wordpress admin area. --> "; } } # Redirect to ShowSpace settings page after activation register_activation_hook(__FILE__, 'showspace_activate'); function showspace_activate() { global $showspace_web_url; # Set option to showspace_redirect_after_activation knows whether to redirect or not add_option('showspace_do_redirect_after_activation', true); } # Redirect to ShowSpace settings page add_action('admin_init', 'showspace_redirect_after_activation'); function showspace_redirect_after_activation() { # Check if showspace_do_redirect_after_activation option has been set if (get_option('showspace_do_redirect_after_activation', false)) { delete_option('showspace_do_redirect_after_activation'); wp_redirect(admin_url('options-general.php?page=showspace-settings')); } } # Add admin menu add_action('admin_init', 'register_showspace_admin_settings'); function register_showspace_admin_settings() { register_setting( 'showspace_options', 'showspace_options', 'showspace_options_validate' ); add_settings_section( 'showspace_settings_section', '', 'showspace_settings_section', 'showspace' ); add_settings_field( 'showspace_api_key_field', 'API Key', 'showspace_api_key_field', 'showspace', 'showspace_settings_section' ); add_settings_field( 'showspace_terms_accepted_field', 'Terms & Conditions', 'showspace_terms_accepted_field', 'showspace', 'showspace_settings_section' ); } function showspace_options_validate($options) { $options['showspace_api_key'] = trim($options['showspace_api_key']); return $options; } function showspace_settings_section() {} function showspace_api_key_field() { ?>

ShowSpace Settings

Welcome to ShowSpace!

ShowSpace lets you painlessly gather products from all over the web and display them on your blog!

NEW: Embed product widgets in your sidebar (available from version 1.4.0)!

To get your API key and use this plugin you have to sign up for a free account on the ShowSpace website.
It only takes a second and you can start creating widgets immediately!

Once you signed up, here is how to get your first widget up and running:

  1. Create a widget

    Watch a quick video on how it works.

  2. Add some products to your widget

    You can use products from Amazon, Ebay or any other merchant. This short video has the step-by-step instructions.

  3. Add the widget to your post or sidebar

    • To add a widget to a post:

      Simple: just add the widget tag to your post.

      It looks like this: [ss-widget id=my_widget_identifier]

      Important: You need to replace my_widget_identifier with the identifier of your widget.
      You can find the tag for your widget by clicking on the "Installation" link in your widget list.

    • To add a widget to the sidebar:

      First go to Appearance > Widgets in your Wordpress admin area and drag a "ShowSpace Product Widget" to your sidebar.
      Then enter the widget identifier, which you can find in your widget list.

  4. Add your API key on this page
    You can find your API key in the widget installation instructions or in the ShowSpace backend.

View the post and the plugin should have replaced the widget tag with your widget!

If you run into any problems, check out the Plugin FAQ , the ShowSpace Knowledge Base or get in touch via email.

__('Add a ShowSpace product widget to your sidebar', 'text_domain')) ); } /** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance) { extract($args); $widget_identifier = apply_filters('widget_identifier', $instance['widget_identifier']); echo $before_widget; if (empty($widget_identifier)) { ?>