Support Forums for LiveMesh Themes & Plugins › Forums › FitPro Theme Support › change a word
- This topic has 9 replies, 2 voices, and was last updated 9 years, 2 months ago by ssp.
-
AuthorPosts
-
February 11, 2015 at 8:13 pm #12275sspParticipant
Hi,
On the classes page, i would like to change the words Characteristics ans related classes for other words(they need to be in french). How can i do it?
thanksFebruary 12, 2015 at 8:28 am #12278VeenaModeratorYou can learn from http://www.solostream.com/blog/tutorials/translate-wordpress-theme/ about translating your site into your language. Pls make sure you add the entry for your language into wp-config.php file like this –
define ('WPLANG', 'fr_FR');
Pls use the pot files in ‘fitpro/languages’ folder as a template to create .po files.http://www.poedit.net/ -Poedit is the popular free editor for creating .po and the corresponding binary .mo files.
You need to do an update in POEdit to see all the strings.February 12, 2015 at 5:13 pm #12287sspParticipantok thanks, but in POEdit i don’t see the words I want to translate…
February 12, 2015 at 7:23 pm #12289sspParticipantIs there a place where I can just change the words?
thanksFebruary 13, 2015 at 6:26 am #12299VeenaModeratorIt should be there in the poedit.You have to do an update(hit update button on the top) in POEdit to see all the strings.
If you want to change directly in the theme file, you can change the strings in line no:91 and 158 of file single-fitness_class.php.
February 13, 2015 at 3:20 pm #12304sspParticipantThank you so much for your help. I didn’t find the update button in Poedit, but I was able to change it directly in the theme file.
One last question, how can I get rid of the breadcrumb on that same page (single class page)February 14, 2015 at 7:33 am #12309VeenaModeratorPls include this custom CSS in themeoptions –
.single-fitness_class div#breadcrumbs { display: none; }
February 16, 2015 at 3:53 pm #12320sspParticipantSorry, I have 2 more questions
On that page
http://centresportifrosemere.ca/accueil/le-gym/services/
IN the first section (features) I would like to remove the links, I would like to only have the round images, I don’t need them to be linked to another page.Also in the fitness classes section, once again I want to change “view details”, where can I change it?
ThanksFebruary 17, 2015 at 7:16 am #12329VeenaModeratorYou can use the below custom CSS in themeoptions –
div#features .entry-snippet { pointer-events: none; }
You can always use translation tool(Po edit) for changing strings in to your language.It is a safe way of doing instead of directly changing it in themefiles.
Anyway you can change the string in file framework/functions/post-functions.php at line no:664.February 18, 2015 at 2:19 am #12360sspParticipantHi,
I know it would be better to do it in Poedit, but I can’t find out how to update the .pot file. I tried and the strings I was looking for wasn’t there… -
AuthorPosts
- The topic ‘change a word’ is closed to new replies.