Plugin Directory

Changeset 597693

Timestamp:
09/11/2012 07:49:39 PM (12 years ago)
Author:
dougal
Message:

Convert README.md to GitHub-flavor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documents-shortcode/trunk/README.md

    r597692 r597693  
    1 === Documents Shortcode ===
     1# Documents Shortcode
    22Contributors: dougal
    33Donate link: http://dougal.gunters.org/donate
     
    1111A `[documents]` shortcode which will display a list of attached files, with file type icons, and linked to the files for easy downloading.
    1212
    13 == Description ==
     13## Description
    1414
    1515By adding a simple `[documents]` shortcode in your post or page, you get a
     
    1818based on file extension (e.g., .doc, .pdf, etc).
    1919
    20 == Installation ==
     20## Installation
    2121
    2222Copy the documents-shortcode folder and its contents to your wp-content/plugins
     
    2727posts or pages to generate a list of attached files.
    2828
    29 == Frequently Asked Questions ==
     29## Frequently Asked Questions
    3030
    31 = Where is the settings page? =
     31### Where is the settings page?
    3232
    3333There is no settings page. Just upload attachments to a post or page, and put
    3434the `[documents]` shortcode where you wish the list of attachments to appear.
    3535
    36 = How can I limit which attachments are listed? =
     36### How can I limit which attachments are listed?
    3737
    3838There are two attributes you can use with the shortcode to control which
     
    5959      `[documents mimetype="*"]`
    6060
    61 = I got an error trying to upload a file! =
     61### I got an error trying to upload a file!
    6262
    6363If WordPress tells you that a file failed to upload due to an error ("Sorry,
     
    7070    http://www.wprecipes.com/wordpress-tip-allow-upload-of-more-file-types
    7171
    72 = How do I change the styling? =
     72### How do I change the styling?
    7373
    7474See the `dc_documents.css` file for the default styles. Document icons are in
     
    8181    `.post ul.dc_documents li a { font-family: Courier,monospace; }`
    8282
    83 = Why don't my attached images appear in the documents list? =
     83### Why don't my attached images appear in the documents list?
    8484
    8585By default, images are filtered out of the list (because, that's what
     
    8989    `[documents mimetype="*"]`
    9090
    91 = What file types are supported? =
     91### What file types are supported?
    9292
    9393*Technically*, any file type that WordPress will allow you to upload as an
     
    108108future, and I am open to suggestions.
    109109
    110 = Can you make the icon bigger/smaller? =
     110### Can you make the icon bigger/smaller?
    111111
    112112At this time, the only supported icon size is 32 x 32 pixels.
    113113
    114 == Changelog ==
    115 = 1.0 =
     114## Changelog
     115### 1.0
    116116* Initial release. 2012-09-10
    117117
Note: See TracChangeset for help on using the changeset viewer.