/** * Scripts and stylesheets */ function crufty_ie_scripts() { // <IE9 js (from http://stackoverflow.com/a/16221114/1001675) $conditional_scripts = ['svg4everybody' => \Roots\Sage\Assets\asset_path('scripts/respond.js'), 'respond' => \Roots\Sage\Assets\asset_path('scripts/svg4everybody.js')]; foreach ($conditional_scripts as $handle => $src) { wp_enqueue_script($handle, $src, [], null, false); } add_filter('script_loader_tag', function ($tag, $handle) use($conditional_scripts) { return array_key_exists($handle, $conditional_scripts) ? "<!--[if lt IE 9]>{$tag}<![endif]-->\n" : $tag; }, 10, 2); }
<?php dynamic_sidebar('sidebar-primary'); ?> <a href="https://www.facebook.com/waterfordpumpkinfest" class="ad-facebook"> <img src="<?php echo Roots\Sage\Assets\asset_path('images/sidebar-community.jpg'); ?> " alt="Join the Community"> </a> <?php if (have_rows('sponsors', 1064)) { ?> <div class="sponsors"> <h2 class="h3"><?php the_field('sponsor_title', 1064); ?> </h2> <p class="logos"> <?php while (have_rows('sponsors', 1064)) { the_row(); $img = get_sub_field('image'); ?> <a href="<?php the_sub_field('link');
<head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/png" href="<?php echo Roots\Sage\Assets\asset_path('images/favicon.png'); ?> " /> <?php wp_head(); ?> <?php get_template_part('templates/google'); ?> </head>
" sizes="16x16"> <link rel="manifest" href="<?php echo \Roots\Sage\Assets\asset_path('images/favs/manifest.json'); ?> "> <link rel="mask-icon" href="<?php echo \Roots\Sage\Assets\asset_path('images/favs/safari-pinned-tab.svg'); ?> " color="#66bbae"> <link rel="shortcut icon" href="<?php echo \Roots\Sage\Assets\asset_path('images/favs/favicon.ico'); ?> "> <meta name="apple-mobile-web-app-title" content="CDA Kerkrade"> <meta name="application-name" content="CDA Kerkrade"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="<?php echo \Roots\Sage\Assets\asset_path('images/favs/mstile-144x144.png'); ?> "> <meta name="msapplication-config" content="<?php echo \Roots\Sage\Assets\asset_path('images/favs/browserconfig.xml'); ?> "> <meta name="theme-color" content="#ffffff"> <?php wp_head(); ?> </head>
<div class="container"> <div class="logo"> <img src="<?php echo Roots\Sage\Assets\asset_path('images/logo.png'); ?> " alt="EZ Grow Farms"> </div> <div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="medium"> <button class="menu-icon" type="button" data-toggle></button> <div class="title-bar-title"><?php bloginfo('name'); ?> </div> </div> <div class="top-bar" id="main-menu"> <?php foundationpress_mobile_nav(); ?> </div> </div>
$contact_telephone = "312-369-6400"; $contact_email = "*****@*****.**"; ?> <!-- PN BEGIN FOOTER --> <footer class="content-info pn-footer" role="contentinfo"> <div class="row"> <div class="pn-footer-logo"> <img src="<?php echo \Roots\Sage\Assets\asset_path('images/pn-footer-logo-yellow.svg'); ?> " class="pn-footer-logo-image -yellow"/> <img src="<?php echo \Roots\Sage\Assets\asset_path('images/pn-footer-logo.svg'); ?> " class="pn-footer-logo-image -white"/> </div> </div> <div class="row"> <address class="pn-footer-contact"> <h1 class="pn-footer-contact-title"><?php _e("Contact", "sage"); ?> </h1> <?php _e($contact_telephone, "sage"); ?>