nicobzz
Forum Replies Created
-
Thank you for your answer
Forum: Plugins
In reply to: [Polylang] Search doesn’t work on the second language (Divi)hello.
I have a similar problem.
I’m creating a theme on _s template, and I use polylang.
Apparently when inserted from a widget the search bar doesn’t select the good language but the defaut one.Is there something to do for that?
I don’t find documentations about that but https://polylang.pro/always-use-get_search_form-to-create-search-forms/
I’ll try to add <?php get_search_form(); ?> tomorrow in my code (because it’s very late.
Thank you.
Sorry for disturbing, finally I succeed, this plug in: contact form 7 was installed by someone else than me, I simply didn’t took enough time to see that there is a message part in admin where I can translate the message!
I will translate them.
Thank you for your answerI have found how to do.
I explain here how to do for those who need an answer.
I put this code in functions.php in the “wp” action trigger (I guess it could have been put in the “init” action trigger but not for me as get_locale return the good language for me only after “wp” action (the locale depends of my current page (either a french or english page) which is loaded after init))
`$locale = get_locale();
if ( is_dir( $mofile = WP_LANG_DIR . ‘/plugins’ ) ) {
$mofile .= ‘/asgaros-forum-‘. $locale .’.mo’;
}else{
$mofile = null;
}
unload_textdomain(‘asgaros-forum’);
load_textdomain(‘asgaros-forum’, $mofile );`
This code unload the “asgaros-forum” textdomain, and load the one in the good language (either french or english)(I put a hook in order that get_locale return the language I have put on the current page or article).
Best regards
I’m sorry for being so rude in my comment, Ill change it in a part.
But I still believe that lot of feature requieres the user to pay to add it.
It seems to me it’s why there is a plugin named moderation for allowing the website to requiere registration to login, and it’s sold 10$.
Best regards.
Forum: Plugins
In reply to: [Yoast SEO] Is it so much important to have multiple key words?Thanks for your answer.
Forum: Networking WordPress
In reply to: How important is to have more than one key word?Thanks for your answer Steve.
I didn’t take care there is a part of the forum for that.
Forum: Fixing WordPress
In reply to: My wordpress site is part of a pingback botnetI guess your problem is not necessarily related to wordpress.
Someone may have put a php file inside your web site, and this php file do the hacking job.
I believe you should ask to your web host how to remove it.
Thanks Jeremy, indeed I understood that the code of the shortcode must be put in a plugin, I did it.
I also found the code of the templates, and I changed it, I know it will be erase at first update, but I still wanted to change a thing, and as I didn’t find better mobile themes than the jetack theme, I decided to change it, I ll make the change every time there is an update .
Thanks jeremy
Forum: Everything else WordPress
In reply to: downloading docsoh bad for me, i cry!!
thank you for your answer ??