If you are using <?php the_ratings(); ?> PHP code in your theme, you can replace it with
<?php if( ! is_page() ): the_ratings(); endif; ?>
Hello
I am using the Genesis Framework with the Genesis Sample Theme.
SO I got som advice from another personer who said i should insert this into the functions.php:
add_action(‘genesis_entry_header’, ‘gd_add_rating’, 12);
function gd_add_rating(){
if ( function_exists( ‘the_ratings’ ) ) { the_ratings(); }
Can I just insert the code you posted below this in the functions.php?
This should work:
add_action('genesis_entry_header', 'gd_add_rating', 12);
function gd_add_rating(){
if ( ! is_page() && function_exists( 'the_ratings' ) ) { the_ratings(); }
How can I help creating the danish translations of this plugin? 🙂