[Question] Link Question

Status
Not open for further replies.

Perception

Active member
Legendary
Joined
Sep 3, 2012
Messages
10,690
Kin
0💸
Kumi
0💴
Trait Points
0⚔️
Awards
What is the code so that when a person clicks on a link they are directed to a specific part of a page? I know what the code is to insert a link but I would like to insert a link to go to a specific post so the user doesn't have to scroll the page. Thanks.
 

Deviation

Active member
Legendary
Joined
May 15, 2013
Messages
14,277
Kin
267💸
Kumi
177💴
Trait Points
0⚔️
PHP:
[post]postid[/post]
[post=postid]value[/post]

[URL]http://145.239.2.142/index.php?posts/13478020/[/URL]
[URL="http://145.239.2.142/index.php?posts/13478020/"]Click Me![/URL]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Here is the code


 

Caliburn

Supreme
Joined
Apr 6, 2009
Messages
20,771
Kin
2,805💸
Kumi
525💴
Trait Points
0⚔️
As said before each post in each thread has got its own link, which you can get by clicking on the post's number on the right side. So if you click on that link, you will be redirected to that post in the thread.
 
Status
Not open for further replies.
Top