How to get a specific string from a url

Question

I am creating a custom WordPress theme and i am little stuck in one situation . what i want is that
http://192.168.1.50/jobifylocal/resume/paulwoods/
get the name : paulwoods in a $variable.
Note every-time there is new name instead of paulwoods, when i click on a post.
Does anybody have a clue how can i get it ?
I searched on google but no relevant problems found, and also i don’t have any clue to do that.

0
, , , , Almight Hacker 3 years 2020-08-28T07:11:01-05:00 0 Answers 51 views 0

Leave an answer

Browse
Browse