• Hello,

    I am using the “Top Rated Posts” widget. Currently, the options are “Number of posts to show”, “Minimum average rating required”…

    Would you think that it would be interesting to add new options, for example:
    -To show author, date, category, tags
    -Order desc or asc
    -Possibility of creating an ordered list (showing numbers)
    -Auto detect category (if sidebar is used, display top rated posts from current post category)

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @microrrelatos,

    1. This is already possible but you need to use the rmp_before_widget_title hook in your child theme’s functions.php or a custom made plugin. The example below ads published date.

    
    function add_to_tr_posts_widget( $postID ) {
      $date = get_the_date( '', $postID );
      echo '<p>Published: '. $date . '</p>';
    }
    add_action( 'rmp_before_widget_title', 'add_to_tr_posts_widget' );
    

    In a similar way you can add post author, category etc.

    2. Order desc or asc – yes but by what? ?? post date, post name etc.

    3,4 I’ve put this on to-do list ??

    Regards,
    Blaz

Viewing 1 replies (of 1 total)
  • The topic ‘Top rated post’ is closed to new replies.