Hi pnp,
Currently there is no option for this in the backend, but we are currently working on this addition and it will be available on next theme release. But for now you could do it using the below code.
You can do this by copy pasting the following code inside your child theme functions.php
if ( ! function_exists( 'poka_affiliate_button' ) ) {
function poka_affiliate_button( $review_id, $classes = '' ) {
if ( in_array( $review_id, array( '314', '23', '58' ) ) ) {
return '';
}
$classes = apply_filters( 'poka_affiliate_button_classes', 'btn btn-primary ' . $classes );
$btn = '<a href="' . poka_affiliate_link( $review_id ) . '" ' . poka_affiliate_link_atts( $review_id ) . ' class="' . $classes . '">' . poka_get_translation( 'Play Now' ) . '</a>';
return apply_filters( 'poka_affiliate_button', $btn );
}
}
The above code will hide the “Play now” button for Reviews with IDs “314”, “23”, “58”. You can add the ones you want.
-
This reply was modified 1 year, 7 months ago by
admin.