1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Display stock quotes

Discussion in 'Blogging' started by virtualgeorge, Sep 27, 2012.

  1. virtualgeorge

    virtualgeorge Junior Member

    Joined:
    Sep 20, 2008
    Messages:
    180
    Likes Received:
    156
    I am trying to get a stock quote box to show on a page and found a free plugin
    "Top Position Yahoo Finance"
    Can't find the authors site & the comments in the code are in spanish or some other language.

    If I post this code in the template adding a few stock symbols like this it works fine:
    <?php tpyf_output('^IXIC,MSFT,GOOG,AAPL') ?>

    But, I want it in a page so I use the following shortcode:
    [tpyf#^IXIC,MSFT,GOOG,AAPL]
    When using this, the last symbol always shows a zero instead of the stock price.
    If I put a comma after AAPL, it will show that price but then put a line under it with a zero.

    Any ideas on how to get the shortcode to work? I can link to the page or link to the plugin if anyone cares to look at the code?

    thx !