{"id":246029,"date":"2025-09-27T19:07:28","date_gmt":"2025-09-27T19:07:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/iranlegal-calculator\/"},"modified":"2025-10-03T17:46:33","modified_gmt":"2025-10-03T17:46:33","slug":"iranlegal-embed","status":"publish","type":"plugin","link":"https:\/\/pcm.wordpress.org\/plugins\/iranlegal-embed\/","author":21130606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"1.4","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"IranLegal Embed","header_author":"IranLegal","header_description":"A WordPress plugin that displays the Iran-Legal calculator via an iframe, with configurable URL, width, height, and style.","assets_banners_color":"","last_updated":"2025-10-03 17:46:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.iran-legal.com","header_author_uri":"https:\/\/www.iran-legal.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":255,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"tehranborj","date":"2025-09-28 09:56:35"},"1.4":{"tag":"1.4","author":"tehranborj","date":"2025-10-03 17:46:33"}},"upgrade_notice":{"1.4":"<p>Compatibility and documentation updates; recommended for all users.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3368995,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3368995,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3368981,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3368981,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The settings page to configure iframe URL, width, height, and border style.","2":"Example of an embedded calculator inside a post."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[716,230,1860,1903],"plugin_category":[56,59],"plugin_contributors":[248479],"plugin_business_model":[],"class_list":["post-246029","plugin","type-plugin","status-publish","hentry","plugin_tags-calculator","plugin_tags-embed","plugin_tags-iframe","plugin_tags-legal","plugin_category-social-and-sharing","plugin_category-utilities-and-tools","plugin_contributors-tehranborj","plugin_committers-tehranborj"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/iranlegal-embed\/assets\/icon-128x128.png?rev=3368995","icon_2x":"https:\/\/ps.w.org\/iranlegal-embed\/assets\/icon-256x256.png?rev=3368995","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/iranlegal-embed\/assets\/screenshot-1.png?rev=3368981","caption":"The settings page to configure iframe URL, width, height, and border style."},{"src":"https:\/\/ps.w.org\/iranlegal-embed\/assets\/screenshot-2.png?rev=3368981","caption":"Example of an embedded calculator inside a post."}],"raw_content":"<!--section=description-->\n<p>A lightweight plugin to embed Iran Legal\u2019s calculators and tools into any WordPress post or page via an iframe. Configure the URL once in Settings and drop the shortcode into your content. Ideal for family law, enforcement, inheritance, property disputes, and other Iranian legal topics.<\/p>\n\n<p><a href=\"https:\/\/www.iran-legal.com\">\u0627\u06cc\u0631\u0627\u0646 \u0644\u06af\u0627\u0644<\/a> \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0648 \u067e\u0644\u062a\u0641\u0631\u0645 \u062a\u062e\u0635\u0635\u06cc \u062f\u0631 \u062d\u0648\u0632\u0647 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0645\u0634\u0627\u0648\u0631\u0647 \u062d\u0642\u0648\u0642\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u062a\u0648\u0644\u06cc\u062f \u0645\u062d\u062a\u0648\u0627\u06cc \u0642\u0627\u0628\u0644 \u0627\u062a\u06a9\u0627 \u0648 \u0627\u0631\u0627\u0626\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc\u060c \u0645\u0633\u06cc\u0631 \u062f\u0631\u06a9 \u0648 \u067e\u06cc\u06af\u06cc\u0631\u06cc \u0627\u0645\u0648\u0631 \u062d\u0642\u0648\u0642\u06cc \u0631\u0627 \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u0647\u0631\u06cc\u0647 \u0628\u0647 \u0646\u0631\u062e \u0631\u0648\u0632\u060c \u0633\u0647\u0645\u200c\u0627\u0644\u0627\u0631\u062b\u060c \u062f\u06cc\u0647 \u0633\u0627\u0644 \u06f1\u06f4\u06f0\u06f4 \u0648 \u0647\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0631\u0633\u06cc \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0647\u0633\u062a\u0646\u062f.<\/p>\n\n<p>\u0627\u0641\u0632\u0648\u0646\u0647 \u0627\u06cc\u0631\u0627\u0646 \u0644\u06af\u0627\u0644 \u0627\u0645\u0628\u062f \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f  <a href=\"https:\/\/www.iran-legal.com\/\u0645\u062d\u0627\u0633\u0628\u0647-\u0622\u0646\u0644\u0627\u06cc\u0646-\u062d\u0642\u0648\u0642\u06cc\/\">\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u062d\u0642\u0648\u0642\u06cc \u0627\u06cc\u0631\u0627\u0646 \u0644\u06af\u0627\u0644<\/a> \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0622\u06cc \u0641\u0631\u06cc\u0645 \u062f\u0631 \u0635\u0641\u062d\u0627\u062a \u0648\u0631\u062f\u067e\u0631\u0633 \u062e\u0648\u062f \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f\u060c\u0628\u062f\u0648\u0646 \u0627\u06cc\u0646\u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0635\u0641\u062d\u0647 \u0631\u0627 \u062a\u0631\u06a9 \u06a9\u0646\u062f..<\/p>\n\n<p><strong>Key Features<\/strong>\n- Simple settings page (Settings \u2192 IranLegal Embed)\n- Shortcode: <code>[iranlegal_embed]<\/code>\n- Width (e.g. 100%) and height (px)\n- Custom CSS border style (rounded corners\/border)\n- Domain validation (only iran-legal.com allowed)\n- No front-end scripts; minimal footprint<\/p>\n\n<p><strong>Use Cases<\/strong>\n- Legal blogs, educational portals, and practice sites\n- Display Iran Legal calculators inside guides\/how-to pages\n- Reduce drop-offs and increase on-page engagement<\/p>\n\n<h3>Shortcode<\/h3>\n\n<p>Use the shortcode in any post or page:\n    [iranlegal_embed]<\/p>\n\n<p><em>Note:<\/em> The iframe URL is configured once under <strong>Settings \u2192 IranLegal Embed<\/strong>.<\/p>\n\n<h3>\u0646\u0635\u0628 (\u0641\u0627\u0631\u0633\u06cc)<\/h3>\n\n<ol>\n<li>\u0641\u0627\u06cc\u0644 ZIP \u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u062f\u0631 \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u0648\u0631\u062f\u067e\u0631\u0633: \u0627\u0641\u0632\u0648\u0646\u0647\u200c\u0647\u0627 \u2192 \u0627\u0641\u0632\u0648\u062f\u0646 \u2192 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0627\u0641\u0632\u0648\u0646\u0647 \u2192 \u0646\u0635\u0628.<\/li>\n<li>\u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0628\u0647 \u00ab\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u2192 IranLegal Embed\u00bb \u0628\u0631\u0648\u06cc\u062f \u0648 URL \u0627\u0628\u0632\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646 \u0644\u06af\u0627\u0644 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0634\u0648\u0631\u062a\u200c\u06a9\u062f <code>[iranlegal_embed]<\/code> \u0631\u0627 \u062f\u0631 \u0646\u0648\u0634\u062a\u0647\/\u0628\u0631\u06af\u0647 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/li>\n<\/ol>\n\n<h3>Installation (English)<\/h3>\n\n<ol>\n<li>Download the plugin ZIP.<\/li>\n<li>In WP Admin: Plugins \u2192 Add New \u2192 Upload Plugin \u2192 Install.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to Settings \u2192 IranLegal Embed, enter the Iran Legal tool URL.<\/li>\n<li>Use the shortcode <code>[iranlegal_embed]<\/code> in posts or pages.<\/li>\n<\/ol>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin does not collect, store, or transmit any personal data by itself. Embedded content loads from <code>iran-legal.com<\/code>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20does%20the%20plugin%20do%3F'><h3>What does the plugin do?<\/h3><\/dt>\n<dd><p>It embeds Iran Legal\u2019s calculators\/tools on your site via a secure iframe so users can interact with trusted legal resources without leaving your page.<\/p><\/dd>\n<dt id='i%20get%20%E2%80%9Cinvalid%20host%E2%80%9D.%20why%3F'><h3>I get \u201cInvalid host\u201d. Why?<\/h3><\/dt>\n<dd><p>For security, only the <code>iran-legal.com<\/code> domain is allowed. Please enter a URL from that domain.<\/p><\/dd>\n<dt id='can%20i%20style%20the%20frame%3F'><h3>Can I style the frame?<\/h3><\/dt>\n<dd><p>Yes. From the settings page you can set width (e.g. 100%), height (px), and a CSS border style.<\/p><\/dd>\n<dt id='can%20i%20place%20multiple%20embeds%20on%20one%20page%3F'><h3>Can I place multiple embeds on one page?<\/h3><\/dt>\n<dd><p>Yes. Configure once in settings and use the shortcode wherever needed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Bump: Tested up to 6.8.3<\/li>\n<li>Readme improvements and minor hardening of defaults<\/li>\n<li>Confirmed compatibility with latest WP\/PHP constraints<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Domain whitelist for security<\/li>\n<li>Height input changed to number field<\/li>\n<li>Better empty-URL notice<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix shortcode render syntax<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A simple WordPress plugin to embed IranLegal calculators via iframe with configurable URL, width, height and style.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/246029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=246029"}],"author":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tehranborj"}],"wp:attachment":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=246029"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=246029"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=246029"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=246029"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=246029"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=246029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}