I would like to remove the page title “|” (the pipe) from the title but keep everything afterwards.
Currently the page title has “my site name | specific page title name”. How do I remove the part “my site name |” and only keep “specific page title name”.
I have seen many ask a variation of this question, but none cover my specific situation. Thank you in advance for helping me out.
You need to open this file /enfold/framework/php/function-set-avia-frontend.php and go to the line 403, and replace it as follows:
$title = get_bloginfo('name').' | ';
$title = get_bloginfo('name');
That worked. However only when I am logged in to WordPress. How can I do the same for when I am not logged into WP?
The “|” still shows when a user is not logged into WP.
That shouldn’t be happening, it looks like a cache problem, mind posting a link to your website?
The topic ‘remove | pipe from title’ is closed to new replies.