Rating-Widget: Star Review System
Top rated page with author, date and blue stars (4 posts)

  1. benjaminducitoyen
    Posted 3 years ago #


    Thank you for this very useful widget.

    I have a question about the top rated page. I use the top rated template but I don't know how can I add after the title of the posts:

    • the author
    • the date
    • the special stars (the quartz blue stars) instead of yellow stars.

    Thank you for your suggestion.


  2. vovafeldman
    Plugin Author

    Posted 3 years ago #

    Hi @benjaminducitoyen, it requires customization of the code. Do you know how to manipulate WP plugins?

  3. benjaminducitoyen
    Posted 3 years ago #

    I'm not familiar with php code but I have tried to manipulate the GetTopRated() function without success.

    In the following, this is the part of the code in GetTopRated() that I have changed (my modification in bold ):

    switch ($type)
    case "posts":
    case "pages":
    $id = RatingWidgetPlugin::Urid2PostId($urid);
    $post = get_post($id);
    $author = get_userdata($id['post_author']);
    $title = trim(strip_tags($post->post_title));
    $excerpt = $this->GetPostExcerpt($post, 200);
    $permalink = get_permalink($post->ID);
    $thumbnail = $this->GetPostFeaturedImage($post->ID);


    <h5>' . $short . '<hauthorbenjamin class> - display_name).' >'.$author->display_name.'</hauthorbenjamin>

    Can you give me some advice?


  4. vovafeldman
    Plugin Author

    Posted 3 years ago #

    @benjaminducitoyen, I'm not exactly sure what you've done, but it's the right function to manipulate. If it was straight forward and quick I would have provided the solution here immediately. Unfortunately that's not the case, and we can't support everyone's customization. We have a special customization team that can do it for you but it costs money, so if you are interested feel free to contact me directly via [vova AT rating-widget DOT com]. Sorry :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Rating-Widget: Star Review System
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic