A snippet of code to create custom canonical link elements in the custom fields of WordPress