Php call for project widget



I need to use your “moesia project” widget only in mobile pages. The problem is that PageBuilder doesn’t permit to add a div class at the widget, so i need to insert a php widget that will be something like that:
<div class=“mobileonly”><?php projectphpcall ?></div>

What can I use to call the project widget using php?
Thank you very much!



This is more of a general support question rather than a theme related one, but you can probably do something like this: <?php the_widget('Moesia_Projects'); ?>

You can also just add the widget in the page builder, target its row by ID and hide it on large screens.