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
30
Abuja
180paypoint.com
N-Token
₮0.00
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
Trusted Uploader
Contributor
Aug 21, 2021
202
1
171
43
N-Token
₮2,785.00
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

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

Forum statistics

Threads
1,090
Messages
6,588
Members
3,459
Latest member
ugbonepaul
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