/** * Better footer function * * @param string $name Name of footer. * * @returns string The footer. * * @since 0.0.2 */ function app_starter_footer($name = null) { /** * Override which footer is returned; * * @param string $name Name of footer. * * @since 0.0.2 */ $name = apply_filters('app_starter_footer', $name); if (function_exists('pods_view')) { $name = 'footer.php'; if (!is_null($name) && file_exists('footer-' . $name . '.php')) { $name = 'footer-' . $name . '.php'; } pods_view($name, null, app_starter_cache_expires(), app_starter_cache_mode()); } else { get_header($name); } }
} include $view; } else { echo $view; } } } } app_starter_paging_nav(); } else { get_template_part('content', 'none'); } } else { if (is_file($alt_view) && file_exists($alt_view)) { if (function_exists('pods_view')) { pods_view($alt_view, null, app_starter_cache_expires(), app_starter_cache_mode()); } else { include $alt_view; } } else { if (is_string($alt_view)) { echo $alt_view; } } } ?> </main><!-- #main --> <?php app_starter_sidebar(); ?>