Error after logout – kk Star not working for unlogged users.
-
Hi, I have installed and configured the plugin. It is working perfectly, but only when I’m logged in (as an administrator, haven’t tried on other user though).
However, after I log out, it’s displying the error message. Still voting is possible, the script says ‘thank you for voting’ and the result is being saved, so I can see it properly after I log in again.
Does this have anything to do with the way my code is retrieving posts data? Any suggestion will be appreciated…
<div class="outerBook"> <?php $the_query = new WP_Query('showposts=2&orderby=post_date&order=desc&category_name=film,ksiazka'); while ($the_query->have_posts()) : $the_query->the_post(); ?> <div class="bookCover"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"> <?php the_title(); ?> <br /> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"> <?php if ( has_post_thumbnail()) the_post_thumbnail('poleca-thumb'); ?> </a> <br /> <?php if(function_exists("kk_star_ratings")) : echo kk_star_ratings($pid); endif; ?> </div> <?php endwhile; ?> <?php wp_reset_query(); ?> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error after logout – kk Star not working for unlogged users.’ is closed to new replies.