Top rated page with author, date and blue stars
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.
Hi @benjaminducitoyen, it requires customization of the code. Do you know how to manipulate WP plugins?
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 ):
$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);
Can you give me some advice?
@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 🙁
- The topic ‘Top rated page with author, date and blue stars’ is closed to new replies.