I got question about button code that I have.
How can I define icon in css for this code:
$button = ! empty( $edd_options[ 'add_to_cart_text' ] ) ? $edd_options[ 'add_to_cart_text' ] : $button_text;
$class = 'button popup-trigger';
printf( '<a href="#buy-now-%s" class="%s">%s</a>', $post->ID, $class, $button );
I want to add image icon in css that will show up and when I click on that image this code should be triggered.
Edit: I managed to do it, you can close this topic Thanks