Stock Quote Sidebar
cURL support must be enabled
Extract the plugin’s zip file in your ‘/wp-content/plugins’ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
Configure the plugin in the ‘Options’, ‘Stock Quote Sidebar’
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(“INDU,^IXIC,^GSPC,NOVL,ko,pfe,intc”); ?>
This approach is not currently supported with the widget.
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.
No comments yet.