여기에 (1 년 전) 물어 보았지만 분명히 대답하지 못했습니다. WordPress는 항상 진화하고 있으므로 이제는 좋은 해결책이 될 것입니다. 나는 URL을 통해 WordPress 페이지에 변수를 전달하고 싶다. (CodeIgniter uri 헬퍼 세그먼트와 비슷하다.)WordPress 페이지에 URL 변수를 전달하는 방법
현재나는이 작업을 수행 할 수 있습니다 ...
내 프로필 페이지입니다 :이 같은에서 변수를 전달하려는 http://website.com/profile?username=johndoe
: 이 http://website.com/profile
내가 이런 변수를 전달할 수 있습니다 : http://website.com/profile/johndoe 또는 http://website.com/profile/username/johndoe
도우미 기능이 있어야합니다. 맞습니까?
website.com/profile/johndoe를 시도하면 404 오류가 발생합니다. –