generate a static copy of the website footer html
Client website uses the service of a third-party content provider to maintain a TV programs page. This provider needs to have access to a file that gives the theme's footer html code.
I have managed to give him that, except that the javascript files, which should be in the footer, do not appear in the rendered html code.
Here is the complete code, sitting at /path/to/partnerfooter.php
define('WP_USE_THEMES', true);
require( '../wp-load.php' );
do_action('get_footer');
get_template_part('templates/footer');
wp_footer();
do_action('wp_enqueue_scripts'); // no go
?
/body
/html
Topic footer third-party-applications customization Wordpress
Category Web