This repository contains custom shortcodes for the directory and interesting lists pages on http://thephage.org wordpress site The shortcodes.php file lives in the wp-includes directory (access this via cpanel). Feel free to edit and refine.
Shortcode Tutorials:
- http://wp.smashingmagazine.com/2012/05/01/wordpress-shortcodes-complete-guide/
- http://codex.wordpress.org/Shortcode_API
How this code is used:
Example below for the wordpress page called interesting lists . 5 is the Id# of the Gravity Forms used for Camp Registration 2013.
======================================================================
Total Site Entries: [totalsite form =5]
Phagelings Going ( [totalattend form=5] ):
[participants form=5]
Going, but not with The Phage ([totalnotattend form =5]):
[notwithphage form=5]
Not Going:([totalnotgoing form=5]):
(If not going, change 'Phage Camp Taxes?' to 'Not Going' in your Entry)
[notgoing form=5]
(Existing Users):
[old_participants form=9]