{"id":92209,"date":"2018-10-05T19:14:51","date_gmt":"2018-10-05T19:14:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-rupeefont\/"},"modified":"2026-05-12T06:33:34","modified_gmt":"2026-05-12T06:33:34","slug":"wp-rupeefont","status":"publish","type":"plugin","link":"https:\/\/zul.wordpress.org\/plugins\/wp-rupeefont\/","author":14029674,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"6.7.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"WP RupeeFont","header_author":"Ajay Maurya","header_description":"WP RupeeFont is a WordPress plugin used to add Indian Rupee Symbol on your WordPress blog or website. It converts all the Rs \/ Rs. symbol to Indian Rupee Symbol.","assets_banners_color":"ffffff","last_updated":"2026-05-12 06:33:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ajmaurya.com\/","header_plugin_uri":"https:\/\/github.com\/ajmaurya99\/wp-rupeefont","header_author_uri":"https:\/\/ajmaurya.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1931,"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":"ajmaurya","date":"2018-10-05 20:48:48"},"1.1.0":{"tag":"1.1.0","author":"ajmaurya","date":"2018-10-05 20:52:42"},"2.0.0":{"tag":"2.0.0","author":"ajmaurya","date":"2026-05-12 06:33:34"}},"upgrade_notice":{"2.0.0":"<p>Major rewrite. Now uses the Unicode rupee symbol (\u20b9) instead of a bundled web font. Output HTML changes \u2014 see the Description for details.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":1952333,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1952333,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1952325,"resolution":"1","location":"assets","locale":"","width":813,"height":640}},"screenshots":{"1":"\"Rs\" in post content rendered as \u20b9."}},"plugin_section":[],"plugin_tags":[235952,24215,262626,159051,71724],"plugin_category":[45],"plugin_contributors":[162649],"plugin_business_model":[],"class_list":["post-92209","plugin","type-plugin","status-publish","hentry","plugin_tags-currency-symbol","plugin_tags-india","plugin_tags-indian-rupee","plugin_tags-inr","plugin_tags-rupee-symbol","plugin_category-ecommerce","plugin_contributors-ajmaurya","plugin_committers-ajmaurya"],"banners":{"banner":"https:\/\/ps.w.org\/wp-rupeefont\/assets\/banner-772x250.png?rev=1952333","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-rupeefont\/assets\/icon-256x256.png?rev=1952333","icon_2x":"https:\/\/ps.w.org\/wp-rupeefont\/assets\/icon-256x256.png?rev=1952333","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-rupeefont\/assets\/screenshot-1.jpg?rev=1952325","caption":"\"Rs\" in post content rendered as \u20b9."}],"raw_content":"<!--section=description-->\n<p><strong>WP RupeeFont<\/strong> is a lightweight WordPress plugin that automatically converts \"Rs\" or \"Rs.\" in your content to the <strong>Indian Rupee symbol (\u20b9)<\/strong> \u2014 the official sign for the Indian Rupee (INR), Unicode code point U+20B9.<\/p>\n\n<p>Once activated, every <code>Rs 100<\/code>, <code>Rs.100<\/code>, or <code>Rs. 100<\/code> written in your posts, pages, excerpts, and text widgets is rendered as <code>\u20b9 100<\/code> on the front end. No JavaScript, no bundled fonts, no external requests, no configuration.<\/p>\n\n<h4>Why a plugin for the rupee symbol?<\/h4>\n\n<p>The \u20b9 symbol was introduced by the Government of India in 2010 and added to Unicode the same year. Most systems render it natively today, but a lot of older WordPress content was written with \"Rs\" or \"Rs.\" because the Unicode character wasn't widely supported at the time. This plugin upgrades that legacy text to the modern Indian Rupee symbol on the fly \u2014 without you having to find-and-replace anything in your database.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Server-side conversion<\/strong> \u2014 runs in PHP via standard WordPress filters; no flash of unconverted content.<\/li>\n<li><strong>Zero front-end overhead<\/strong> \u2014 no JavaScript, no CSS, no font files loaded on your site.<\/li>\n<li><strong>Zero configuration<\/strong> \u2014 install, activate, done.<\/li>\n<li><strong>Word-boundary matching<\/strong> \u2014 words like \"Mrs\" and \"users\" are never touched.<\/li>\n<li><strong>Code-safe<\/strong> \u2014 text inside <code>&lt;script&gt;<\/code>, <code>&lt;style&gt;<\/code>, <code>&lt;pre&gt;<\/code>, <code>&lt;code&gt;<\/code>, and <code>&lt;textarea&gt;<\/code> is left alone.<\/li>\n<li><strong>Block editor and classic editor<\/strong> both supported.<\/li>\n<li><strong>Filters covered:<\/strong> <code>the_content<\/code>, <code>the_excerpt<\/code>, <code>widget_text<\/code>, <code>widget_block_content<\/code>.<\/li>\n<li><strong>Single PHP file<\/strong> \u2014 no dependencies, no admin UI, no database tables.<\/li>\n<\/ul>\n\n<h4>Common use cases<\/h4>\n\n<ul>\n<li>Indian blogs and news sites with legacy \"Rs\" pricing in older articles.<\/li>\n<li>Business and personal sites listing prices in Indian Rupees.<\/li>\n<li>Travel, finance, and review sites that mention rupee amounts in post content.<\/li>\n<li>Any WordPress site migrating older content to the modern Unicode rupee symbol.<\/li>\n<\/ul>\n\n<h4>About the Indian Rupee Symbol (\u20b9)<\/h4>\n\n<p>The Indian Rupee sign (\u20b9) was officially adopted by the Government of India on 15 July 2010, designed by D. Udaya Kumar of IIT Guwahati. The design combines the Devanagari letter \"\u0930\" (ra) with a horizontal stroke representing the Indian tricolour. Its Unicode code point is <strong>U+20B9 INDIAN RUPEE SIGN<\/strong>, added in Unicode 6.0, and the ISO 4217 currency code for the Indian Rupee is <strong>INR<\/strong>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/<\/code> or install it via the <strong>Plugins \u2192 Add New<\/strong> screen.<\/li>\n<li>Activate it through the <strong>Plugins<\/strong> menu.<\/li>\n<li>Done \u2014 there is no configuration screen. Existing \"Rs\" \/ \"Rs.\" text in your posts will display as \u20b9 immediately.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20add%20the%20indian%20rupee%20symbol%20%28%E2%82%B9%29%20to%20my%20wordpress%20site%3F\"><h3>How do I add the Indian Rupee symbol (\u20b9) to my WordPress site?<\/h3><\/dt>\n<dd><p>Install and activate WP RupeeFont. Any \"Rs\" or \"Rs.\" already written in your posts, pages, excerpts, and text widgets will render as \u20b9 on the front end automatically. There are no shortcodes, no settings, and no database changes.<\/p><\/dd>\n<dt id=\"what%20is%20the%20unicode%20for%20the%20indian%20rupee%20symbol%3F\"><h3>What is the Unicode for the Indian Rupee symbol?<\/h3><\/dt>\n<dd><p>The Indian Rupee sign is <strong>U+20B9<\/strong> in Unicode (named INDIAN RUPEE SIGN), introduced in Unicode 6.0 in October 2010. The character itself is \u20b9.<\/p><\/dd>\n<dt id=\"how%20does%20the%20plugin%20convert%20rs%20to%20%E2%82%B9%3F\"><h3>How does the plugin convert Rs to \u20b9?<\/h3><\/dt>\n<dd><p>It hooks into the standard WordPress content filters and runs a server-side PHP regular expression that matches \"Rs\" or \"Rs.\" at word boundaries and replaces them with the Unicode character \u20b9. The conversion happens before the page is sent to the browser, so visitors never see \"Rs\" flicker on screen.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20load%20any%20javascript%20or%20fonts%3F\"><h3>Does the plugin load any JavaScript or fonts?<\/h3><\/dt>\n<dd><p>No. Version 2.0 removed all bundled JavaScript, CSS, and font files. The plugin adds zero requests and zero bytes to your front-end page weight.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20block%20editor%20%28gutenberg%29%3F\"><h3>Does it work with the block editor (Gutenberg)?<\/h3><\/dt>\n<dd><p>Yes. The plugin filters <code>the_content<\/code>, which is what both the block editor and the classic editor produce on the front end.<\/p><\/dd>\n<dt id=\"will%20it%20touch%20text%20inside%20code%20blocks%20or%20scripts%3F\"><h3>Will it touch text inside code blocks or scripts?<\/h3><\/dt>\n<dd><p>No. Text inside <code>&lt;script&gt;<\/code>, <code>&lt;style&gt;<\/code>, <code>&lt;pre&gt;<\/code>, <code>&lt;code&gt;<\/code>, and <code>&lt;textarea&gt;<\/code> is left untouched, so code samples and embedded scripts are not affected.<\/p><\/dd>\n<dt id=\"why%20is%20%22mrs%22%20or%20%22users%22%20not%20converted%3F\"><h3>Why is \"Mrs\" or \"users\" not converted?<\/h3><\/dt>\n<dd><p>The plugin uses a word-boundary match, so \"Rs\" only converts when it stands alone as a word. Words that happen to contain the letters \"Rs\" are never changed.<\/p><\/dd>\n<dt id=\"why%20is%20lowercase%20%22rs%22%20not%20converted%3F\"><h3>Why is lowercase \"rs\" not converted?<\/h3><\/dt>\n<dd><p>Conversion is case-sensitive (only \"Rs\" or \"Rs.\"). This is a deliberate choice to avoid false positives such as filenames, identifiers, and words that contain \"rs\" in lowercase.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20affect%20prices%20shown%20by%20e-commerce%20or%20shop%20plugins%3F\"><h3>Does this plugin affect prices shown by e-commerce or shop plugins?<\/h3><\/dt>\n<dd><p>No. E-commerce plugins render prices through their own templating, not through <code>the_content<\/code>, so this plugin does not change cart, checkout, product, or order prices. Most e-commerce plugins already support Indian Rupee as a built-in currency option \u2014 that is the right place to configure store pricing. WP RupeeFont is for ordinary post and page text.<\/p><\/dd>\n<dt id=\"where%20in%20the%20post%20content%20does%20it%20run%3F\"><h3>Where in the post content does it run?<\/h3><\/dt>\n<dd><p>On <code>the_content<\/code> (post body), <code>the_excerpt<\/code> (excerpts), <code>widget_text<\/code> (legacy text widgets), and <code>widget_block_content<\/code> (block widgets).<\/p><\/dd>\n<dt id=\"how%20do%20i%20disable%20it%20for%20a%20specific%20filter%3F\"><h3>How do I disable it for a specific filter?<\/h3><\/dt>\n<dd><p>Call <code>remove_filter( 'the_content', 'wp_rupeefont_convert' );<\/code> (or any of the other filter names) from your theme's <code>functions.php<\/code> or another plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite. Replaced client-side WebRupee JavaScript and bundled font with server-side Unicode (\u20b9) substitution.<\/li>\n<li>Removed all bundled assets (JS, CSS, font files). The plugin is now a single PHP file.<\/li>\n<li>Conversion runs in PHP via standard WordPress filters. No front-end requests.<\/li>\n<li>Skips content inside <code>&lt;script&gt;<\/code>, <code>&lt;style&gt;<\/code>, <code>&lt;pre&gt;<\/code>, <code>&lt;code&gt;<\/code>, and <code>&lt;textarea&gt;<\/code>.<\/li>\n<li>Conversion is now case-sensitive (only \"Rs\" \/ \"Rs.\") to reduce false positives.<\/li>\n<li>Now also filters <code>the_excerpt<\/code>, <code>widget_text<\/code>, and <code>widget_block_content<\/code>.<\/li>\n<li>Tested with WordPress 6.7. Requires PHP 7.4 or later.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Missing WebRupee CSS file error resolved.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<\/ul>","raw_excerpt":"Indian Rupee symbol (\u20b9) for WordPress. Automatically converts Rs and Rs. to the INR symbol in posts, excerpts, and widgets.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/92209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=92209"}],"author":[{"embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ajmaurya"}],"wp:attachment":[{"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=92209"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=92209"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=92209"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=92209"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=92209"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/zul.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=92209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}