WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
wp_gdsr_show_article_rating(); (3 posts)

  1. olorin
    Member
    Posted 1 year ago #

    Hello,

    Is there a function that works exactly like wp_gdsr_show_article_rating(); (that shows article rating for the post with stars) but will display the text (number) value instead of stars value ?

    For example instead of displaying: stars, i want: 3.8 displayed.

    Thanks

    http://wordpress.org/extend/plugins/gd-star-rating/

  2. susheel kumar
    Member
    Posted 11 months ago #

    I have the same problem. Did you find the solution, Olorin?

  3. susheel kumar
    Member
    Posted 11 months ago #

    Yes i found the solution. May be this can help others. Cheers

    if(function_exists("wp_gdsr_render_article")){wp_gdsr_render_article($template_id = 0, $read_only = true, $stars_set = "", $stars_size = 0, $stars_set_ie6 = "", $echo = true);}

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Put this code under the loop. This will show the readonly stars with rating.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic