PaRaDiGm11
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostRatings] Google rating not workingIn my current Template i’m using
<?php echo the_ratings_results( $POST_ID ); ?>
to show ratings and<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
to allow users to rate in the comment section.I added the logo for Google rich snippets.
I still get two errors:
Is it possible to fix this?
Thank you.
Forum: Plugins
In reply to: [WP-PostRatings] Google rating not workingI used default theme and disabled all plugins and had one error ( another error ).
Then i activated all plugins with the default theme and had the same error.
Then i put my current theme but unmodified and had the same error.
The problem isn’t my plugins or the theme i’m using unmodified.
I compared this with my modified theme. If i use this code
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
two times on the same page ( one at after the title and one in the comment section so people can write a review and rate it, i get this error:
Only one overall score should be marked.If I use this code
<?php echo the_ratings_results( $POST_ID ); ?>
after the title and this code<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
in the comment section i get this error:
No element specified for the evaluation ( it’s my current theme ).If i just use this code one time on my page
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
after the title and no other wp-postratings codes in the page, i get the same error as default WordPress theme with no plugin enabled,
Please enter a value for the url fieldHow to use use this code
<?php echo the_ratings_results( $POST_ID ); ?>
after the title and this code<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
in the comment section and getting no error?Thank you.