function page_end() { $try_theme = SendPress_Option::use_theme_style(); do_action('sendpress_public_after'); if ($try_theme) { do_action('sendpress_public_view_scripts'); get_footer(); } else { ?> </div> </div> </div> </div> <script src="<?php echo SENDPRESS_URL; ?> js/jquery-1.9.1.min.js"></script> <script type='text/javascript' src='<?php echo SENDPRESS_URL; ?> bootstrap/js/bootstrap.js?ver=3.3.2'></script> <?php do_action('sendpress_public_view_scripts'); ?> </body> </html> <?php } }