I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag <section class="testimonal-two pt-0">
and on all other pages I want the code <section class="testimonal-two">
Below is the code I have so far and it works for the computer shop basildon page but I'm unsure how to add the homepage into that code, the homepage is called index.php
<?php
if ($_SERVER["SCRIPT_NAME"] == '/computer-shop-basildon.php') {
echo '<section class="testimonal-two pt-0">';
} else {
echo '<section class="testimonal-two">';
}
?>