Plugin Directory

Changeset 494442


Ignore:
Timestamp:
01/24/2012 04:48:03 AM (14 years ago)
Author:
jacobgsp
Message:

fix readme.txt

Location:
custom-options/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-options/trunk/custom-options.php

    r494438 r494442  
    33Plugin Name: Custom Options
    44Plugin 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.
     5Description: 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.
    66Version: 1.0
    77Author: Jacob Guite-St-Pierre
  • custom-options/trunk/readme.txt

    r494440 r494442  
    1010== Description ==
    1111
    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]).
     12Allows 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 ).
    1313
    1414Very simple, yet efficient.
     
    1717
    18181. Upload the folder `custom-options` to the `/wp-content/plugins/` directory
    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_config('KEY','DEFAULT VALUE')`
     192. Activate the plugin through the `Plugins` menu in WordPress
     203. Update the plugin through the `Options` menu in WordPress
     214. Use Custom Options in your theme through the PHP function `get_custom_option( $slug, $default_value )`
    22225. Don't forget to precede the function by an `echo` if you want to output it
    2323
Note: See TracChangeset for help on using the changeset viewer.