I am trying to figure out how to show discord only to logged-in members. Right now it is visible on my front page. Here is my current code for the discord section. Any help would be greatly appreciated. If it helps, I am on phpvms 5.5.2.72. PHP version is 7.2.
<!--Begin Discord -->
<div class="blueIce-block clearfix">
<div class="blueIce-blockheader">
<h3 class="t">Discord</h3>
</div>
<div class="blueIce-blockcontent"><p>
<br>
<div align="center">
<iframe src="https://discord.com/widget?id=937311209793912923&theme=dark" width="240" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</div>
</p>
</div>
</div>
</div>
<!--End Discord -->