Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vova Feldman

    (@svovaf)

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

    Thread Starter benjaminducitoyen

    (@benjaminducitoyen)

    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);
    break;

    ….

    <h5>‘ . $short . ‘<hauthorbenjamin class> – display_name).’ >’.$author->display_name.’</hauthorbenjamin>

    Can you give me some advice?

    Benjamin

    Plugin Author Vova Feldman

    (@svovaf)

    @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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Top rated page with author, date and blue stars’ is closed to new replies.