Reply To: Display image for paid members
Hi,
Sorry, here is the code again!
<?php if ( ms_has_membership() ) : ?>
<img src="http://my-site.com/wp-content/uploads/2015/11/img.png" alt="" height="25" width="25" /></img>
<?php endif; ?>
Also tried:
<?php
if ( ms_has_membership() ) {
echo '<img src="http://my-site.com/wp-content/uploads/2015/11/img.png" alt="" height="25" width="25" />';
} else {
echo '<img src="http://my-site.com/wp-content/uploads/2015/11/img2.png" alt="" height="25" width="25" />';
}
?>
Only the image in false is being returned for all users including paid members.
Any advice is much appreciated.
Thanks