P2P Customizer Docs

Form Shortcode Embed Example

P2P Form Shortcode

You





Male   Female

Your Partner





Male   Female

Expecting   New parent

Token Shortcode Examples

Tokens work by targeting user input data via the syntax below. Use the “token” keyword (or “t” for short) to target a user properties. Use the “default” keyword (“d” for short) to provide a value when user input is not available.

token=”user:name” (default=”website user”) => website user
token=”user:gender:male/female” (default=”person”) => person
token=”user:gender:man/woman” (default=”person”) => person
token=”user:gender:him/her” (default=”them”) => them
token=”user:gender:his/hers” (default=”theirs”) => theirs
token=”user:gender:he/she” (default=”they”) => they
token=”user:status” (default=”?”) => ?

token=”partner:name” => DEFUALT
token=”partner:Gender:he/she” (default=”they”) => They (capitalisation example)
token=”partner:status” => DEFUALT

etc

Special Words Example

Special words depend on partner gender being set. Use the “word” keyword (or “w” for short) to specify the male/female variants.. If it is set, the first option is used, otherwise the default (d) option with be used. Use the “default” keyword (“d” for short) to provide a value when partner gender is not available.

word=”feels” (default=”feel”) => feel
word=”is” (default=”are”) => are
word=”loses” (default=”lose”) => lose
word=”says” (default=”say”) => say

Hide Section Example

Hide if user:gender=male >This will be hidden when user:gender=male< Hide if user:gender=male   Hide if user:gender!=male (not equal) >< Hide if user:gender!=male (not equal)

Hide in Menu Example

p2p-menu-hide--example