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

dev-master 2017-08-29 23:07 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:06:57 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

Setup

shortcodes

[vip_specials_active]

Attribute Description
singular a string sentence in singular form using %d in string to indicate number of exclusive specials
plural a string sentence in plural form using %d in string to indicate number of exclusive offers
zero a string sentence if there are zero offers

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