Without knowing what the coding exactly should do, given that it should be PHP, I would have expected that it should read
<a href="https://www.example.com"><?php wp_title('|', true, 'right');?></a>
At least, this would be valid PHP code…
0
solved WordPress php href syntax error [closed]