Star Rating for Reviews is a simple WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags. It can also calculate and output overall ratings for you based on all previous scores you have assigned, useful for reviews that have multiple categories or an album review where each track is assigned a score.
This plugin supports storing rating data into your WordPress database. These data can then be retrieved by functions provided to output a list of reviews, sortable by date, post title or rating scores. Random reviews function and single post function (to be used in WordPress loop) are also provided, see Usage section for detailed description of these functions.
Features
- uses simple, intuitive tags to generate kawaii inline rating stars for your posts
- supports versatile rating systems
- supports text only output for RSS
- automatically calculates and displays overall ratings, if desired
- supports storing rating scores automatically into database *
- supports outputting list of reviews sortable by date, post title or rating scores *
- supports widget-like, sortable table of reviews *
- supports custom star images
- supports custom prefixes and suffixes for your own CSS class
- supports globally forced star count for consistency
- uses as many stars as you want! **
- standards compliant: valid XHTML
* database writing has to be enabled via Options
** limited to 20 for practicality
Usage
Presentation
Data (for advanced users)
Presentation
Once installed, you can add rating stars to your posts by using [rating:] tags.





By default, this will be interpreted as 3.5/5, as shown in the rating stars generated. Default denominator can be changed via options detailed in the next section. Even though this tagging style is simple, it might not be future proof when someday you decided to change the default denominator to say 10 (for whatever reason). In this case 3.5 will be interpreted as 3.5/10, which is very different compared to 3.5/5. Once you start using this tagging style, make sure you are not going to change the default denominator in the future. :)




“3/4″ will generate a “3 out of 4 stars” rating and “2/8″ will generate “2 out of 8 stars” and so on. This will continue to work as long as the denominator is not larger than 20. Beyond that, the score will be normalized and display in the default 5 stars system, as shown in the next example.





The “Rating:” prefix you can see in all examples above is the default prefix, which you can remove easily to show just the stars or add in your own custom CSS class by changing some options. More information about this in the Options section.
Overall rating:
Automatically calculated overall rating based on previous scores can be inserted using the following tag style:





Similar to the first example, this overall rating will be represented in the default 5 star rating system. It is possible to force the overall rating to be outputted in different number of stars by using the following tag style:




