Plugin Directory

Changeset 8301

Timestamp:
03/16/2007 09:48:20 PM (19 years ago)
Author:
kccricket
Message:

cricket-moods: More readme cleaning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cricket-moods/trunk/readme.txt

    r8300 r8301  
    6161posts.
    6262
    63 = Advanced Usage =
     63= =
    6464
    6565If you want your moods to be displayed somewhere other than directly above or
     
    7777
    7878`cm_the_moods()` can take three parameters:
     79
    7980    `<?php cm_the_moods('separator', 'before', 'after'); ?>`
     81
    8082* `separator` (string) Text to place in between multiple moods. Default is `' &amp; '`.
    8183* `before` (string) Text to place before the first mood. Default is nothing.
    8284* `after` (string) Text to place after the last mood. Default is nothing.
    8385
     86
    8487A good way to implement this would be:
     88
    8589    `<?php cm_the_moods(' and ', '<p>My mood is: ', '.</p>'); ?>`
    8690
    87 You can also use cm_has_moods() to determine if the current post or a specific
     91
     92= `cm_has_moods()` =
     93
     94You can also use `cm_has_moods()` to determine if the current post or a specific
    8895post has moods associated with it.  It will return true or false accordingly.
    8996
    9097`cm_has_moods()` can take one parameter:
     98
    9199    `<?php cm_has_moods(post_id); ?>`
     100
    92101* `post_id` (integer) The ID of the post you are inquiring about.  Default is the ID of the current post.
    93102
Note: See TracChangeset for help on using the changeset viewer.