{"id":368024,"date":"2026-09-20T05:07:18","date_gmt":"2026-09-20T05:07:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/bakhabar-gold-rates\/"},"modified":"2026-09-20T05:06:46","modified_gmt":"2026-09-20T05:06:46","slug":"bakhabar-gold-rates","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/bakhabar-gold-rates\/","author":23565148,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.1","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"BaKhabar Gold Rates","header_author":"Muhammad Awais Rashid, ACMA","header_description":"Display live Pakistan gold rates (24K, 22K, 21K per tola) on your WordPress site. Data verified against SBP by BaKhabar Pakistan.","assets_banners_color":"","last_updated":"2026-09-20 05:06:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/bakhabarpakistan.com\/en\/finance\/gold-rates\/","header_author_uri":"https:\/\/www.linkedin.com\/in\/muhammad-awais-rashid-51744b116\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":50,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"awaisrashid","date":"2026-09-20 05:06:46","revision":3703890}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[281651,32745,261523,281650,62922],"plugin_category":[],"plugin_contributors":[281652],"plugin_business_model":[],"class_list":["post-368024","plugin","type-plugin","status-publish","hentry","plugin_tags-24k-gold","plugin_tags-gold-price","plugin_tags-gold-rate","plugin_tags-gold-rates-pakistan","plugin_tags-pakistan","plugin_contributors-awaisrashid","plugin_committers-awaisrashid"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bakhabar-gold-rates.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Show today's verified gold rates on your WordPress site with a clean, lightweight widget. Rates are fetched from BaKhabar Pakistan's verified data pipeline \u2014 cross-checked against APGJSA (Sarafa Association) and the State Bank of Pakistan.<\/p>\n\n<p><strong>Features:<\/strong>\n* Live 24K, 22K, 21K gold rates per tola\n* Light and dark theme options\n* Sidebar widget + shortcode support\n* Optional attribution credit link (off by default)\n* 15-minute smart caching (no API overload)\n* Graceful fallback if API is temporarily unavailable\n* Responsive design\n* Zero configuration required \u2014 just activate and use<\/p>\n\n<p><strong>Usage:<\/strong><\/p>\n\n<p>As a shortcode in any post or page:\n    [bakhabar_gold]<\/p>\n\n<p>With options:\n    [bakhabar_gold theme=\"dark\" show_22k=\"yes\" show_21k=\"no\" show_credit=\"yes\"]<\/p>\n\n<p>As a widget: Go to Appearance \u2192 Widgets \u2192 add \"BaKhabar Gold Rates\" to any sidebar.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin connects to the BaKhabar Pakistan API to fetch live gold rates for Pakistan. BaKhabar Pakistan is owned and operated by the plugin author (Muhammad Awais Rashid, ACMA).<\/p>\n\n<h4>BaKhabar Pakistan Gold Rates API<\/h4>\n\n<ul>\n<li><strong>Service:<\/strong> BaKhabar Pakistan (<a href=\"https:\/\/bakhabarpakistan.com\">bakhabarpakistan.com<\/a>)<\/li>\n<li><strong>Endpoint:<\/strong> <code>https:\/\/bakhabarpakistan.com\/en\/finance\/gold-rates\/api\/<\/code><\/li>\n<li><strong>Data sent:<\/strong> No user data is collected or transmitted. The plugin makes a read-only GET request to retrieve current gold rates (24K, 22K, 21K per tola) and the verification status.<\/li>\n<li><strong>When:<\/strong> Each time the widget or shortcode is displayed, if the locally cached data (15-minute cache) has expired. No data is sent on every page load.<\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/bakhabarpakistan.com\/pages\/terms\/\">https:\/\/bakhabarpakistan.com\/pages\/terms\/<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/bakhabarpakistan.com\/pages\/privacy-policy\/\">https:\/\/bakhabarpakistan.com\/pages\/privacy-policy\/<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to WordPress Admin \u2192 Plugins \u2192 Add New \u2192 Upload Plugin<\/li>\n<li>Upload the zip file and click \"Install Now\"<\/li>\n<li>Activate the plugin<\/li>\n<li>Use the shortcode <code>[bakhabar_gold]<\/code> or add the widget from Appearance \u2192 Widgets<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20does%20the%20data%20come%20from%3F\"><h3>Where does the data come from?<\/h3><\/dt>\n<dd><p>Gold rates are fetched from BaKhabar Pakistan (bakhabarpakistan.com), which verifies rates against APGJSA and the State Bank of Pakistan's M2M exchange rate.<\/p><\/dd>\n<dt id=\"how%20often%20does%20the%20data%20update%3F\"><h3>How often does the data update?<\/h3><\/dt>\n<dd><p>The plugin caches data for 15 minutes. BaKhabar Pakistan updates rates 4 times daily during Sarafa market hours (10AM, 1PM, 4PM, 7PM PKT).<\/p><\/dd>\n<dt id=\"does%20this%20slow%20down%20my%20site%3F\"><h3>Does this slow down my site?<\/h3><\/dt>\n<dd><p>No. The plugin caches API responses for 15 minutes using WordPress transients. Your database is hit once every 15 minutes, not on every page load.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Live gold rates from BaKhabar Pakistan API<\/li>\n<li>Widget + shortcode support<\/li>\n<li>Light\/dark themes<\/li>\n<li>Optional credit link (off by default)<\/li>\n<li>15-minute smart caching<\/li>\n<li>Deactivation cleanup<\/li>\n<\/ul>","raw_excerpt":"Display live Pakistan gold rates (24K, 22K, 21K per tola) on your WordPress site. Verified against SBP by BaKhabar Pakistan.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/368024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=368024"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/awaisrashid"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=368024"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=368024"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=368024"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=368024"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=368024"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=368024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}