GD Star Rating
Add most rating comment directly to theme template (3 posts)

  1. fellowito
    Posted 4 years ago #

    Hello everyone,

    I've seen with somes php codes you can change where the star to vote will be show (wp_gdsr_render_article and wp_gdsr_render_comment). But that's not my problem.

    My question is, how can I show the most rating comment in the last 7 days with a minimun of 10 votes in my sidebar or where I want? In other words, I want the PHP code of the widget to put it where I want.

    Anyone can help me?

    Thanks you :)

  2. ChowKaiDeng
    Posted 4 years ago #

    I'm exactly looking for the same thing, but also considering a way to edit what the widget prints (basically to hide some things displayed by the widget that I don't want to show, but they're not between tags to hide them using CSS).

  3. ChowKaiDeng
    Posted 4 years ago #

    Oh boy! I've just found the T2 Template option: It's absolutely brilliant!!! You can edit or create your custom widget template for any widget and then using it on your theme through <?php echo do_shortcode('[shortcode]'); ?> or directly with the functions from the documentation (though, I prefer calling it on a widget area)

    Really, it's one of the best options I've seen on any plugin. This is so perfect. I didn't even have to change my CSS.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic