Changeset 494442
- Timestamp:
- 01/24/2012 04:48:03 AM (14 years ago)
- Location:
- custom-options/trunk
- Files:
-
- 2 edited
-
custom-options.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-options/trunk/custom-options.php
r494438 r494442 3 3 Plugin Name: Custom Options 4 4 Plugin URI: http://jacobgsp.com/wordpress/ 5 Description: Allows you to create custom options that you can easily update via the administration panel in Options > Custom Options and also allow you to use mentioned options in your theme using a simple PHP function: string get_custom_option( $slug [, $default_value]). Very simple, yet efficient.5 Description: Allows you to create custom options that you can easily update via the administration panel in Options > Custom Options and also allow you to use mentioned options in your theme using a simple PHP function: get_custom_option( $slug, $default_value ). Very simple, yet efficient. 6 6 Version: 1.0 7 7 Author: Jacob Guite-St-Pierre -
custom-options/trunk/readme.txt
r494440 r494442 10 10 == Description == 11 11 12 Allows you to create custom options that you can easily update via the administration panel in Options > Custom Options and also allow you to use mentioned options in your theme using a simple PHP function: string get_custom_option( $slug [, $default_value]).12 Allows you to create custom options that you can easily update via the administration panel in Options > Custom Options and also allow you to use mentioned options in your theme using a simple PHP function: get_custom_option( $slug, $default_value ). 13 13 14 14 Very simple, yet efficient. … … 17 17 18 18 1. Upload the folder `custom-options` to the `/wp-content/plugins/` directory 19 2. Activate the plugin through the 'Plugins'menu in WordPress20 3. Update the plugin through the 'Options'menu in WordPress21 4. Use Custom Options in your theme through the PHP function `get_c onfig('KEY','DEFAULT VALUE')`19 2. Activate the plugin through the `Plugins` menu in WordPress 20 3. Update the plugin through the `Options` menu in WordPress 21 4. Use Custom Options in your theme through the PHP function `get_custom_option( $slug, $default_value )` 22 22 5. Don't forget to precede the function by an `echo` if you want to output it 23 23
Note: See TracChangeset
for help on using the changeset viewer.