Timeline for How do I retrieve the slug of the current page?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 21, 2020 at 3:46 | comment | added | Chaoley | Nice, very nice :) | |
Mar 13, 2020 at 15:46 | comment | added | Sean Doherty | This is such a neat one liner :D | |
Feb 17, 2020 at 11:43 | comment | added | jave.web |
@Mene true, but question is how to get slug which, usually, means there is one in the url (GET arg p is not a slug).
|
|
Oct 14, 2016 at 10:36 | comment | added | Mene |
this depends on the permalink settings. If you use the "simple" setting, links will look like http://domain/?p=123 , leaving you with ?p=123 .
|
|
S Sep 24, 2015 at 23:42 | review | Low quality posts | |||
Sep 25, 2015 at 0:25 | |||||
S Sep 24, 2015 at 23:42 | review | Late answers | |||
Sep 24, 2015 at 23:47 | |||||
Sep 24, 2015 at 23:27 | review | First posts | |||
Sep 25, 2015 at 6:40 | |||||
Sep 24, 2015 at 23:26 | history | answered | tracey | CC BY-SA 3.0 |