Removing the em dash and project/page title from website title.
-
Hello,
I'm trying to remove the em dash and project/page title from the website titles of projects and pages. I was able to remove the em dash by going into frontend.php and removing the code that does that:
wp_localize_script( 'frontend-app', 'passedDataHistory', array( 'titleprefix'
=>get_bloginfo('name').' — ', 'title'
=>get_bloginfo('name') ) );But what I get is my name and the project/page title still appended in my website title. Any help would be appreciated.
Thanks!
-
Dear @andlia
we do not recommend to edit the PHP files. They will be overwritten with the next update.Are you talking about this dash?
There is no way to remove it with laytheme.
Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com