function get_compass_instructions() { $compassPrefix = ocs_get_option('ocs-compass-url-prefix'); $compassDescription = 'Include a Compass URL here. Only include the portion of the URL '; $compassDescription .= '<strong style="font-style: normal">starting with the #</strong>. <br>So, if the URL is: <br> '; $compassDescription .= '<small>' . $compassPrefix . '#x=-121.65&y=44.11&z=7&logo=true&dls%5B%5D=true&dls%5B%5D=0.5&dls%5B%5D=456&basemap=ESRI+Ocean&themes%5Bids%5D%5B%5D=27&tab=data</small>'; $compassDescription .= '<br><strong>Remove:</strong><br><small> <strong><strike>' . $compassPrefix . '</strike></strong> before (or after) pasting.</small>'; return $compassDescription; }
function get_the_odfw_compass_iframe($url) { //$cleanURL = esc_html( $url ); $prefix = ocs_get_option('ocs-compass-url-prefix'); $fullURL = $prefix . $url . '&print=true'; $out = '<section class="compass-wrap">'; $out .= '<iframe class="compass-iframe" frameborder="0" src="' . $fullURL . '"></iframe>'; $out .= '</section>'; return $out; }
echo esc_url(home_url('/')); ?> ">Conserve</a> <a href="#mainContent" id="skip-to-content" class="sr-only sr-only-focusable" tabindex="2">Skip to Main Content</a> <div class="header-inner view-switcher"> <div class="search-wrap"> <form action="/" class="search-form form-inline" method="get" role="search"> <label class="sr-only">Search for:</label> <input type="search" required="" tabindex="3" placeholder="SEARCH" id="search-field" class="search-field" name="s" value=""> <button class="search-submit" tabindex="4" type="submit"><span>Search</span></button> <div id="length-test"></div> </form> </div> <a href="#" class="view-map">Map</a> <a href="#" class="view-grid">Grid View</a> <a href="#" class="view-list">List View</a> <?php $theHelpLink = get_permalink(ocs_get_option('ocs-help-icon-url')); ?> <a class="my-ocs" href="<?php echo $theHelpLink; ?> " tabindex="5">Help</a> </div> <!-- /.header-inner --> </div> <!-- /.row --> </header>
<?php } ?> <?php $the_field = get_post_meta(get_the_ID(), 'species_meta_key-reference', true); if (!empty($the_field)) { ?> <section class="cmb2-wrap-textarea species_meta_key-reference"> <h2 data-toggle="tooltip" data-placement="right" title="<?php echo ocs_get_option('ss-key-reference'); ?> ">Key reference or plan</h2 data-toggle="tooltip" data-placement="right" title="<?php echo ocs_get_option('ss-'); ?> "> <p class="cmb2-textarea"> <?php echo wpautop($the_field); ?> </p> </section> <?php } ?> <?php /*
<nav role="navigation"> <?php if (has_nav_menu('primary_navigation')) { wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'main-ocs-navigation']); } ?> </nav> <a class="brand" href="<?php echo ocs_get_option('ocs-odfw-logo-url'); ?> "><?php bloginfo('name'); ?> </a>
<footer class="content-info" role="contentinfo"> <div class="container-fluid"> <?php dynamic_sidebar('sidebar-footer'); ?> </div> <?php $GA_account = (!defined('WP_ENV') || WP_ENV === 'production') && !current_user_can('manage_options') ? ocs_get_option('ocs-ga-account-production') : ocs_get_option('ocs-ga-account-development'); // "UA-73552793-2" //development ?> <script> window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date; ga('create','<?php echo $GA_account; ?> ','auto');ga('send','pageview') </script> <script src="https://www.google-analytics.com/analytics.js" async defer></script> </footer>