I am trying to find the url of some pages, I have the page ID so I figured that something like this should work.
$linkurl = wire('pages')->get(1187)->url
... do something ...
$linkurl = wire('pages')->get(1186)->url
... do something ...
$linkurl = wire('pages')->get(1093)->url
... do something ...
$linkurl = wire('pages')->get(1097)->url
... do something ...But whatever I try I get the root url as $linkurl.
I even tried it with ->title, just to see what happened. Every time I got the title of the homepage.
Am I doing something wrong or is wire('pages')->get(id) not working?
I use the latest commit.
//Jasper













