2017 © Pedro Pelรกez
 

wordpress-plugin wp-plugin-vip

Wordpress plugin to create VIP Club Members

image

fgms/wp-plugin-vip

Wordpress plugin to create VIP Club Members

  • Wednesday, August 30, 2017
  • by sturple
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

VIP Club Plugin

  • 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

The Versions

30/08 2017

dev-master

9999999-dev https://github.com/fgms/wp-plugin-vip

Wordpress plugin to create VIP Club Members

  Sources   Download

GPL-3.0

The Requires

 

plugin wordpress fgms

30/08 2017

dev-change-priority-add-site-name

dev-change-priority-add-site-name https://github.com/fgms/wp-plugin-vip

Wordpress plugin to create VIP Club Members

  Sources   Download

GPL-3.0

The Requires

 

plugin wordpress fgms