Support » Plugin: GD Star Rating » GD Star Rating and Thesis

Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you ever get this to work? I want to start using this plugin with Thesis and I just saw your post.

    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.

    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.

    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.

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

    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/ on line 13

    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);} ?><?

    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/ 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. 🙂

    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);} ?>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘GD Star Rating and Thesis’ is closed to new replies.