=== Plugin Name === Contributors: andrew.alba Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHW8KLEXPH6GC Tags: fitness, diet, points, plus, food, log, weight, watchers Requires at least: 2.7 Tested up to: 3.0.4 Stable tag: 1.2 WordPress Plus Points is a handy plugin that allows WordPress users to log their meals using a points system == Description == A plug-in that will allow you to log your meals and let you know how many Plus Points you use in relationship to your targeted daily plus points. == Installation == This section describes how to install the plugin and get it working. 1. Upload the plugin folder `wp-pluspoints` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Configure the plugin using the `WP-PlusPoints Settings` link in the admin `Settings` menu 1. Place `[wppp serving=1 protien=13 carbs=8 fat=3 fiber=1]` in your post to display the five star rating system 1. See `Other Notes` for more WordPress Plus Points options The `[wppp]` shortcode supports five different attributes. Those attributes, their default values and descriptions are as follows. * servings [default = 1]: How many servings consumed. * protein [default = 0]: How much protein per serving (grams). * carbs [default = 0]: How much carbohydrates per serving (grams). * fat [default = 0]: How much fat per serving (grams). * fiber [default = 0]: How much fiber per serving (grams). == Frequently Asked Questions == = Where do you place the code `[wppp]`? = The plugin requires only that you place the following code in your post/page. You can pass the attributes to the handler. If serving attribute is not included, it defaults to one. All other attributes default to zero. `[wppp serving=1 protien=11 carbs=33 fat=5 fiber=3]` That's it! = Is there a demo somewhere of this plugin in action? = Why yes, yes there is. You can see a demo at [Dingobytes.com](http://www.dingobytes.com/ "Dingobytes.com") = Can I have more than one total per post/page? = Yes! == Screenshots == 1. Multiple log days displayed 2. Isolated shot of total display 3. Personal information settings == Changelog == = 1.2 = * Added settings link to the plug-in page * Refactored settings page using add_submenu_page() = 1.1 = * Compressed the JavaScript * Encoded the WP Plus Points Settings (admin form) and separated into the include * Updated screen shot = 1.0 = * Initial release of WordPress Plus Points == Upgrade Notice == = 1.0 = * Because this plug in will help you with your fitness and diet plans == Arbitrary section == This plug-in currently makes the following assumptions. 1. Posts will not log more then one day of data. 1. Pages will not log more then one day of data. 1. There is only one user per site. There are two methods for displaying the totals on your post and or page. 1. Shortcode API 1. Embedding into theme/template Shortcode API - Inserts the total on an individual bases - Insert the shortcode `[wppp_total]` where you want the total to appear. Embedding into theme/template - Iserts the total on every page using the template - Add the following code to your template where you want the total to appear: `` - WARNING: This method may break your theme if and when the plug-in is deactivated and or removed. Some notes about the plugin. - - Serving does not have to be an integer. You can enter 1.5 for a serving value. Serving defaults to 1. - Protein, Carbohydrates (Carbs), Fat and Fiber are all measured in grams.