Web Analytics
How can I add site description on php site. - StoreFront Forums

How can I add site description on php site.

180nobs

New member
Aug 28, 2021
28
5
3
29
Abuja
180paypoint.com
How can I add site description on php site.

See Watin e dey show.
Home | 180paypoint
180paypoint.com

Screenshot_20211015-002449.png
 

Dan

Active member
Contributor
Aug 21, 2021
196
158
43
The script you are using should come with it. Otherwise, add manually by following the below

1. Edit header.php and add this code above all codes.

Rich (BB code):
<title>
<? if (isset($subtitle)) { echo $subtitle; } ?>
</title>

<meta name=”description” content=”<? if (isset($description)) { echo $description; } ?>”>

2. Now, edit all your pages, like index.php, about.php, contact.php, etc. and add this code at the top of all codes..


Rich (BB code):
<?
$subtitle = “Your Custom Title Here”;
$description = “Your Custom Description Here.”;
include(‘header.php’);
?>

Replace Your Custom Title Here with the page title and Your Custom Description Here with the page description.
 
  • Like
Reactions: Pedro
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks