-
Notifications
You must be signed in to change notification settings - Fork 10
Shortcodes
theuprising edited this page Dec 19, 2012
·
1 revision
Shortcodes can be used on any page or post to output a Store's content or a Store's Featured Item. Shortcodes for Store Pages use the Store Page's ID and can be found - along with the ID - in the Topspin -> View Stores menu. Shortcodes for Individual Items use the Item's ID and can be found - along with the Item ID - on the Topspin -> View Items menu.
[topspin_buy_buttons]
Displays the output of a given Store Page
| Attribute | Data Type | Description |
|---|---|---|
| id | int | A Store post ID |
[topspin_featured_items]
Displays the featured items of a given Store Page
| Attribute | Data Type | Description |
|---|---|---|
| id | int | A Store post ID |
[topspin_store_item]
Displays a given offer
| Attribute | Data Type | Description |
|---|---|---|
| id | int | An Offer post ID |
[topspin_store_nav_menu]
Displays the store navigation menu.