=== Custom Stock Widget === Contributors: Relevad Tags: custom stock widget, stock table, stocks, quotes, stock market, stock price, share prices, market changes, trading, finance, financial, stock widget Requires at least: 3.8.0 Tested up to: 4.5.2 Stable tag: 2.2 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html The Custom Stock Widget plugin allows you to place stock widgets onto your site using shortcodes. == Description == The Custom Stock Widget plugin creates customizable stock widgets that can be placed anywhere on a site using shortcodes. You can choose from multiple themes and customize the colors, size, text, and symbols displayed. Features: * Choice of stocks * Pre-built skins/themes * Appearance customizations: width, height, background colors, number of stocks displayed at one time, text color, font size, and font family * Display features: vertical lines, horizontal lines, different colors to display changes in price * CSS input for entire widget (allows for alignment, borders, margins, padding, etc.) * Custom stocks for specific categories * Preview of Stock Widget after saving on settings page Depricated support for pre-defined html colors: * Color strings such as blue, yellow, limegreen could be used in old version of this plugin. These are no longer supported and may be lost upon saving settings. Requirements: * PHP version >= 5.3.0 (Dependent on 5.3 functionality. Plugin will not work without 5.3 or higher) * Jquery version 1.6 or higher (wordpress 4.1 ships with 1.11.1) * Ability to execute wordpress shortcodes in the location(s) you want to place stocks. (see installation) This plugin was developed by Relevad Corporation. Authors: Artem Skorokhodov, Matthew Hively, and Boris Kletser. == Installation == 1. Upload the 'custom-stock-widget' folder to the '/wp-content/plugins/' directory 1. Activate the Custom Stock Widget plugin through the Plugins menu in WordPress 1. Configure appearance and Stocks symbols in "Relevad Plugins"->StockWidget 1. Place Shortcodes * Pages / Posts: Add the shortcode `[stock-widget]` to where you want the widget shown in your post/page. * Themes: Add the PHP code `` where you want the widget to show up. * Widgets: Add `[stock-widget]` inside a Shortcode Widget or add `` inside a PHP Code Widget There are many plugins that enable shortcode or PHP in widgets. Here are two great ones: [Shortcode Widget](http://wordpress.org/plugins/shortcode-widget/) and [PHP Code Widget](http://wordpress.org/plugins/php-code-widget/) == Frequently Asked Questions == = Can I get data for any company? = The current version of the plugin supports almost all stocks on NASDAQ or NYSE. = How do I add stocks to the stock table? = All stocks can be added in the Stock Widget settings page (Settings -> StockWidget). Go to Settings -> StockWidget Type in your stock list separated by commas in the Stocks input box. = How do I place the stock-widget into a sidebar-widget? = You need a plugin that enables shortcode or PHP widgets. There are plenty of such plugins on the WordPress.org. These worked well for us: [Shortcode Widget](http://wordpress.org/plugins/shortcode-widget/), [PHP Code Widget](http://wordpress.org/plugins/php-code-widget/) Install and activate the such your desired shortcode or PHP widget plugin and add it to the desired sidebar/section (Appearance->Widgets) If you added a shortcode widget, type in `[stock-widget]` inside it. If you added a PHP widget, type in `` inside it. That will display the widget in the appropriate space. = Can I place two widgets with different formatting on one page? = Yes, simply create a new shortcode from the shortcodes list table page (click add new), then place it's shortcode onto the page where ever you want. Each shortcode can be formatted completely independently and even have their own individuallized stock lists. = The widget is too big! Is there some way to shrink it? = Yes. Put in a smaller number in the width/height in Stock Widget Settings (Settings->StockWidget). Both are in pixels. = Something's not working or I found a bug. What do I do? = First, please make sure that all Relevad Plugins are updated to the latest version. If updating does not resolve your issue please contact plugins AT relevad DOT com or find this plugin on wordpress.org and contact us through the support tab. == Screenshots == 1. Example of the stock widget on live site 2. Another example of the stock widget on live site 3. More examples of stock widget themes 4. Here is where you can manage multiple separate widgets 5. This is what the back-end looks like 6. Here's how to place the Custom Stock Widget on the site using a PHP Code Widget 7. Here's how to place the Custom Stock Widget inside a page using shortcode == Changelog == = 2.2 = * Removed custom categories code. Our feedback indicated that this feature was very rarely used, and was redundant after the addition of multiple ticker definitions. If you still desire this feature you must remain with the previous version of the plugin. * Removed support to upgrade plugin from versions prior to 2.0 If you are running this plugin version before 2.0 and wish to upgrade and transfer your settings, please upgrade to 2.0 first. * UI cleanups and notification improvements = 2.1.1b = * Fixed a typo with the activation hook = 2.1.1a = * Fixed a typo = 2.1.1 = * Added warning message and prevented activation of plugin for versions < php 5.3.0 = 2.1 = * Added a delete confirmation prompt before actually deleting a shortcode = 2.0.1 = * Changed precision to 3 decimal places up from 2 * Bugfix with Upgrade path from earlier versions * Bugfix when database tables do not use default auto-increment config * Bugfix for wordpress plugin standards and best practices = 2.0 = * Added functionality to define multiple completely distinct shortcodes. Full style customization and stock lists avaialble. = 1.4.1 = * Fixed index issue in database table definition * Fixed a few typos = 1.4 = * Stock widgets are now stored in a separate database table * Stability improvements incase of version miss-match = 1.3.5b = * Bugfix with UI = 1.3.5a = * Revised class names to reduce css conflicts = 1.3.5 = * Aded persistent UI state on admin panel = 1.3.4 = * Changed several HTML input fields in the admin pannel to different types if the browser supports them = 1.3.3 = * minor UI bugfix for 1.3.2 = 1.3.2 = * Added plugin database revision support = 1.3.1 = * Added timeout to retreive stock data * Code reorganization = 1.3 = * Increased stocks in widget up to 100 per widget * Added toggleable header fields for widgets * Added alternative csv parser for php < 5.3 * Depricated shortcode parameters * Added warnings if text sizes + width would lead to overlap * Cleaned up data storage for plugin options * Misc minor code cleanups = 1.1 = * Code clean up and optimization * Numerous minor bug fixes = 1.0 = Plugin released. == Upgrade Notice == = 2.0 = Major functionality upgrade. Update now to be able to define multiple shortcodes with independent stock lists for each.