A wordpress plugin that adds or averages post meta based on taxonomy and slug data.
I wrote this plugin to be able to log the total amount of work I've done on a project. This way I can create posts (visible or not) to log my time, as well as other values I may want to log.
- Download and extract this into your wordpress plugin folder, typically at wp-content/plugins.
- Activate the plugin in wordpress.
- Set these and it will apply to all unspecified meta-math shortcodes.
- posttype
- taxonomy
- [meta-math]
- args:
- posttype [(default selected in options menu)]
- taxonomy [(default selected in options menu)]
- slug
- meta [required]
- math [(sum),avg]
- Notes:
- If posttype, taxonomy and meta are not defined, shortcode will return error message.
- meta must always be defined. Shortcode will return error if not.
- If no slug is defined, shortcode will return the meta from all posts of that post and/or taxonomy type.
- args:
- [post-meta]
- args:
- postid [defaults to current current post]
- meta [required]
- args: