Forum Replies Created
-
AuthorPosts
-
hugodebeParticipant
Problem solved!
Thanks a lot for the quick response and sorry… I could have find it by myself. The trouble maker was the
Social Share Buttons WordPress Plugin by Supsystic
, recently updated to version4.4.2
. Of course! Following my configs, it was using the same container of the excerpt and was causing the bug.I deleted this plugin and implemented the
crunchify.com
method How to Create Social Sharing Button without any Plugin and Script LoadingNote: The crunchify.com new WordPress plugin didn’t work for me so I did it manually.
Obviously, I previously created a Child Theme for Clean Box and then add the code for the new social sharing buttons. No more mess into the site core files… I had downloaded the child theme .zip from yourCatchthemes.com article.
I still have few adjustments to do with those buttons, but I’m already very happy to have deleted from my site the tons of CSS and JS added by the Social Sharing Plugin I was using before. Speeding up the site loading…
February 24, 2016 at 11:34 pm in reply to: Add translation for "Leave a comment" and "% Comments" links on top of posts #86253hugodebeParticipantThanks @manesh, I finally managed to install the translations! I spent more than an hours trying to setup the pt_BR.mo and pt_BR.po by different ways but the translation files weren’t working on the Clean Box theme on my site http://www.montoeu.com. Then I updated the theme from 0.5 to the new 1.0 version and it works. This new version comes with the da_DK included.
For people that aren’t familiar with Theme Translations, find hereafter the few steps to install a new language file to your WordPress:
First of all, update your Clean Box theme to the last version (1.0 or higher).
1- I found the Brazilian Portuguese language file for this theme at https://translate.wordpress.org/projects/wp-themes/clean-box. There are a lot of translations from the community.
2- On the language page, at the end of the table, you can “Export” (“All current” in .po format).
3- I opened the downloaded file (wp-themes-clean-box-pt-br.po
) with Notepad++.
4- From the FTP folder/wp-content/themes/clean-box/languages
I downloaded/opened theda_DK.po
file with Notepad++ to have a look to the header.
5- I completed the header of mywp-themes-clean-box-pt-br.po
with the following missing lines:“Language: pt_BR\n”
“X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;esc_attr_e;esc_attr__;_nx:1,2,4c;esc_html__;esc_attr_x:1,2c\n”
“X-Poedit-Basepath: .\n”
“X-Poedit-SearchPath-0: ..\n”6- I downloaded the Poedit software and used it to edit few translations on my
wp-themes-clean-box-pt-br.po
. It’s very easy to use.
7- With Poedit, I saved my file topt_BR.po
andCompile to MO...
to get the correspondingpt_BR.mo
file.Note: I don’t know if the file name of the
.po
and.mo
files are case sensitive. I mean, ispt_BR.po
the same aspt_br.po
? By the way, the standard looks to bept_BR.po
.8- I uploaded both
pt_BR.po
andpt_BR.mo
to the FTP folder/wp-content/themes/clean-box/languages
, where you will seeclean-box.pot
,da_DK.mo
andda_DK.po
(Clean Box v1.0).Reload your web site. Ta da!
-
AuthorPosts