Forums

[Plugin: GD Star Rating] add in loop manually??? (8 posts)

  1. dlawton
    Member
    Posted 5 months ago #

    how do i add the rating block in the loop if i have unchecked the 'add to post automatically'?

    im sure this has been addressed elsewhere, seems straightforward, but i dont see it. thanks for the info.

    i just want to place it within my theme, but not above or below the post, as that changes the post size, makes things complicated.

    thx!

  2. GDragoN
    Member
    Posted 5 months ago #

    All the integraration functions for the theme (and there is a lot of these) are explained in the info files included with the plugin or on this location:

    http://info.dev4press.com/gd-star-rating/

  3. dlawton
    Member
    Posted 5 months ago #

    Thanks,
    Wow, you weren't kidding, there is a lot!

    Isn't there a basic function without parameters that just outputs the post rating block according to current configuration?

  4. GDragoN
    Member
    Posted 5 months ago #

    Most of the parameters can be omitted, and plugin will use defaults.

  5. dlawton
    Member
    Posted 5 months ago #

    forgive my noobness, still totally lost on this

    can anyone provide a code example of how to do this? right now i have star rating added to bottom of post at superstoker.com, works fine, but i want to position it better by just calling a function or something that displays it within the loop

    much appreciated

  6. GDragoN
    Member
    Posted 5 months ago #

    Plugin also features the Builder panel where you can get the code for the integration.

  7. dlawton
    Member
    Posted 5 months ago #

    thanks for the info

    found it in the builder after playing around for a bit, the code i was looking for is:

    <?php wp_gdsr_render_article(10); ?>

    It's under Articles:StarRater in the builder. I tried a bunch of other options under builder before finding the right one, several of which didn't work. For example Multi:StarReviewMulti (not sure what this is) gives this code which doesn't seem to work, even after adding the first paramater:
    wp_gdsr_render_multi(, 12, false', 0, 'oxygen', 20, 'oxygen_gif', 'oxygen', 20, 'oxygen_gif');

  8. GDragoN
    Member
    Posted 5 months ago #

    Multi code is not working because you don't have any multi rating sets created. Each type of rating is explaind on the official website, along with everything else.

Reply

You must log in to post.

About this Topic