RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Simple use of get_parmalink
Code echo get_permalink(); Output The link of the current page, for example: http://website.com/category/name-of-post/
Specifying the post to get the link
Code echo get_permalink( 44 ); Output The link of the post id:44, for example: http://website.com/category/name-of-post/
Get the link without the post's name
Code echo get_permalink( 44 , false ); Output The link of the post id:44 without the name of the post, for example: http://website.com/category/%postname%/
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website