What's new

Welcome to StoreFront Forums

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask Questions and Get Answers from Our Community

Answer

Answer Questions and Become an Expert on Your Topic

Contact Staff

Our Experts are Ready to Answer your Questions

How can I add site description on php site.

180nobs

New member
Joined
Aug 28, 2021
Messages
26
Reaction score
7
Points
3
Age
28
Location
Abuja
Website
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
Joined
Aug 21, 2021
Messages
188
Reaction score
82
Points
28
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.
 

180nobs

New member
Joined
Aug 28, 2021
Messages
26
Reaction score
7
Points
3
Age
28
Location
Abuja
Website
180paypoint.com
The script doesn't have all what you stated, no header.php. no index.php

Herr is a screenshot via file manager.


Screenshot_20211015-065448.png
 
shape1
shape2
shape3
shape4
shape7
shape8
Top
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