Shortcodes
score
[pw-score]
Embeds the score for the current ingredient post.
[pw-score title="The Score"]
Custom title. If title is not specified then the ingredient’s post title will is used.
[pw-score
title="none"]
No title.
[pw-score id=99]
Embed the ingredient score into another page or post.
You can find the ingredient id from the WordPress ingredient post URL
https://www.preworkout.org/wp-admin/post.php?post=99
[pw-score id=99
]
Ingredient 99 example.
L-Citrulline
Body Composition | |
Endurance | |
Energy | |
Focus | |
Mood | |
Pump | |
Strength | |
- [pw-score value=7] Embed a value with no context example.
Calculator
[pw-calculator]
embeds the pre-workout calculator.
Pre-workout Calculator
The calculator display a drop-down list of ingredients. The user selects ingredients and their quantities to calculate the final score.
Products
A product is a list of Ingredients and their quantities, as well as a brand and post content e.g. excerpt, featured, etc.

Each product is public with a permalink structure, /product/brand/title/ e.g. https://www.preworkout.org/product/kaged-muscle/pre-kaged/
Ingredients
Each ingredient post type contains properties for calculating the score, as well as post content.


Each ingredient is public e.g.
https://www.preworkout.org/ingredient/l-citrulline/
https://www.preworkout.org/ingredient/beta-alanine/
https://www.preworkout.org/ingredient/sodium/
The ingredient archive can be found here https://www.preworkout.org/ingredient/
Brands
Brands are taxonomies for organizing products. The brand name is also visible on each product post.
Each brand is a public archive listing it’s products e.g. https://www.preworkout.org/brand/kaged-muscle/