Changeset 2851981
- Timestamp:
- 01/20/2023 04:22:46 PM (3 years ago)
- File:
-
- 1 edited
-
iteras/trunk/README.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iteras/trunk/README.txt
r2788253 r2851981 54 54 These shortcodes, except [iteras-return-to-page], are internally converted to calls to the ITERAS Javascript API. You can pass more parameters if you need to, e.g. `next`, see the [API documentation](https://app.iteras.dk/api/) for more details. The profile parameter is implicit and comes from your plugin settings. 55 55 56 There's a few shortcodes for controlling content based on the users logged in status. For showing content when the user has access use `[iteras-if-logged-in paywallid="abc123,def456"]Content only shown if the user is logged in and has access[/iteras-if-logged-in]`. `[iteras-if-not-logged-in]` does the opposite. `[iteras-if-logged-in-link ]Content[/iteras-if-logged-in-link]` will automatically insert a link to the subscriber landing page that is configured with the plugin, alternatively a `url` attribute can be supplied, while `login_text` can we used to customize the link text. These shortcodes only work with server validation enabled.56 There's a few shortcodes for controlling content based on the users logged in status. For showing content when the user has access use `[iteras-if-logged-in paywallid="abc123,def456"]Content only shown if the user is logged in and has access[/iteras-if-logged-in]`. `[iteras-if-not-logged-in]` does the opposite. `[iteras-if-logged-in-link paywallid="abc123,def456"]Content[/iteras-if-logged-in-link]` will automatically insert a link to the subscriber landing page that is configured with the plugin, alternatively a `url` attribute can be supplied, while `login_text` can we used to customize the link text. These shortcodes only work with server validation enabled. 57 57 58 58 = Is it possble to programatically control if a page should be paywalled? =
Note: See TracChangeset
for help on using the changeset viewer.