<?php if (!et_is_listing_page() || is_single() && 'listing' == get_post_type()) { ?> <footer id="main-footer"> <div class="container"> <?php get_sidebar('footer'); ?> <p id="copyright"><?php printf(__('Designed by %1$s | Powered by %2$s', 'Explorable'), '<a href="http://www.elegantthemes.com" title="Premium WordPress Themes">Elegant Themes</a>', '<a href="http://www.wordpress.org">WordPress</a>'); ?> </p> </div> <!-- end .container --> </footer> <!-- end #main-footer --> <?php } ?> <?php wp_footer(); ?> </body> </html>
function et_add_map_class($classes) { if (et_is_listing_page()) { $classes[] = 'et_map_full_screen'; } return $classes; }
<form method="get" class="searchform" action="<?php echo esc_url(home_url('/')); ?> "> <input type="text" value="<?php esc_html_e('Search this site...', 'Explorable'); ?> " name="s" class="search_input" /> <input type="image" alt="<?php echo esc_attr('Submit', 'Explorable'); ?> " src="<?php echo $template_directory_uri; ?> /images/search-icon.png" class="search_submit" /> </form> </div> <!-- .et-search-form --> </div> <!-- #top-navigation --> </div> <!-- .container --> <?php do_action('et_header_top'); ?> </header> <!-- #main-header --> <?php if (!et_is_listing_page()) { ?> <div id="et-header-bg"></div> <?php }