{"id":315220,"date":"2026-05-22T07:30:00","date_gmt":"2026-05-22T07:30:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/just-a-modal\/"},"modified":"2026-05-22T07:52:59","modified_gmt":"2026-05-22T07:52:59","slug":"arjam-just-a-modal","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/arjam-just-a-modal\/","author":23502075,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"","requires_php":"7.0","requires_plugins":null,"header_name":"ARJAM - Just a Modal","header_author":"Alessandro Rosato","header_description":"Render a simple modal with a title, some text and an image. No frills, no pro version.","assets_banners_color":"","last_updated":"2026-05-22 07:52:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.alessandrorosato.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":40,"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":"alessandrorosato","date":"2026-05-22 07:52:59"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3543332,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3543332,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3543332,"resolution":"1","location":"assets","locale":"","width":3810,"height":2060},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3543332,"resolution":"2","location":"assets","locale":"","width":828,"height":1396},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3543332,"resolution":"3","location":"assets","locale":"","width":3810,"height":2060}},"screenshots":{"1":"Backend settings","2":"Frontend - Mobile","3":"Frontend - Desktop"}},"plugin_section":[],"plugin_tags":[613,491],"plugin_category":[],"plugin_contributors":[263937],"plugin_business_model":[],"class_list":["post-315220","plugin","type-plugin","status-publish","hentry","plugin_tags-modal","plugin_tags-popup","plugin_contributors-alessandrorosato","plugin_committers-alessandrorosato"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/arjam-just-a-modal\/assets\/icon-128x128.png?rev=3543332","icon_2x":"https:\/\/ps.w.org\/arjam-just-a-modal\/assets\/icon-256x256.png?rev=3543332","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/arjam-just-a-modal\/assets\/screenshot-1.png?rev=3543332","caption":"Backend settings"},{"src":"https:\/\/ps.w.org\/arjam-just-a-modal\/assets\/screenshot-2.png?rev=3543332","caption":"Frontend - Mobile"},{"src":"https:\/\/ps.w.org\/arjam-just-a-modal\/assets\/screenshot-3.png?rev=3543332","caption":"Frontend - Desktop"}],"raw_content":"<!--section=description-->\n<p>This plugin is meant to deliver one thing and that's a simple modal that renders whenever a user visits your site for the first time. It has no third-party dependencies, no paid features, nothing.<\/p>\n\n<p>The minimal JavaScript code is written in vanilla JS without jQuery for a faster and lighter experience. Code is meant to load all modal assets (including the image) only when necessary, to avoid burdening your pages with unneeded requests.<\/p>\n\n<p>It uses cookies to store a hash that will hide the modal after the first visit. This hash can be invalidated from the admin section to force a re-render of the modal. Useful for when you want to push a new message\/information.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Set a title, an image and text (all optional fields, so you can mix and match them).<\/li>\n<li>Modal can be shown after a delay.<\/li>\n<li>Invalidate browsers cache to re-render the modal.<\/li>\n<li>Responsive layout.<\/li>\n<li>No PRO features!<\/li>\n<\/ul>\n\n<h3>Style override<\/h3>\n\n<p>You can easily override the plugin's style by using the following IDs in your custom css file:\n* <code>arjam-modal-title<\/code> - Title of the modal window.\n* <code>arjam-modal-image<\/code>  - Image of the modal window.\n* <code>arjam-modal-richtext<\/code> - Text of the modal window.\n* <code>arjam-modal-background<\/code> - Dark background behind the modal window.\n* <code>arjam-modal-content<\/code> - The modal window itself.\n* <code>arjam-modal-close<\/code> - Close button of the modal window.<\/p>\n\n<h3>Cookies and local storage<\/h3>\n\n<p>This plugin stores on the visitor browser the hash that is meant to check whether the user has seen the current modal or not. This hash is stored in a key in the local storage called <code>arjam_hash<\/code>.<\/p>\n\n<p>Besides that, no other cookie or local storage entry is created.<\/p>\n\n<!--section=installation-->\n<h4>WordPress Admin<\/h4>\n\n<ol>\n<li>Go to <strong>Plugins<\/strong> -&gt; <strong>Add plugin<\/strong>.<\/li>\n<li>Search for \"arjam\" in the search bar to the right.<\/li>\n<li>Click on <strong>Install now<\/strong>.<\/li>\n<li>Once installation is done, the button will change into <strong>Activate<\/strong>. Click it.<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Download the plugin from one of the two sources below:\n\n<ol>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/arjam-just-a-modal\/\">Official WordPress.org directory<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/alessandrorosato\/arjam-just-a-modal\/releases\">Latest release from GitHub<\/a><\/li>\n<\/ol><\/li>\n<li>Extract the content and copy to the <code>\/wp-content\/plugins\/<\/code> directory of your WordPress installation.<\/li>\n<li>From your WordPress dashboard, go to <strong>Plugins<\/strong> &gt; <strong>Installed Plugins<\/strong>.<\/li>\n<li>Find the \"ARJAM - Just a Modal\" plugin and activate it.<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20should%20i%20use%20this%20plugin%20instead%20of%20x\"><h3>Why should I use this plugin instead of X<\/h3><\/dt>\n<dd><p>That's the neat part, you don't! It's just a very simple and straight-forward plugin to add one simple modal to a WordPress website.<\/p><\/dd>\n<dt id=\"if%20there%20are%20other%20plugins%20addressing%20the%20same%20feature%2C%20why%20making%20a%20new%20one%3F\"><h3>If there are other plugins addressing the same feature, why making a new one?<\/h3><\/dt>\n<dd><p>I just had the second-hand experience of a modal plugin deleting all modals already set and running because of an update. The plugin was also relying on a third-party platform (which was apparently responsible for making settings outdated and for deleting modals). I want to offer a <em>simple<\/em> solution.<\/p><\/dd>\n<dt id=\"the%20modal%20is%20ugly%2C%20can%20i%20change%20its%20appearance%3F\"><h3>The modal is ugly, can I change its appearance?<\/h3><\/dt>\n<dd><p>Yes you can! If you haven't seen it, scroll up to the \"Style override\" section. There's a list of IDs that you can use to set your own CSS rules.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release,the plugin is fully operational!<\/li>\n<\/ul>","raw_excerpt":"Just a simple modal window to display content to a new visitor on their first visit. Includes a title, image and text.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/315220","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=315220"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alessandrorosato"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=315220"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=315220"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=315220"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=315220"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=315220"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=315220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}