File: /home/blushinc/loleverywhere.com/wp-content/plugins/td-mobile-plugin/td_panel_settings.php
<!-- PLUGIN SETTINGS -->
<?php
echo td_panel_generator::box_start('Mobile settings', true);
$tdm_amp_set_disabled = ! td_util::is_amp_plugin_installed() ? ' tdm_setting_disabled' : '';
?>
<!-- Amp Settings -->
<div class="td-box-row td-box-row-amp-options">
<div class="td-box-row">
<div class="td-box-description td-box-full">
<span class="td-box-title">AMP settings</span>
<p><a href="https://ampproject.org" target="_blank">The AMP Project</a> is a Google-led initiative that dramatically improves loading speeds on phones and tablets.
</p>
</div>
<div class="td-box-row-margin-bottom"></div>
</div>
<div class="td-box-row">
<div class="td-box-description td-box-full">
<ul>
<li>To use this feature, first, you need to install and activate the <a target="_blank" href="https://wordpress.org/plugins/amp/">Official AMP Plugin for WordPress</a>.</li>
<li>Together with the AMP plugin, the Mobile Theme generates the AMP markup and provides the best solution for your site's AMP pages.</li>
<?php if ( 'enabled' !== td_util::get_option('tds_white_label') ) { ?>
<li>Find out more about this feature in the <a target="_blank" href="https://tagdiv.com/amp-newspaper-theme/">theme's docs</a>.</li>
<?php } ?>
</ul>
</div>
</div>
<div class="td-box-section-separator"></div>
<div class="td-box-row">
<div class="td-box-description">
<span class="td-box-title">Use Mobile Theme for:</span>
<p>Select the option according to the desired behavior
<?php td_util::tooltip_html('
<p><b>Mobile</b> - Displays content using the Mobile Theme on small screen devices</p>
<p><b>Mobile+Amp</b> - Displays content using the Mobile Theme on both mobiles and AMP</p>
<p><b>AMP</b> - Uses the responsive version on the small screen devices and Mobile Theme only on AMP</p>
', 'right')?>
</p>
</div>
<div class="td-box-control-full<?php echo $tdm_amp_set_disabled ?>">
<?php
echo td_panel_generator::radio_button_control( array(
'ds' => 'td_option',
'option_id' => 'tdm_amp',
'values' => array(
array('text' => 'Mobile', 'val' => ''),
array('text' => 'Mobile + AMP', 'val' => 'mobile_amp'),
array('text' => 'AMP', 'val' => 'amp'),
)
));
?>
</div>
</div>
<div class="td-box-section-separator"></div>
</div>
<!-- General Settings -->
<?php
if (defined('TD_DEPLOY_MODE') && TD_DEPLOY_MODE === 'dev') {
?>
<!-- Enable mobile -->
<div class="td-box-row">
<div class="td-box-description">
<span class="td-box-title">SHOW MOBILE</span>
<p>Show or hide the mobile version on desktop</p>
</div>
<div class="td-box-control-full">
<?php
echo td_panel_generator::checkbox(array(
'ds' => 'td_option',
'option_id' => td_mobile_theme::TDM_MOBILE_ON_DESKTOP,
'true_value' => 'no',
'false_value' => ''
));
?>
</div>
</div>
<div class="td-box-section-separator"></div>
<?php } ?>
<!-- Enable mobile -->
<div class="td-box-row">
<div class="td-box-description">
<span class="td-box-title">Mobile Theme on Multisite</span>
<p>Enable this option only if you use <a href="https://wordpress.org/support/article/create-a-network/" target="_blank">WP Multisite</a> and the Mobile Theme doesn't load properly.</p>
</div>
<div class="td-box-control-full">
<?php
echo td_panel_generator::checkbox(array(
'ds' => 'td_option',
'option_id' => 'tdm_is_multisite',
'true_value' => 'yes',
'false_value' => ''
));
?>
</div>
</div>
<?php echo td_panel_generator::box_end();?>
<!-- HEADER -->
<?php require_once('panel/td_panel_mob_header.php'); ?>
<!-- FOOTER -->
<?php require_once('panel/td_panel_mob_footer.php'); ?>
<!-- POST -->
<?php require_once('panel/td_panel_post_settings.php'); ?>
<!-- COLORS -->
<?php require_once('panel/td_panel_colors.php'); ?>
<!-- FONTS -->
<?php require_once('panel/td_panel_fonts.php'); ?>
<!-- MENU BACKGROUND -->
<?php require_once('panel/td_panel_menu_background.php'); ?>
<!-- ADS -->
<?php require_once('panel/td_panel_ads.php'); ?>
<?php
/**
* when the AMP -default WP plugin- is available include the amp ads/analytics settings
*/
if ( td_util::is_amp_plugin_installed() ){
require_once('panel/td_panel_amp_ads.php');
require_once('panel/td_panel_amp_analytics.php');
}
?>
<!-- SMARTLIST -->
<?php require_once('panel/td_panel_mob_smartlist.php'); ?>
<!-- BREADCRUMBS -->
<?php require_once('panel/td_panel_mob_breadcrumbs.php'); ?>
<!-- EXCERPTS -->
<?php require_once('panel/td_panel_excerpts.php'); ?>
<!-- CUSTOM CODE -->
<?php require_once('panel/td_panel_custom_code.php'); ?>
<!-- GRIDS/LATEST ART SETTINGS -->
<?php require_once('panel/td_panel_mob_grids.php'); ?>
<!-- MODULES -->
<?php require_once('panel/td_panel_mob_modules.php'); ?>