Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Unofficial mirror repository; no pull requests, please.
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
change.log
csshover.htc
readme.txt
screenshot-1.jpg
sqsbstyle.css
stockquote.php

readme.txt

=== Stock Quote Sidebar ===
Contributors: anhill
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andy%40hillhome%2eorg&item_name=Andrew%20Hill&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
Tags: financial, stocks, stock quotes
Requires at least: 2.0.2
Tested up to: 3.1.3
Stable tag: 3.2

Stock Quote Sidebar is a WordPress plugin/widget that allows you to put a list of stock quotes in your sidebar (or anywhere you want, really).  

== Description ==

Stock Quote Sidebar is a WordPress plugin/widget that allows you to put a list of stock quotes in your sidebar (or anywhere you want, really).

The stock symbol, last price, and change (in dollars and/or percent) are displayed in a tabular format.  The full company name is displayed in a tooltip when the symbol is moused-over.  The date and time of the first quote in the list is displayed at the bottom of the list.

When a user hovers over the day's change, a tooltip displays a chart of the
stock's performance over a configurable time period.

Other functions include placing a separator bar between subsets of stock
quotes, changing the date/time format, and displaying both static quotes and
random selections from a list of symbols.

Note: Please see the FAQ section for an important note about the Dow Jones
Industrial Average.

[Change Log](http://svn.wp-plugins.org/stock-quote-sidebar/trunk/change.log)

== Screenshots ==

1. Screen shot of the plugin in action, including the mouseover stock chart.

== Installation ==

Requirements:

* PHP 5
* cURL support must be enabled

Steps:

1. Extract the plugin's zip file in your '/wp-content/plugins' directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Configure the plugin in the 'Options', 'Stock Quote Sidebar'
1. Place the widget, or if you prefer, Place the plugin's PHP code where you want it in the sidebar PHP file.

You can use the plugin in two ways, to generate different lists of stocks in different places.

* Specify a list of symbols in the options page
>To use this approach, simply enable the widget, or manually insert the following code where you want the quotes to appear:
> `<?php get_stock_quote(); ?>`

* Specify a list of symbols in the php function within your WordPress template
>To use this option, call the same function with the symbols as a parameter:
> `<?php get_stock_quote("^IXIC,^GSPC,NOVL,ko,pfe,intc"); ?>`
>This approach is not currently supported with the widget.

==Frequently Asked Questions ==

= How do I use the plugin with the K2 theme? =

Stock Quote Sidebar will now show up as an option in the K2 Sidebar Manager!
If you wish, you can also add a 'Text, HTML and PHP' module to your sidebar called 'Stock Quotes'.  In the
code area, enter `<?php get_stock_quote(); ?>`.

The latest revisions contain some CSS fixes to ensure compatibility with the
CSS in K2.

= Why doesn't the Dow Jones Industrial Average (^DJI or INDU) display? =

Yahoo no longer provides CSV/XML download of the DJIA, due to restrictions
imposed by Dow Jones.  Since the plugin relies on CSV data, there is
currently no way to display this average.

== ContactInfo ==

For updates to code and documentation, see http://andy.hillhome.org/code/stockquotesidebar.

Report problems to andy@hillhome.org.
Something went wrong with that request. Please try again.