WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
GD Star Rating and Thesis (10 posts)

  1. selym
    Member
    Posted 2 years ago #

    Anyone using Thesis theme and GD Star Rating successfully? I got the post stars to show up, and after a hack to code/class.php was able to get the comment thumbs up/down, but I have not been able to figure out how to display rating results. Neither the shortcode in a page option or using the widget seems to work, despite following the info on the following page.

    Just figured I'd reach out to see if other Thesis users have experienced this same issue and to see if they know how to fix it.

    http://www.gdstarrating.com/2009/08/12/displaying-rating-results/

    Thanks,
    Sel

    http://wordpress.org/extend/plugins/gd-star-rating/

  2. nicole2009
    Member
    Posted 2 years ago #

    Did you ever get this to work? I want to start using this plugin with Thesis and I just saw your post.

  3. selym
    Member
    Posted 2 years ago #

    I did, sorta. I was able to get the results to display in a page, but it's currently unstyled so it's just plain text. I'm going to keep playing around, and if I can figure it out, I'll be sure to post here.

  4. arcab4
    Member
    Posted 2 years ago #

    i use thesis with GD STar. if this helps...the code i put into my custom_function.php is this.

    <?php if (function_exists('wp_gdsr_render_article')) { wp_gdsr_render_article($read_only=true);} ?>

    that's it and it shows up.

  5. selym
    Member
    Posted 2 years ago #

    Hi arcab4. Unfortunately that rendered my site unavailable so I had to revert back to a backed up custom functions file.

    Thanks for posting and trying to help though.

  6. arcab4
    Member
    Posted 2 years ago #

    what kind of error did you get from it? i'll look at the code i use again .

  7. selym
    Member
    Posted 2 years ago #

    Sorry for the delay. I was just hesitant to break my site again as I've already experienced a few times having to start from a fresh custom functions for some reason. Removing the code alone didn't work. It was weird.

    So anyway, the error I get is this:

    Parse error: syntax error, unexpected '<' in /var/www/virtual/mydomain.com/htdocs/wp-content/themes/thesis_184/custom/custom_functions.php on line 13

  8. arcab4
    Member
    Posted 2 years ago #

    did you close the php code before adding this?

    maybe try this..

    ?><?php if (function_exists('wp_gdsr_render_article')) { wp_gdsr_render_article($read_only=true);} ?><?

  9. selym
    Member
    Posted 2 years ago #

    Unfortunately that gave me an error for the plugin itself and put the stars in the upper left hand corner of every page.

    Fatal error: Call to a member function render_article() on a non-object in /var/www/virtual/mydomain.com/htdocs/wp-content/plugins/gd-star-rating/code/fn/legacy.php on line 170

    The plugin works fine for individual post ratings, but it would be nice to have a page where I could display the top rated posts. But if not, I guess I could still use it as is. :)

  10. dsided
    Member
    Posted 2 years ago #

    Thanks arcab4 that code worked for me, but I put it into one of my custom page templates, not the functions file:

    <?php if (function_exists('wp_gdsr_render_article')) { wp_gdsr_render_article($read_only=true);} ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic