| 1 | === Flutter === |
|---|
| 2 | Contributors: alphaoide, coffee2code, freshout |
|---|
| 3 | Tags: custom write panel, custom, write panel |
|---|
| 4 | Requires at least: 2.3 |
|---|
| 5 | Tested up to: 2.5 |
|---|
| 6 | Stable tag: .11 |
|---|
| 7 | |
|---|
| 8 | Flutter is for creating customized write panels with file and photo |
|---|
| 9 | uploads. Includes automatic photo resizing via phpThumb and freshout. |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | == Description == |
|---|
| 13 | |
|---|
| 14 | WordPress gets pretty close to becoming a practical content management solution with this plugin. |
|---|
| 15 | Create multiple custom write panels, add custom fields (images, drop downs, file upload, images, checkboxes, textareas, etc..), photos can be automatically resized, cropped, watermarked, drop shadowed, and modified in many other ways (this plugin comes with php_thumb). |
|---|
| 16 | In addition to being able to upload files from your computers, you can also retrieve Images from 3rd party sites on the fly. |
|---|
| 17 | The core of this plugin was written by Scott Reiley (http://www.coffee2code.com/wp-plugins/), Joshua Siguar (http://rhymedcode.net/projects/custom-write-panel), and Eric Pujol (http://phpthumb.sourceforge.net/). All we did is add a bit of freshness. |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | == Installation == |
|---|
| 21 | |
|---|
| 22 | Follow the following steps to install this plugin. |
|---|
| 23 | |
|---|
| 24 | 1. Download plugin to the `/wp-content/plugins/` folder. |
|---|
| 25 | 2. Activate the plugin through the 'Plugins' menu in WordPress. |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | == Frequently Asked Questions == |
|---|
| 29 | |
|---|
| 30 | = How do I create a new custom write panel? = |
|---|
| 31 | |
|---|
| 32 | 1. Go to 'Flutter' > 'Modules' click on 'Create Custom Write module' and follow the on-screen instruction. |
|---|
| 33 | 2. Go to 'Flutter' > 'Write Panels' click on 'Create Custom Write panel' and add the module to the panel. |
|---|
| 34 | 3. Go to 'Write' menu and you should see your new custom write panel beside 'page' sub-menu. |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | = How do I add a custom input field? = |
|---|
| 38 | |
|---|
| 39 | After creating a custom module, click on 'View' to view the module info, click 'Create Custom Field' |
|---|
| 40 | and follow on-screen instruction. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | = How do I get custom field to show up in my post? = |
|---|
| 44 | |
|---|
| 45 | There three different functions (get, get_image, get_audio) that you can use to retrieve the values for the fields youâve created. |
|---|
| 46 | |
|---|
| 47 | You can always use the âgetâ function to grab the ânakedâ variable but weâve also built the âget_imageâ and âget_audioâ functions that will spit out the variable with html tags. |
|---|
| 48 | |
|---|
| 49 | Grabbing the Values |
|---|
| 50 | get(âvariableâ) = naked variable |
|---|
| 51 | get_image(âvariableâ) = variable with image tag |
|---|
| 52 | get_audio(âvariableâ) = variable with single mp3 swf player |
|---|
| 53 | |
|---|
| 54 | An Example |
|---|
| 55 | Letâs say you want to have an events page for your site so you created a new write panel and added a custom Image field called âFlyerâ, a Date field called âDateâ and an audio field called "MP3". So now how do we display it on the post page? |
|---|
| 56 | |
|---|
| 57 | To display the Flyer image: <?php echo get_image('Photos'); ?>" /> |
|---|
| 58 | To display the Date field: <?php echo get('Date'); ?> |
|---|
| 59 | To display the MP3 Player (with the song): <?php echo get_audio('MP3'); ?> |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | = Is this Fresh Page? = |
|---|
| 63 | |
|---|
| 64 | Yes, this is the same plugin as Fresh Page. |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | == Credits == |
|---|
| 68 | |
|---|
| 69 | * ["Joshua Sigar"](http://rhymedcode.net) The creator of Custom Write Panel |
|---|
| 70 | * ["James Heinrich"](info@silisoftware.com) The creator of phpThumb |
|---|
| 71 | * ["Scott Reilly"](http://www.coffee2code.com) The creator of get-custom plugin |
|---|