fgms / wp-plugin-vip
Wordpress plugin to create VIP Club Members
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:wordpress-plugin
Requires
- php: >=5.4
- composer/installers: ~1.0
- sturple/wordpress-utilities: ~1.0
- wpackagist-plugin/piklist: >0.9
This package is not auto-updated.
Last update: 2025-01-05 06:45:33 UTC
README
- This plugin is used with wp-members to create a system that requires users to sign up as a member to get exclusive vip club member deals.
- It has a vip club page which explains how it works with a login.
- It also uses the Specials Custom post type from the wp-plugin-cpt.
- If not signed in when viewing the special index it only shows public specials.
- If you are signed in then the special index shows exclusive VIP Club specials as well.
- Has a
Settings->VIP Club
settings page for inital setup of integration to WP-Members plugin - Has a
Settings->WP-Members
settings page for WP-Members plugin setup.
Requires
- Piklist Plugin
- WP-Members docs
- wp-theme-twig and child theme
- wp-plugin-cpt (Specials Custom Post Type)
Setup
- add to composer
fgms/wp-plugin-vip
- run the command
composer update
- Install WP-Members Plugin
- Setup WP-Members Plugin
- Setup VIP Club Settings
shortcodes
[vip_specials_active]
Usage on Vip Page
[vip_specials_active singular="is currently %d exclusive special" plural="are currently %d exclusive specials" zero=" "]<div class="highlight-text"><p>Special offers range from discounted accommodations, on-property dining and spa services to unique members-only packages. <strong>There %s available to VIP Club members</strong>. Login to view or <a href="[twig]{{function('get_permalink',2)}}[/twig]" >sign up today.</a> It's free! </p></div>[/specials_active]
<div class="login-form">[wpmem_form login]</div>
Tree
├── composer.json - for composer
├── docs - docs
│ ├── vip-club-setup.md
│ └── wp-members-setup.md
├── parts
│ └── settings
│ └── vip-settings.php - Piklist setting to give menu Settings -> VIP Club
├── README.md - this files
├── shortcodes
│ └── vip-specials-active.php - allows singular, plural and zero sentence for exclusive offers
├── twig-templates
│ ├── archive-special.twig - overrides specials template index
│ └── single-special.twig - overrides special archive template
└── wp-plugin-vip.php