modifications for custom.php, footer.php, header.php, nav.php