I need opposite of this:
<?php if ( get_post_meta($post->ID, 'price_list_category1', true) ) : ?>style="display:none;"<?php endif; ?>
In other words I want style="display:none;" only when meta data doesn't exist.
I thought it would be straightforward like if ( get_post_meta($post->ID, 'price_list_category1', true but this true/false turns out to be a completely different stuff.
any ideas?
Thank you.