Search Results for: short code
Re-implement [wp-members] shortcode tag
Custom login/logout button shortcode
Custom shortcode: display posts accessible to user by membership
Shortcodes
[wpmem_dp_error]
This shortcode is used to create the Download Error page. It does not accept any attributes. Place this shortcode on the file you want users to be directed to when there is an error (such as a non-logged in user clicking a download link). This will give the user an opportunity to log in and access the file.[wpmem_dp_list]
This shortcode displays a link of all possible download files. It does not accept any attributes. You can use this shortcode to display a bullet list of available files to be downloaded.[wpmem_file]
This shortcode displays a link to a specific file. It MUST include the file key as an attribute in the shortcode. For example, if the file key was b0df458f9a11ac9b646aa4f6d9655984, then the shortcode would be used as follows: [wpmem_file b0df458f9a11ac9b646aa4f6d9655984] Note that the table of files found under Media > Download Protect will give you not only the file keys for each file, but will display the [wpmem_file] shortcode you can copy/paste for each file.[wpmem_video]
Currently experimental, version 1.7.0 and higher To display a video where the file key is b0df458f9a11ac9b646aa4f6d9655984: [wpmem_video key=b0df458f9a11ac9b646aa4f6d9655984] Attributes:- key (the file key)
- height
- width
- controls
- autoplay
- controlslist
- loop
- muted
- poster
- preload
- no_key (for messages if the file key is missing)
- logged_out (for error message if the user is logged out)
- error (for message if the user's browser does not support HTML5 embedded videos)