I've been trying to get this to work but can't seem to
I'm trying to link to a page within my site without having to link the entire URL as I will be moving the site to a different domain in a few weeks and don't want to have to go through every link changing the URL
Is it possible to link to a page without doing this?
I hear that you're supposed to use get_page_by_title(), but that function doesn't seem to do anything
<a href="<?php get_page_by_title('Register');?>"
Is this the correct syntax? (Title of the page is Register)