Hottest Deals Widget for WordPress

I want to share some insights on WordPress Widgets creation since this is my current project and this widget is now also available on this site.
On the right side next to each post – there is the widget area. And since 2 days there is now a new “box” aka widget which displays some very good deals. (Currently on hifi products but it’s planned to select Unity or App related things in there in the near future)

WP official – what are widgets and how to manage them in your wordpress site:
Widgets

 

About the Plugin / Widget

Show the hottest deals related to your blogs content to offer your visitors unique and always up to date content so they come back and visit often.

(TODO)
Dieser Link/Text ist ebenfalls im Widget im TEXT des Sourcecodes:
Name im Plugin source: Plugin URI
Text im Plugin activation Dialog: Plugin Settings – Visit plugin site
Aktueller Link: http://www.megagem.net/hottest-deals-widget-for-wordpress/#AboutThePlugin

 

Description:

Download and activate this plugin to and in your WordPress Blog. Select the deal category your visitors are interested in (Related to your pages content) and voila… You are done and the latest deals will be shown next to your articles and posts.

Wichtig Datenschutzhinweis irgendwo unterbringen
Wir übertragen nun in der neuesten Version ja IP und BrowserSprache um die Deals auf eine Region einzuschränken. Das muss man angeben.

Beispiel Text:

Language: We submit the visitors browser language to the deal api to pick the relevant deals for this visitor.
Please inform your visitors accordingly. We do not store or use the user data in any other case than finding the correct deal feed.
Geo-IP: We submit the visitors geoIP / IP to the deal api to pick the relevant deals for this visitor.
Please inform your visitors accordingly. We do not store or use the user data in any other case than finding the correct deal feed.


(TODO)
Dieser Link/Text ist ebenfalls im Widget im TEXT des Sourcecodes allerdings in der Description versteckt (nicht zwingend notwendig – aber ja… Sinnvoll).
Aktueller Link: http://www.megagem.net/hottest-deals-widget-for-wordpress/#description

 

Authors:

This plugin / widget is a cooperation between the two developers Codetoffel and bgp.
Codetoffel – created the webscrapping infrastructure to get the hottest deals. (Done via Python, exported as JSON)
bgp – created the WordPress Plugin and Widget part to display the JSON.

(TODO)
Dieser Link/Text ist ebenfalls im Widget im TEXT des Sourcecodes.
Name im Plugin source: Author URI
Text im Plugin activation Dialog: Plugin Settings – By bgp, codetoffel
Aktueller Link: http://www.megagem.net/hottest-deals-widget-for-wordpress/#AuthorsBgpAndCodetoffel


 

Installation:

Direct / From your WordPress blog:

  1. Go to your wordpress admin site “yoursite.com/wp-admin”
  2. Login and then access “yoursite.com/wp-admin/plugin-install.php?tab=upload
  3. Upload and activate this plugin
  4. Now go to admin menu -> appearance -> widgets
  5. Drag widget to desired sidebar and save the settings
  6. Make sure that the deals match your theme. There are several options to display the deals. (To match your theme – for details see the settings section)

First via your computer:

  1. Download the Deal Widget installation package (zip file) and extract the files to your computer.
  2. Create a new directory named deal_widget_de in the wp-content/plugins
    directory of your WordPress installation. Use an FTP or SFTP client to
    upload the contents of the widgets zip archive to the new directory
    that you just created on your web host.
  3. Log in to the WordPress Dashboard and activate the RSS Feed Widget plugin.
  4. Once the plugin is activated, a new deal_widget will appear in your WordPress admin -> appearance -> widgets.

 

Upgrade your installation:

To upgrade an existing installation of this plugin to the most recent release, follow these steps…

  1. Download the deal-widget-de installation package (zip) and extract the files to your computer
  2. Upload the new PHP files to wp-content/plugins/deal-widget-de and enable overwriting any existing file in this folder
  3. Log in to your WordPress administrative interface immediately after the upload in order to see whether there are any further tasks that you need to perform to complete the upgrade
  4. Enjoy the new features of the Widget

 

License:

This WordPress Plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.

This free software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this software. If not, see http://www.gnu.org/licenses/gpl-2.0.html.