跳到内容

ARJAM – Just a Modal

v1.0.4

Alessandro Rosato · 2026年5月22日 上架

Just a simple modal window to display content to a new visitor on their first visit. Includes a title, image and text.

正在使用
10 以下
评分
暂无
累计下载
596
最近更新
2026年10月8日
已测试到 7.1.5PHP 7.0+

截图

Backend settings
Backend settings
Frontend - Mobile
Frontend - Mobile
Frontend - Desktop
Frontend - Desktop

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.

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.

It uses the browser’s local storage 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.

Features

  • Set a title, an image and text (all optional fields, so you can mix and match them).
  • Modal can be shown after a delay.
  • Invalidate browsers cache to re-render the modal.
  • Responsive layout.
  • No PRO features!

Style override

You can easily override the plugin’s style by using the following IDs in your custom css file:
* arjam-modal-title – Title of the modal window.
* arjam-modal-image – Image of the modal window.
* arjam-modal-richtext – Text of the modal window.
* arjam-modal-background – Dark background behind the modal window.
* arjam-modal-content – The modal window itself.
* arjam-modal-close – Close button of the modal window.

Cookies and local storage

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 arjam_hash.

Besides that, no other cookie or local storage entry is created.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums