October 30, 2013 at 3:24 pm #182456
When my client posts a newsitem, the title of the item would be: “Blog – latest news”. Is there any way to remove the “Blog”-prefix (or category), so that it would only show “Latest news”?
Second question: the translation at the breadcrumbs has an error (“you are here” >> “u bevind zich hier”) In Dutch, it should say: U bevindT zich hier. Where can I change this?
–MichaOctober 30, 2013 at 9:15 pm #182579
1) Please go to Appearance > Editor and open single.php file and find following line
$title = __('Blog - Latest News', 'avia_framework');
and change it to to
$title = __('Latest News', 'avia_framework');
2) Please add this plugin http://wordpress.org/plugins/codestyling-localization/ You can change any string
YigitOctober 31, 2013 at 12:51 pm #182928
Thanks, the first solution worked.
On the second: I installed the codestyling localization bit it couldn’t find the string (‘you are here’) I was looking for. I found it in the nl_NL.po file and changed it – with no success. The .mo file isn’t editable for me – looking foor a tool that can.October 31, 2013 at 3:16 pm #182968
If you do not mind, you can upload the file on Dropbox and post the link here, i can update it for you and send it back :)
YigitOctober 31, 2013 at 8:09 pm #183093
I’m trying to rename “Blog – Latest News” to “Latest” but I edited single.php as instructed, as well as installed that plugin, and it didn’t work. I’m on a dev site so I can’t share the URL or files at this time, but trying to figure out why this won’t work.
Is there a step I’m missing after installing the plugin?
Thanks!November 1, 2013 at 4:19 am #183262
Edit index.php, find this code:
$title = __('Blog - Latest News', 'avia_framework'); //default blog title
Replace it with:
$title = __('Latest', 'avia_framework'); //default blog title
IsmaelNovember 1, 2013 at 3:21 pm #183396
The .po file is located here (with the correct Nederland in it…)November 1, 2013 at 3:34 pm #183403
It actually seems to be correct http://i.imgur.com/3ajGkQg.jpg I did not change it. Just updated and new strings are added. You can download it here https://dl.dropboxusercontent.com/u/14975671/nl_NL.zip
YigitNovember 1, 2013 at 3:38 pm #183405
The topic ‘Remove "Blog" from title bar’ is closed to new replies.