Example #1
0
	<!--[if lt IE 9]>
		<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<script src="//css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
		<![endif]-->

		<!-- W3TC-include-js-head -->
		<?php 
wp_head();
?>

		<!-- W3TC-include-css -->
	</head>
	<!-- W3TC-include-js-body-start -->

	<body <?php 
body_class('yes' === get_single_theme_mod('boxed') ? 'boxed' : '');
?>
>
		<div class="boxed-container">
			<?php 
$tap_to_call_number = get_theme_mod('tap_to_call_number');
$tap_to_call_text = get_theme_mod('tap_to_call_text');
$tap_to_call_visibility = get_theme_mod('tap_to_call_visibility', 'mobile');
if (!empty($tap_to_call_number) && !empty($tap_to_call_text)) {
    ?>

			<a href="tel:<?php 
    echo $tap_to_call_number;
    ?>
" class="tap-to-call<?php 
    echo 'mobile' === $tap_to_call_visibility ? '  hidden-desktop' : '';
Example #2
0
 function custom_number_of_products_per_page($cols)
 {
     return get_single_theme_mod('products_per_page', $cols);
 }