{"id":769,"date":"2015-04-08T20:08:32","date_gmt":"2015-04-08T18:08:32","guid":{"rendered":"https:\/\/urosevic.net\/wordpress\/?page_id=769"},"modified":"2026-03-10T16:47:10","modified_gmt":"2026-03-10T15:47:10","slug":"stock-quote","status":"publish","type":"page","link":"https:\/\/urosevic.net\/wordpress\/plugins\/stock-quote\/","title":{"rendered":"Stock Quote"},"content":{"rendered":"\n<p>A simple and easily configurable plugin for WordPress which allows you to insert inline stock quotes with stock price information to posts, pages, widgets or even theme template files. Insertion is mainly available by shortcode.<\/p>\n\n\n<div class=\"callout callout-info\">If you need fully customized functionality of the Stock Quote or <a title=\"Stock Ticker\" class=\"callout-link\" href=\"\/wordpress\/plugins\/stock-ticker\/\">Stock Ticker<\/a>  plugin, feel free to <a class=\"callout-link\" href=\"\/wordpress\/contact\/?subject=Quote for Custom WP Plugin\">contact me<\/a>.<\/div>\n\n\n\n<p>Please note, that stock data has been provided by&nbsp;<a href=\"https:\/\/www.alphavantage.co\/\" rel=\"nofollow\">Alpha Vantage<\/a><\/p>\n\n\n\n<p>Stock Quote is a simplified static inline variation of the&nbsp;<a href=\"https:\/\/urosevic.net\/wordpress\/plugins\/stock-ticker\/\">Stock Ticker<\/a>&nbsp;plugin.<\/p>\n\n\n\n<p><strong>Jump to:<\/strong> <a href=\"#usage\" title=\"\">Usage<\/a> | <a href=\"#download\" title=\"\">Download<\/a> | <a href=\"faq\/\">FAQ<\/a> | <a href=\"#support\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Support<\/a><\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"usage\">Usage<\/h2>\n\n\n\n<p>Use simple shortcode <code>[stock_quote]<\/code> without any parameter in the post or page, to display quotes with default (global) settings.<\/p>\n\n\n\n<p>You can tune a single shortcode with the parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>symbol<\/code> &#8211; string with a single stock symbol<\/li>\n\n\n\n<li><code>show<\/code> &#8211; string that defines how will company be represented in the quote; can be <code>name<\/code> for Company Name, or <code>symbol<\/code> for Stock Symbol<\/li>\n\n\n\n<li><code>decimals<\/code>&nbsp;\u2013 override the default number of decimal places for values (default from settings page used if no custom set by shortcode). Valid values are:&nbsp;<code>1<\/code>,&nbsp;<code>2<\/code>,&nbsp;<code>3<\/code>&nbsp;and&nbsp;<code>4<\/code><\/li>\n\n\n\n<li><code>number_format<\/code>&nbsp;\u2013 override default number format for values (default from this settings page used if no custom set by shortcode). Valid options are:&nbsp;<code>cd<\/code>&nbsp;for&nbsp;<em>0.000,00<\/em>;&nbsp;<code>dc<\/code>&nbsp;for&nbsp;<em>0,000.00<\/em>;&nbsp;<code>sd<\/code> for&nbsp;<em>0 000.00<\/em>&nbsp;and&nbsp;<code>sc<\/code>&nbsp;for&nbsp;<em>0 000,00<\/em><\/li>\n\n\n\n<li><code>template<\/code> \u2013 override default template string (default is: <code>%company% %price% %change% %changep%<\/code>). You can use the following template keywords: <code>%company%<\/code>, <code>%exch_symbol%<\/code>, <code>%symbol%<\/code>, <code>%price%<\/code>, <code>%change%<\/code>, <code>%changep%<\/code> and <code>%volume%<\/code><\/li>\n\n\n\n<li><code>class<\/code>&nbsp;\u2013 (optional) custom class name for quote item, if you wish some special styling<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code lang:default decode:true\"><code>&#091;stock_quote symbol=\"^DJI\" show=\"symbol\"]<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code lang:default decode:true\"><code>&#091;stock_quote symbol=\"MSFT\" decimals=3 number_format=cd template=\"%symbol% %price% %change% %changep%\"]<\/code><\/pre>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download\">Download<\/h2>\n\n\n\n<p>Download the plugin below or visit the official WordPress page for <a href=\"https:\/\/wordpress.org\/plugins\/stock-quote\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Stock Quote<\/a>, or&nbsp;find and install&nbsp;it from WordPress  <strong>Dashboard<\/strong> \u2192 <strong>Plugins<\/strong> \u2192&nbsp;<strong>Add New<\/strong><\/p>\n\n\n<div class='audd'><div class='row'><div class='item_1 col-md-12 col-sm-12 col-xs-12'><!-- AUDD Link Template: Default Template 2025 -->\n<section class=\"audd-link-tpl-2025 default\">\n\t<header>\n\t\t<h3 class=\"title\">Stock Quote <span title=\"version\">v0.2.1.1<\/span><\/h3>\n\t\t<h4 class=\"file-size\" title=\"File Size\">54 KB<\/h4>\n\t<\/header>\n\t<summary>\n\t\t<ul>\n<li>Remove MCX from supported exchanges because AlphaVantage does not provide data for Moscow Stock Exchange<\/li>\n<li>Add support for AlphaVantage.co empty response {} reported for Australian Exchange by @blockathon<\/li>\n<\/ul>\n\n\t<\/summary>\n\t<footer>\n\t\t<a class='dld-link  wp-block-button__link wp-element-button' rel='nofollow' href='#' data-no-instant data-audddl=\"2403\">Download<\/a>\n\t\t<span class=\"count\">Downloaded 33 times<\/span>\n\t<\/footer>\n<\/section>\n<\/div><\/div><div style='clear:both'><\/div><\/div>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"support\">Support<\/h2>\n\n\n\n<p>If you have any questions regarding the Stock Quote plugin, feel free to raise a new topic on the official&nbsp;<a href=\"https:\/\/wordpress.org\/support\/plugin\/stock-quote\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Stock Quote Community Forum<\/a>.<\/p>\n\n\n\n<p>Spread voice about Stock Quote on social networks and&nbsp;<a href=\"https:\/\/wordpress.org\/support\/plugin\/stock-quote\/reviews\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">rate and review<\/a>&nbsp;on WordPress.org<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stock Quote allows users to easy insert static inline stock price information with data provided by Google Finance.<\/p>\n","protected":false},"author":1,"featured_media":861,"parent":15,"menu_order":5,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-769","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/comments?post=769"}],"version-history":[{"count":21,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/769\/revisions"}],"predecessor-version":[{"id":3069,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/769\/revisions\/3069"}],"up":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/15"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/media\/861"}],"wp:attachment":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/media?parent=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}