Ahh no worries bud ?? , i have added
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
to index.php single.php and archive.php on the hueman theme and your plugin works fine on all custom post types for me, but you still havent gave me any clue as to where to put or how to use the original code you gave me in this thread. meaning you just gave me the code but didnt explain how i should use it.
this code–>
if ( get_post_type() === ‘YOUR_POST_TYPE’ ) {
the_ratings();
}
this is where we are getting mixed up i think, i am trying to ask you exactly where and how i use the code above you gave me, example: do i add it below this code like this?
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
if ( get_post_type() === ‘YOUR_POST_TYPE’ ) {
the_ratings();
}
or do i just use the code you gave me instead?
or do i add it to the code you gave me something like this?
<?php if(function_exists( get_post_type() === ‘YOUR_POST_TYPE’ ) {
the_ratings();
}
you understand my question now?
i cant try it to see if it works if im unsure how to implement it.
putting it in my theme files isnt the issue, knowing how to put it is ??
ty in advance for the help btw ??