catheg
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sydney] Mobile hamburger menu icon not showingHi @germars ,
I added this in the style.css of my child theme
.btn-menu {
float: center;
font-size: 28px;
font-family: “FontAwesome”;
color: #fff;
text-align:center;
width: 28px;
height: 28px;
cursor: pointer;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.btn-menu:before{
content: “\f0c9”;
}Catherine.
Hi @maneshtimilsina
Thank you for your help.Hi @maneshtimilsina ,
That’s what I’ve figured out making tests. So you are luky if you have the exact lenght whatever language.
It would be better if the excerpt was expressed in characters not in words tu cut off at the same lenght.
Hi @maneshtimilsina ,
Thx for your answer.
I set the lenght of the excerpt to 15 in the content layout of the plugin in the french and english version.This is why I don’t understand why it’s working in one version and not in the other one.
Thx for your help.
Forum: Themes and Templates
In reply to: [Sydney] Mobile hamburger menu icon not showingI figured it out in the blog posts.
Forum: Plugins
In reply to: [Polylang] Error thrown Call to undefined function pll_get_requested_url()I cleared my brower cache and now everythhing is OK.
Sorry for the inconvenience.
Catherine.
Thx Mihai for your help.
After clearing the cache, That fixed the problem.
I thought that nextgen was able to detect the orientation of the pictures.Forum: Themes and Templates
In reply to: [Sydney] Hide title of service type BThx Roman.
It works fine.
Catherine.
Forum: Plugins
In reply to: [Polylang] Child theme does not take translation stringsHello,
In your code for each string you have to translate you have to use function like _e
(https://developer.wordpress.org/reference/functions/_e/)_e(“mystring”,’yourtheme-child’);
You have to generate a po file (yourtheme-child.pot) for your child theme. Save it in a languages directory under your child directory. And create a po file for each language in which you are going to translate your strings.
Best regards.
Catherine.
Forum: Plugins
In reply to: [reCaptcha by BestWebSoft] How to localize google-captcha textThank you for your answer.
In the free version, what sets the language text : the browser language ?
Forum: Developing with WordPress
In reply to: How to generate a child theme pot fileThanks for your answers.
My site is multilingual French and English.
I was thinking maybe that the makepot tool could differentiate the text domain since it’s supposed to be a specific wordpress tool.
Anyway, as you suggested, I generated a pot file with poedit for my child theme, then manually deleted the entries for the parent strings, compiled, created the po file, put all the files in the languages directory of my child theme.
It works fine.
Not very a very clean method, but for now it’s enough.
Forum: Plugins
In reply to: [Polylang] __ and _e functionsHi,
What do you want to do ?
If you want to use __() and _e(), you have to update the po, or pot files of your theme, and in this case it’s better to create a child theme.Catherine.
I found this in the google forum :
http://swampsidestudio.com/remove-wordpress-hentry-class/Do you think it could be the problem and the solution for the Sydney theme ?
What are the consequences if the hentry class is removed for pages in Sydney theme ?
Thanks for your answer.
Catherine.
Forum: Plugins
In reply to: [Polylang] Translate string in functions.phpMaybe. Try this :
Register VENDUTA string
if (function_exists(‘pll_register_string’)) pll_register_string(‘mysnipet’, ‘VENDUTA’);translate the string ‘VENDUTA’ by ‘SOLD OUT’in Language/String translation in the WP dashboard.
replace in your code __(‘VENDUTA’, ‘woocommerce’) by if (function_exists(‘pll__’)) echo pll__(‘VENDUTA’);
Forum: Plugins
In reply to: [Polylang] Translate string in functions.phpIt seems that you have the string VENDUTA internationalized with __() in your code. So you can translate it with po/mo files.
Add or edit with the poedit tool the English translation po file of woocommerce and see if you find the VENDUTA string and translate into SOLD OUT