這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gold Price

描述

Use Gold Price plugin to display latest prices of Gold, Platinum, Silver and Palladium in various currencies. The prices are auto updated every 15 minutes Monday-Friday. It’s easy to use, easy to customise, and stylish. Add to any page, post or widget using shortcode [gold-price]

Key Features

  • Show live price for Gold, Silver, Platinum, Palladium – or any combination of those.
  • Live prices updated every 2 mins
  • Choose currency
  • Can do grams or ounces
  • Simple, light-weight, and looks good!
  • Easy to customise with CSS
  • Works in all major browsers – I9+, Opera, Safari, Firefox, Chrome

Demo

螢幕截圖

  • An example of Gold Price plugin in action.
  • The settings screen in WP-Admin

安裝

  1. Upload the gold-price folder to the /wp-content/plugins/ directory
  2. Activate the Gold Price plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin by going to the Gold Price tab that appears in your admin menu.
  4. Add to any page using shortcode [gold-price]

常見問題

Installation Instructions
  1. Upload the gold-price folder to the /wp-content/plugins/ directory
  2. Activate the Gold Price plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin by going to the Gold Price tab that appears in your admin menu.
  4. Add to any page using shortcode [gold-price]
My prices read 0.00 please help!?

First, check the demo at http://demo.enigmaweb.com.au/gold-price/ Does it work?

If no, (demo site also shows zeros) then there’s something wrong with the feed… Open a support ticket to notify me and I’ll fix it.

If yes (the demo site is working correctly) then it shows the plugin is working fine, feeds are fine, and it’s something on your site or server environment preventing access to the feed. Follow standard WordPress troubleshooting steps to try to identify the error.

How can I use this in a widget?

Just place the shortcode into a text widget. If that doesn’t work (it just renders [gold-price] in text) then that means your theme isn’t ‘widgetized’ which you can fix easily by adding 1 tiny piece of code to your theme functions.php:

add_filter('widget_text', 'do_shortcode');

Add this code above to fuctions.php between the tags. A good place would be either at the very top or the very bottom of the file. Once you’ve done this you should be able to use shortcode in widgets now.

Why does it not update the price over the weekend?

The markets are closed on weekends and public holidays, so the prices will stay the same untill the market opens again and the feeds are updated.

How accurate is the price data? Where is the data coming from?

This plugin pulls XML data feeds from dgcsc.org The price data is surprisingly accurate although obviously we offer no guarantee. Remember “live market prices” can be extremely volatile, meaning prices can change very rapidly over a short period of time. For example, the gold price may spike up 5 dollars, then return to where it was in a matter of seconds. Our feed is only updated every 15 mins, so if there’s a sudden change in price or a spike then that move could be missed completely. Likewise the price may be fetched right at the top of the spike. So keep in mind that what you’re seeing is a “snapshot” of the price at a particular instant in time.

How can I customise the design?

You can do some basic presentation adjustments via Gold Price > Settings. Beyond this, you can completely customise the design in the custom CSS box

Where can I get support for this plugin?

If you’ve tried all the obvious stuff and it’s still not working please request support via the forum.

評價

2022年8月12日
One star off simply because the images aren't showing, otherwise working well. I wish there was more options, perhaps consider a pro version with features such as alt api's for gold prices, more display options, customization of the image used and styles and the ability to have multiple widgets of differing styles and ticker.
2022年3月15日
Simple programmatically so it is not any load on WP at all. Using rather old API for settings but that is just a sign that WP is working well in backwards compatibility, still. This plugin uses an xml [feed] that is hosted on a secure site, so I hope it will work for a very long time as the author has "Moved On" to other things.
2017年11月7日
Seems not to work, the prices are all 0, even in demo: http://demo.enigmaweb.com.au/gold-price/
2017年7月15日
This Is What i needed and Its fast too doesn't increase page size like other widget on the internet Prices are Quite Accurate Love The Plugin
2017年2月28日
It was perfect for a long time, but apparently stopped working a while back. I see that it has been updated, but there are unanswered requests about zero prices on the forum. I'll be glad to return this to 5 stars when it's resolved.
閱讀全部14個評價

貢獻者及開發者

“Gold Price” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Gold Price 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3.1

  • Updated feed URL filepaths to https

1.3

  • Added support for more currencies

1.2

  • Updated feed data source and schedule
  • Minor aesthetic tweaks

1.1

  • Bug fix – changed settings group name to avoid conflicts with other plugins

1.0

  • Initial release