Show Once

Free!
Download
Show Once
Description

Show Once

A Statamic V2 add-on to hide content from vistors after they've seen it. i.e. only show it to them once.

Installing

  1. Copy the "addons" folder contents to your Statamic site directory;
  2. There is no step 2

Usage

Wrap content you only want your visitors to see once in a {{ show_once:foo }} tag where foo should be unique and descriptive.

If the visitor is logged in to your site, the visibility status will persist across all devicers/browsers they are logged in with.

If they are not logged in, a cookie is used so they may see the content again if they view your site in a different browser/device.

While this add-on defaults to forever, you may also specify a time period (in minutes) by specifying a per argument like this: {{ show_once:foo per="1440" }}.

LICENSE

MIT License


Important Links
Details
Released April 7, 2018
Updated 5 months ago
Version v1.1.1
Downloads 272
Requires Statamic 2

Erin Dalzell

More by Erin Dalzell

Similar Addons

See All
Searches occurences of files and replaces them as listed in the manifest

AssetManifest

by Mintel.me in CSS, Enhancement, JavaScript, Tag, Utility
Searches occurences of files and replaces them as listed in the manifest
Create iCal files so users can add events to their calendar

iCal

by Erin Dalzell in Dates, Tag
Create iCal files so users can add events to their calendar
Create, edit, and delete entries, pages, and globals on the front-end of your site without the control panel. $39

Workshop

by Statamic in Forms, Tag
Create, edit, and delete entries, pages, and globals on the front-end of your site without the control panel.
Manage third party scripts and pixels (tags); like Google Tag Manager but not.

Third Party

by Cody Spring in API, Tag, Utility
Manage third party scripts and pixels (tags); like Google Tag Manager but not.