WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
First page only
First page only
Details
Discussion
2
Print
Comments on First page only
•
babrees
Expert
Usergroup:
Customer
Joined:
Aug 19, 2005
Location:
England
Total Topics:
391
Total Comments:
1303
•
babrees
#1 -
Quote
-
Permalink
Posted Nov 23, 2006 - 12:31 AM:
Is it possible to have some static text on the first page only of links? In other words, if the links go on to two or more pages, that text only appears on first page.
•
Paul
developer
Usergroup:
Administrator
Joined:
Dec 20, 2001
Location:
Diamond Springs, California
Total Topics:
61
Total Comments:
7868
•
Paul
#2 -
Quote
-
Permalink
Posted Nov 24, 2006 - 6:30 PM:
This should work: <?php global $page; if ($page == 1) { ?> static text <?php } ?>
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on First page only
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Is it possible to have some static text on the first page only of links? In other words, if the links go on to two or more pages, that text only appears on first page.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
This should work: <?php global $page; if ($page == 1) { ?> static text <?php } ?>