Tagged: remove
Hello All,
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.
Cheers,
peter
Hey peter,
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:
After:
$title = get_bloginfo('name').' | ';
Before:
$title = get_bloginfo('name');
Cheers!
Josue
Hey Josue,
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.
Thank you!
peter
Hi!
That shouldn’t be happening, it looks like a cache problem, mind posting a link to your website?
Regards,
Josue
Hey Josue,
You were right, definitely a cache issue haha. #superN00B
Thank you!!!
peter