• On my site here: http://www.bestgolfswingtips.co.uk/ I would like to show the latest posts by showing thelatest post in the ‘Gold Rating’ container, 2nd latest post in the ‘Silver Rating’ container and 3rd latest post in the ‘Bronze Rating’ container

    How or what is the best way to do this?

    Thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sirhank

    (@sirhank)

    Thanks for your reply esmi

    I am actually using the GD Stars plugin and the code I have for the Silver Ranking box (text in a widget) is:

    <?php
    wp_gdsr_render_rating_results(array('template_id' => 51, 'rows' => 1, 'select' => 'post', 'offset' => 2, 'category' => 5, 'hide_empty' => false, 'min_votes' => 0, 'min_count' => 0, 'excerpt_words' => 25, 'image_from' => 'content', 'rating_stars' => 'crystal', 'rating_size' => '24', 'review_size' => '24', 'rating_thumb_size' => '24'));
    ?>

    As you can see I have added:

    'offset' => 2,

    but it has not made any difference 🙁

    Thread Starter sirhank

    (@sirhank)

    Thanks for the link tasty.donuts

    Had a quick try with it and, as expected, it doesnt pick up the star ratings …

    This plugin would be even better if after I have set the widget options I could see the code … I often have problems getting the syntax right for the code as, as you will know, just one ‘,’ in the wrong place or left out will cause the code not to run ….

    Will keep trying with both the query-posts and the get_posts …

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Displaying Specific Posts’ is closed to new replies.