The “Overall Rating:” is again, the default prefix, which can be changed via options. For more information, see Options.
Custom images:
First of all, the default star image used is taken from the excellent Silk icon set. These png icons support different background colours via png transparency. However, you can still use your own star images by replacing the 3 images included in the “star-rating” plugin folder, namely “star.png”, “halfstar.png” and “blankstar.png”. File extensions can be changed via options if desired.
For your information, “tiny-star.png”, “tiny-halfstar.png” and “tiny-blankstar.png” are only used by special functions that output list of reviews based on stored data in the database. Feel free to replace them with your own images as well if desired.
Text only output:
By default, this plugin will output text only ratings for your RSS feeds and use graphical output when someone is reading the post on your site. This is, in my opinion, the optimal choice since some RSS readers do not support images. However, if you like you can output images for your RSS feeds too, or oppositely, output text only ratings for both RSS and posts displayed on your site. Please refer to the Options section if you want to make these changes.
Data (for advanced users)
Database writing is turned off by default. In order to use these advanced features, you will need to manually turn it on by changing the option values, see Options for more details. If you are not interested in this feature, you should skip this section.
Custom fields
If database writing is turned on, this plugin will parse your document searching for rating tags and store the overall rating score into a custom field called “rating” when you edit or save your blog post. The name of the custom field can be changed via options to prevent conflict with other plugins. The reason why custom field is used instead of a new database table is the ease of implementation and the fact that most people write reviews occasionally. The downside of this is when uninstalling this plugin, you will need to manually remove those “rating” entries within the custom field table.
To check if this plugin is doing its job, once you turned on the database writing, go to edit one of your older posts which already used the rating tags (or simply insert the rating tags into any post if you’re new to this plugin) and choose “Save and Continue Editing”. Now, check the custom field near the bottom of the editing panel to see if a new “rating” field has been added. If it’s there, congrats, this plugin is working properly; if it’s not, you might have forgotten to turn on the database writing option, or the rating tag is invalid. Feel free to post your questions here (with detailed explanation) if you can’t get this to work.
Once you turned on this auto insert feature, you can still disable it for specific post by putting [rating:none] anywhere in your blog post, preferably at the bottom for tidyness.
Functions
4 different functions are provided in this plugin that allow you to output a list of reviews based on date, rating score, or randomly selected. These functions uses “rating” custom field data to retrieve and sort the reviews. You need to either turn on autometa (see Options) or manually put these rating in yourself.
1. sr_getreviews()
sr_getreviews($limit, $orderby, $order, $usestar, $prefix, $suffix)
$limit
- number of reviews to be returned
Acceptable value: any integer
Default value: 5
$orderby
- criterion used to sort the review
Acceptable value: “date”, “title”, “rating”
Default value: date
$order
- sort ascendingly or descendingly
Acceptable value: “ASC”, “DESC”
Default value: “DESC”
$usestar
- number of star to be used for rating
Acceptable value: any integer
Default value: 5
Note 1: put in “0″ to output rating in percentage i.e. numerically
Note 2: rating stars used are with tiny prefix (tiny-star.png, tiny-blankstar.png etc.), they are smaller than regular stars in blog post
$prefix
- prefix to be put before the code for each reviews
Acceptable value: any valid XHTML tags or plain text
Default value: “<li>”
$suffix
- suffix to be put after the code for each reviews
Acceptable value: any valid XHTML tags or plain text
Default value: “</li>”
<?php sr_getreviews(5,date,DESC,5); ?>
You can also output ratings in percentage format as illustrated below:
<?php sr_getreviews(5,date,DESC,0); ?>
2. sr_getrandom()
sr_getrandom($limit, $usestar, $prefix, $suffix)
See the explanation above for each parameter.
<?php sr_getrandom(5,5); ?>
3. sr_listreviews()
sr_listreviews($orderby, $order, $usestar, $date, $limit)
This outputs list of reviews in a widget-like, sortable table format. (implemented using the awesome tablesorter plugin for jQuery)
$date
- format of date to be used
Acceptable value: PHP date format
Default value: “M j, Y”
$limit
- number of reviews to be returned
Acceptable value: any integer
Default value: “0″
Note: “0″ limit implies no limit i.e. retrieve all available reviews
<?php sr_listreviews(date,DESC,5,"M j, Y",10); ?>
| Date | Title | Rating |
|---|---|---|
| Tips: Shift+Click to sort multiple columnsPowered by Star Rating for Reviews | ||
| 2008-07-13 Jul 13, 2008 | Arashi - One Love | 76.7 ![]() ![]() ![]() ![]() ![]() |
| 2008-07-10 Jul 10, 2008 | Tegomass - Kiss ~Kaerimichi no Love Song~ | 82.5 ![]() ![]() ![]() ![]() ![]() |
| 2008-07-09 Jul 9, 2008 | Ai Otsuka - Pocket | 93.3 ![]() ![]() ![]() ![]() ![]() |
| 2008-07-04 Jul 4, 2008 | HIGH and MIGHTY COLOR - HOT LIMIT | 80 ![]() ![]() ![]() ![]() ![]() |
| 2008-07-02 Jul 2, 2008 | JYONGRI - Love Forever | 80 ![]() ![]() ![]() ![]() ![]() |
| 2008-06-25 Jun 25, 2008 | Kuu’s ‘Moon’ | 90 ![]() ![]() ![]() ![]() ![]() |
| 2008-05-27 May 27, 2008 | Someday / Boys ♥ Girls | 85 ![]() ![]() ![]() ![]() ![]() |
| 2008-05-25 May 25, 2008 | Ayu’s anniversary | 92.5 ![]() ![]() ![]() ![]() ![]() |
| 2008-05-25 May 25, 2008 | sifow’s last Love Spell | 76.7 ![]() ![]() ![]() ![]() ![]() |
| 2008-05-15 May 15, 2008 | Koda Kumi - WIND | 100 ![]() ![]() ![]() ![]() ![]() |
4. sr_getsingle()
sr_getsingle($post_id, $usestar, $prefix, $suffix, $size)
This function is intended to be used within the WordPress Loop. You can put this within the loop to display rating score or stars in categories, tags, or main page for each posting. See examples: categories, tags, main page.
$post_id
- the ID of current post within the loop
Acceptable value: $post->ID
$prefix, $suffix
- prefix, suffix to be added before and after the ratings code returned
Acceptable value: any valid XHTML tags or plain text
Default value: ” (empty)
$size
- the size of stars, can be normal or tiny
Acceptable value: 0, 1 (0 for tiny stars, 1 for normal stars)
Default value: 0
For $usestar, see the sr_getreviews().
Customization
Starting from version 0.4, a default CSS is imported into the WordPress header, which I hope will work nicely with your blog theme. If not, feel free to open the CSS and edit it or disable the CSS import by setting $sr_mycss to 1, which will remove all the default styling for CSS classes associated with this plugin.
By default, ratings and reviews returned by listing functions are hardcoded with special CSS classes, namely “sr-review” for the review permalink and “sr-rating” for the ratings returned, which can be either numerical percentage or star images.
You might want to take a look at another plugin I’ve written called “MyCSS”, which allows you to attach and edit custom stylesheet that’s independent of the blog theme you’re using. This makes it convenient and easy to organize theme independent CSS classes such as those used in plugins, saving you the trouble of appending these classes into your theme’s core CSS everytime you change a theme.
Options
Hopefully this plugin will work as desired in an “out of the box” way so that you don’t need to change anything. However, several extra options are still provided for those of you who would like to have it your way. :)
Since this plugin is still in its early stage, setting options in the WordPress admin panel is not supported yet. For now, you will need to open up the php file using either your favourite text editor or WordPress built-in plugin editor to change some of the variables you can find near the top of the code.
$sr_limitstar: globally set star count, e.g. putting 5 will ALWAYS generate your score using the 5 star rating system, put 0 to disable this feature$sr_defaultstar: default denominator when not explicitly specified in your tags$sr_prefix: custom prefix for normal ratings$sr_allprefix: custom prefix for overall ratings$sr_suffix: custom suffix, leave blank unless you want to close html tags$sr_ext: file extensions for custom star images, e.g. gif, jpg, png$sr_usetext: text only output settings, accepted values are 0, 1 and 20: images for posts and feeds
1: images for posts, text for feeds
2: text for all$sr_mycss: using your own CSS? if yes, put in 1 to disable default CSS import$sr_cuttitle: shorten post title to specific amount of character, put 0 to disable title cut off
The following are advanced options, mainly to turn on the functionality of storing ratings into database as custom field values:
$sr_autometa: 0 to turn off database writing, 1 to turn it on, this feature is disabled by default (it’s stable, I’m just leaving the choice up to advanced users)$sr_metakey: meta key for custom field, change this if there’s conflict with other plugins
Installation
- Download and extract the “star-rating-for-reviews” folder
- Upload the “star-rating-for-reviews” folder to your WordPress plugin directory, usually “wp-content/plugins”
- Activate the plugin in your WordPress admin panel
Upgrade
- Deactivate the plugin in your WordPress admin panel
- Remove the “star-rating-for-reviews” folder in your WordPress plugin directory
- Follow the installation guide above
Download
Star Rating for Reviews plugin 0.4 for WordPress (30kb .zip)
.psd file for tiny-stars (15kb .zip)
|
* This plugin has been downloaded 5118 times since May 9, 2007 ( 3286 times since version 0.4 ) |
Support
If you have any questions, suggestions, or found any bugs in this plugin, feel free to post them in your comments. I’ll try my best to answer them but there’s no guarantee, so don’t be disappointed if you do not hear back from me promptly. :/ If you find this plugin useful and feel like donating some money for my effort, please use the PayPal button above, thanks! <3
History
0.4 [2007.11.02]
- Added: Sort reviews by title
- Added: sr_listreviews() function to output all reviews in a sortable table (good for dedicated review page)
- Added: Default CSS stylesheet (can be turned off via options)
- Added: Cut off long title when getting list of reviews for sidebar
- Changed: XHTML markup for list of reviews generated
- Changed: Tiny star images
- Fixed: Division by zero if overall tag is placed at the top of a post
- Misc: Cleaned up the code and fixed minor bugs
0.3.1 [2006.09.12]
- Fixed: Sorting bugs
0.3 [2006.08.08]
- Added: Support to store rating data into database
- Added: Functions to output list of reviews, sortable by date or by rating scores
- Added: Filter to parse excerpt
- Added: Skip tag parsing by using ` character (suggested by Denis)
0.2 [2006.07.28]
- Fixed: Path error
- Fixed: [strong] instead of [b] for W3C standards
- Fixed: RSS text output bug
0.1 [2006.07.08]
- Initial release




211 responses so far ↓
Pages: « 5 4 3 [2] 1 » Show All
Plugins Gone Wild! | The Habitation of Justice
// Jul 15, 2007 at 7:13 pm
[...] Star Rating for ReviewsInsert inline rating stars within your posts based on the score you assign, supports outputting list of reviews sorted by date or scores. By Yaosan Yeo. [...]
kaznoise
// Jul 7, 2007 at 3:12 pm
hey, i want to use your nifty star rating but i want to post the rating in the title of my post. can you help me with that ? right now it displays as plain text ! thanks !
Some plugins I have used - Webmastering with Keral Patel
// Jul 1, 2007 at 6:01 am
[...] Star ratings and reviews plugin to rate and give star ratings to some of my reviews that I might write here on my blog. [...]
Michael
// Jun 26, 2007 at 8:59 pm
Hi,
I installed the plugin and enabled database writing however when I use [rating:overall] I get the following error message.
Any ideas…?
Warning: Division by zero in /home/cetrack/public_html/wp-content/plugins/star-rating/star-rating.php on line 222
Patrick
// Jun 16, 2007 at 11:10 pm
Is there anyway to make this work on the comment section? It would be nice if my visitors could enter a rating for the restaurants as well. Just a thought.
Wordpress Rating Plugin | Gizmostuff
// Jun 9, 2007 at 2:36 pm
[...] and installation information is available at http://www.channel-ai.com/ var addthis_pub = [...]
JK
// Jun 6, 2007 at 2:32 pm
I was getting the same “Division by Zero” error (plugin version .035, WP2.2) as Andrew; I made the change he mentioned, seems to be okay so far.
I’m also having the same issue as Marc with the black stars. When I check the properties of the image, it shows the path to be “/plugins/star-rating/star.png” and it should be “/plugins/star-rating-for-review/star.png.” I renamed the plugin folder to just “star-rating” and it shows the proper stars. Haven’t tested out all the other features yet.
Books #29 - 31: More Roman Mysteries | Snippets and Blabbery
// Jun 2, 2007 at 2:08 pm
[...] So not only am I lumping three books into this review, but I’m also rolling out my new star rating system thanks to Allison’s Library Love and the developer, [...]
WeblogToolsCollection Español » Blog Archive » APAD: Star Rating for Reviews
// Jun 1, 2007 at 4:43 pm
[...] Plugin: Star Rating for Reviews [...]
Star Rating for Reviews Plugin » D’ Technology Weblog: Technology News & Reviews
// May 31, 2007 at 7:53 am
[...] more info and download…. [...]
The Mac Night Owl » Do You Really Want to Write a Blog? // May 30, 2007 at 3:04 am
[...] Star Rating for Reviews: Exactly what the name implies, although I’m working on changing the stars back to owls. [...]
Marc
// May 29, 2007 at 8:54 am
I’m struggling with sr_getreviews. Putting it in the template file it prints out 5 reviews with different scores, but I just have 2 reviews. What kind of database problem is this?
Another problem: The plugin just shows black stars, but not the png files, what is wrong here?
Prof Kienstra’s Vision | bookreviews
// May 27, 2007 at 5:12 am
[...] first book review on Nocturne by McBain. I used a gif to show the appreciation in stars. Now, the star rating for review plugins has come along. This amazing plugin will make the progress much [...]
Star Rating plugin for WP | Library Love
// May 26, 2007 at 7:53 pm
[...] just installed this star rating plugin for Wordpress and thought I’d share. Pretty [...]
The Blog for DesignCreatology » Blog Archive » WP Plugs May 25, 2007 // May 25, 2007 at 8:03 pm
[...] Star Rating for Reviews is a WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags. [...]
WP Plugins DB » Blog Archive » Star Rating for Reviews
// May 20, 2007 at 3:53 am
[...] Visit [...]
wordpress是什么 » Blog Archive » wordpress插件 - 更新于05/11
// May 16, 2007 at 8:03 pm
[...] Star Rating for Reviews is a WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags.插入漂亮的等级级别星星 [...]
Awesome Wordpress plugins at Netsua.com // May 16, 2007 at 6:13 am
[...] Star Rating for Reviews - Totally awesome plugin that allows you to display star ratings on your blog simply with tags. Now in use here: [ rating: 3.5 ] = Rating: [...]
WeblogToolsCollection Español » Blog Archive » Plugins de WordPress publicados 11/5
// May 15, 2007 at 10:56 am
[...] Star Rating for Reviews es un plugin para WordPress que inserta unas lindas estrellas de clasificación basadas en la puntuación que le asignes usando etiquetas de clasificación [rating:] intuitivas, en línea. (No Ratings Yet) Loading … [...]
Andrew // May 15, 2007 at 1:13 am
I get divide by 0 errors on line 369; you should make this change:
$rating = round( $sr_tscore / max($sr_counter, 1) * 100 , 1 ); // in percentageWordpress Plugins 5/12/07
// May 13, 2007 at 12:17 am
[...] Star Ratings For Reviews - Allows you to easily insert rating stars into posts [...]
» wordpress插件 - 更新于05/11 » wordpress是什么
// May 12, 2007 at 1:47 am
[...] Star Rating for Reviews is a WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags. [...]
Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 05/11
// May 11, 2007 at 11:49 am
[...] Star Rating for Reviews is a WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags. Sphere: Related Content (No Ratings Yet) Loading … [...]
Michael
// May 6, 2007 at 1:34 pm
Great plugin and just what I needed.. worked right out of the box for my site. Thanks!
Jenny
// Apr 23, 2007 at 11:03 pm
Oh nifty. I’ve been looking for something like this.
UvA 2007 IMP (pilot site) » Iran laat twee Zweedse gevangenen vrij
// Apr 17, 2007 at 10:15 am
[...] http://www.channel-ai.com/blog/plugins/star-rating/ [...]
butcheee.com v.6.4 » Blog Archive » 300
// Mar 16, 2007 at 3:57 pm
[...] been awhile since i’ve done any type of review. but now that i have this kick-a$$ plug-in i think i’ll be doing more reviews of all types of things, and not just [...]
Salvatore
// Mar 5, 2007 at 6:52 pm
And I’ll immediately send you a red rose. :)
Daniel Cronholm
// Mar 1, 2007 at 8:29 am
Well, i found the answer to my question a bit further up in the list. Thanks again for a great plugin!!
Daniel
Daniel Cronholm
// Feb 27, 2007 at 9:43 am
Hi there, really great plugin. It´s just that it doesnt work at my page. Is it something else I am supposed to do, except for activating the plugin?
Thanks again for some nice stars…
Daniel
eyn
// Feb 24, 2007 at 11:42 pm
Salvatore, there’s no easy way to limit only certain categories without changing the database query string in the source code. The rough idea is to include
post2catas one of the tables you want to search, then useAND category_id = nwhere n is the category ID you want to limit the search to. I’ll try to add an optional parameter that support categories in the next version, hopefully.Hi patrick, what you want to achieve can be done by removing “Rating:” from the
$sr_prefix. To be more clear, this variable can be found at the very top of the php file, and to remove the text you should change it into “” instead of “Rating: “. This way the rating tag will only output star images without any text. For example, you’ll put this in the WordPress editor:I hope that helps! Kinda off topic, but your kids are very cute! I found the video on your site and they’re adorable! :)
patrick
// Feb 24, 2007 at 10:25 pm
Hi! This is a very nice plugin. I have installed it and it is working fine. My wife is trying to make a restaurant review site and I am wondering if it is possible to have the prefix take our input field instead of “Rating:” . I guess what I am trying to do is have
“Selection:”
“Taste:”
“Price:”
“Atmosphere:” …..
The way it looks like we have to do it now is to put
Price
Rating:3/5(stars shown)
I am sure you are a busy man. Thank you in advance of any help you can offer and thank you again for the plugin.
Salvatore
// Feb 12, 2007 at 4:13 pm
Great!
By now, it would be important even only to exclude certain categories: is it possible?
eyn
// Feb 11, 2007 at 4:41 am
Rob, this site is running on WP 2.1 and thus this plugin should work. There’s some issues with WP 2.1 though, like the formatting now adds <p> to all line break within <div> tags which makes things break in certain areas, mainly due to CSS rules. fyi, this site currently does not validate due to this issue. Anyway, these minor problems shouldn’t affect the functionality of this plugin.
Salvatore, thanks for bringing up this excellent idea, I’ll definitely look into it and most likely I’ll add this functionality in my next plugin update. However, I’m rather busy lately with my studies so the update probably arrive anytime soon. :(
Salvatore
// Feb 11, 2007 at 12:30 am
Hi,
this is a marvellous plugin, but what if I want a getreviews only of a specific category?
I got dozens of different categories and it’s essential for me to order within that confusion.
herrow.com » Blog Archive » Star Ratings for reviews
// Feb 5, 2007 at 9:56 pm
[...] Just installed a plugin Alex mentioned to me that gives you a star rating for reviews and the like, get it here! [...]
Rob
// Feb 5, 2007 at 12:58 pm
Anyone updated to WP2.1 yet? Just wondering if this plugin will work.
Kyle Korleski
// Jan 17, 2007 at 4:06 am
Niice! Thanks for the plugin!
eyn
// Jan 15, 2007 at 9:28 pm
Hi Andrew, nice suggestion there! I looked up a little about hReview and it seems to me that it will be hard to tweak this plugin into supporting the hReview microformat. :(
However, it is possible for this plugin to generate a hReview microformat at the bottom (or top) of your review entry using excerpt, post title and rating meta field etc. as data, but I’m not sure how useful that would be. I’m also thinking one could just “hide” the hReview microformat generated using CSS so that it won’t look out of place and search spider will still be able to index your review. Still, I don’t know how legal that would be.
If any of you have any suggestion about how hReview can be implemented using this plugin please post it here, I really don’t have a very good idea how this can be done at the moment.
Andrew Scott
// Jan 12, 2007 at 9:50 pm
Looks like a great plug-in. Have you considered supporting microformats, in particular the hReview microformat? This would allow blogs that use it to have their ratings automatically searched by Technorati.
Die Suche nach dem Heiligen Review-Plugin at bastelblog
// Jan 11, 2007 at 7:06 pm
[...] Star Rating von Yaosan Yeo [...]
b l o g . c h i g g i n s . c o m » Blog Archive » Rated (sta)R
// Jan 11, 2007 at 3:33 pm
[...] Get ready for the ratings folks, the plugin from Channel AI is installed and ready to pass its merciless judgment! [...]
Christoph Voigt
// Jan 11, 2007 at 9:57 am
Great plugin! I’ve tried 5 other review-plugins but they’re all either too limited in administration, too complicated and/or with too many restrictions what you can do or not.
Your plugin leaves everything to the writer of the review but gives him the option to visualize his ratings. I especially love the [rating:overall] tag. Great work, again :)
æ blogs | squozen » Blog Archive » Rating Things
// Dec 29, 2006 at 6:11 am
[...] Tonight I discovered channel-ai’s star ratings plugin, and have decided it’s time to start rating everything. Since ratings don’t mean much, all ratings will be out of some arbitrary number based on my whim. So, to sum up the evening: [...]
Marc
// Dec 28, 2006 at 7:48 am
Thanks for the update!
Benjamin Solah
// Dec 13, 2006 at 4:30 am
What an excellent plug-in. I’ve been looking for something like this for a long, long time to use in my reviews of horror novels and movies. Thank you so much for your work.
FunkWadCuintWhich » Movie Review-ish: Who Killed The Electric Car?
// Nov 29, 2006 at 2:14 pm
[...] I’m screwing around with the Star Rating for Reviews plugin which, if it makes me giggle, I’ll use to rate all my movie reviews and whatever else strikes me. Maybe I’ll start rating my own shit. Who knows? [...]
the waiting room » Blog Archive » Yusuf Islam - Heaven/ Where True Love Goes
// Nov 10, 2006 at 11:53 am
[...] Trying out the new plug-in.I think it’s pretty catchy despite its flaws. The song I mean, not the plug-in. [...]
eyn
// Nov 6, 2006 at 5:57 pm
Hi there Senz, I’m not too sure which permalink you’re referring to, if it’s the percentage in pink colour beside post title as you can see on the front page, then it’s the sr_getsingle() function that is used to produce that. It is intended to be used in the WordPress loop where you can assign post ID as part of the argument. If you take a look at your theme files, you might be able to find $post->ID somewhere in the main index or categories template. For K2, it will be within “theloop.php”. You probably need to do some trial error thing to get it working. ;)
Rob, your idea is great but I’m not sure if it is possible without over-complicating the current code. Maybe someone can code a widget that does just that by extending this plugin? It will probably be nice to have an AJAX interface for this as the Extended Live Archives, but I’m not sure how practical this will be. :p
Rob
// Nov 6, 2006 at 1:28 pm
Senz, from the above instruction for the function sr_getreviews():
Pages: « 5 4 3 [2] 1 » Show All
Leave a Comment