Changeset 8301
- Timestamp:
- 03/16/2007 09:48:20 PM (19 years ago)
- File:
-
- 1 edited
-
cricket-moods/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cricket-moods/trunk/readme.txt
r8300 r8301 61 61 posts. 62 62 63 = Advanced Usage=63 = = 64 64 65 65 If you want your moods to be displayed somewhere other than directly above or … … 77 77 78 78 `cm_the_moods()` can take three parameters: 79 79 80 `<?php cm_the_moods('separator', 'before', 'after'); ?>` 81 80 82 * `separator` (string) Text to place in between multiple moods. Default is `' & '`. 81 83 * `before` (string) Text to place before the first mood. Default is nothing. 82 84 * `after` (string) Text to place after the last mood. Default is nothing. 83 85 86 84 87 A good way to implement this would be: 88 85 89 `<?php cm_the_moods(' and ', '<p>My mood is: ', '.</p>'); ?>` 86 90 87 You can also use cm_has_moods() to determine if the current post or a specific 91 92 = `cm_has_moods()` = 93 94 You can also use `cm_has_moods()` to determine if the current post or a specific 88 95 post has moods associated with it. It will return true or false accordingly. 89 96 90 97 `cm_has_moods()` can take one parameter: 98 91 99 `<?php cm_has_moods(post_id); ?>` 100 92 101 * `post_id` (integer) The ID of the post you are inquiring about. Default is the ID of the current post. 93 102
Note: See TracChangeset
for help on using the changeset viewer.