Jump to content

nickie

Members
  • Posts

    30
  • Joined

  • Last visited

Community Answers

  1. nickie's post in Link using page ID was marked as the answer   
    For relative URL, you can use:

    <a href="<?php echo $pages->get(23)->url;?>">Page with ID 23</a>If you want the full http URL, use ->httpUrl instead of ->url. Edited to add: Sorry, forgot to add the 's' to $pages - totally different variable
×
×
  • Create New...