Hi Christopher. You could display the content in a number of different locations using the GP Hooks Add-on and this code:
<?php
if ( is_home() ) { ?>
<div class="my-iframe">
your iframe code goes here
</div>
<?php } ?>
Make sure to check the “Enable PHP” checkbox on the hook.
Then use this CSS to hide it in mobile views:
@media (max-width: 768px) {
.my-iframe {
display: none;
}
}
To hide it in the desktop view instead, change “max-width” to “min-width”.
Adding CSS: https://generatepress.com/knowledgebase/adding-css/