Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#concrete5 The link to force desktop theme
<?php
$uh = Loader::helper('concrete/urls');
$url = $uh->getToolsURL('disable_mobile') . '?rcID=' . $c->getCollectionID();
?>
<a href="<?php echo $url; ?>"><?php echo t('View desktop site'); ?></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.