In WordPress blog, the website default to “index.php” and I want to load an htm file instead. Here’s how I did it.
<?php
$htmlContent = <<<HTML
<!DOCTYPE html>
<html>
<head><body>
…
</body>
</html>
HTML;
echo $htmlContent;
?>
In WordPress blog, the website default to “index.php” and I want to load an htm file instead. Here’s how I did it.
<?php
$htmlContent = <<<HTML
<!DOCTYPE html>
<html>
<head><body>
…
</body>
</html>
HTML;
echo $htmlContent;
?>