As a quick fix, you can possibly add a line of code which will prevent the like/unlike buttons being rendered. Let’s say you want to exclude type1 post type.
– Open the file wti_like_post_site.php in a text editor.
– Search for the function GetWtiLikePost.
– Just before this line $ip = WtiGetRealIpAddress();, add the following code
// Exclude depending on post type
$post_type = get_post_type( $post_id );
$excluded_types = array('type1');
if ( in_array( $post_type, $excluded_types ) ) {
return;
}
Note:
– If you want to exclude more than 1 post type such as type1 and type2, you need to use $excluded_types = array('type1', 'type2'); in the above code.
Do let us know if this worked or not.
Thanks