I am using one plugins https://wordpress.org/plugins/qtranslate-xp/ for my WordPress site. Now I want about us page URL in three language. Means I want unique slug for about us in each language like english, deutche, etc.
Does any one know how to do that? Also, I have come to know about qtranslate-slug plugins but that is not working with qtranslate-xp. so can you please let me know how to do this?
if I understand your problem, you can replace Qtranslate-XP with mqTranslate (upgrade on 2015-2-27) and you can use Qtraslate-slug.
Qtranslate-XP and mqTranslate use same tags.
Related
I am translating our website using Polylang. Our theme is Flatbase, fully compatible with WPML so it should also work with Polylang.
I have an issue with the custom strings. They appear in the "string translation" area, and I can type in and save the translation, but the translation doesn't show on the website, the string is still in the original language.
Apparently it is not an issue with wpml-config.xml, since I can see the strings and translate them. I posted on the module community forum but got no answer.
Thank you in advance for your help.
it does't work that way with polylang, you need to register your custom strings in function.php file of your theme. following is the link to similar question. i hope it will be helpful, other wise let me know i'll be happy to help.
https://wordpress.stackexchange.com/questions/82855/custom-strings-for-translation-using-polylang-plugin
I need to have a pattern in the url on the whole website to control which language is shown. The pattern www.website.com/en/permalink should generate a variable like $lang="en".
I have tried different approaches like add_rewrite_rule, add_rewrite_endpointor adding rewrite rules via add_filter('rewrite_rules_array') and using preg_matchto generate the actual pattern from the $_SERVER['REQUEST_URI'].
I also had a look on plugins like qtranslate that does very well what i need but the sourcecode is too complex for me to understand.
After all, I dont understand how to do this in a good way, what is the best approach to achieve this?
The language pattern has to stay in the URL on the whole page, like in qtranslate, f.e. after clicking a menu-link the pattern has to be shown in the url again.
The solution has to be SEO-friendly.
If you aren't confident doing this, the quickest way is to get the WPML (wordpress multi-language) plug-in.
I am creating a new website and I am trying to change the URL of login, admin, register, and password URL's.
I have tried many wordpress plugins, but all of them have problems. Unfortunately I don't have to much funds on me, so I am trying to find a free solution to this.
A few that I have tried with no success:
https://wordpress.org/plugins/hide-login/
https://wordpress.org/plugins/custom-login-url/
Is there an alternative plugin that I may have not came across?
Also if you know of a tutorial where I can change it through code, I don't mind that either. Better to learn it then to rely on something else to do it for you all the time, because one day it might not be there.
Another plugin you may want to try is Better WP Security. It lets you change all of those URLs.
I work on a shop using WordPress and a discontinued (but still used) shopping plugin/theme.
The frontend search was never very good, even after some alterations to the way the search query is built. A fulltext index did help a bit, but it largely fails now, because there are many (almost) three-letter product names like t-700 / 700.
In the backend products search (must be a custom post type) however, the search is fine. It is just what the shop owner wants.
The perfect thing would be to bring just this backend search to the frontend, either by calling the right function / hook or by copying the relevant code.
The code structure pointed me to wp-includes/query.php, but there I failed to understand how backend queries work. I've been searching the web for days now and I just can't find anything at all.
Any help or suggestions are greatly appreciated. Thanks a lot!
What you are using on frontend ? you must use query_posts for all posts on frontend as it gives option to pass all possible arguments in it.
You can check this link for reference
We need some more informations to help you! Without knowing the plugin you use or at least what's in the query.php it's impossible to help you.
The code for this search tool is specific so nobody can tell you how to get it to work in your frontend.
Usually I'd try to copy it into a frontend page (or try to call it there) but that might be a risk! Backend and frontend data should have different access rights, this might be the reason why you can't just copy&paste the function.
I'm trying to figure out the theme for this site:
moneymachinefactory dot org
I know sometimes you can see it in the page source. in this case, i can't, but i know they're using wordpress.
It's possible that it's Wordpress, but that would be they went through great lengths to disguise that fact. Especially since this URL fails: http://moneymachinefactory.org/wp-admin , it could be expression engine, drupal or mambo or something else. Good luck, I would just email them and ask.
The blog http://moneymachinefactory.org/blog/ uses WP, but the other pages are static.
The style sheet in the WP theme doesn't have a standard WP style sheet header with theme info and is loaded from root instead of wp-content/themes/themename/style.css: http://moneymachinefactory.org/gzip.php?f0=style.css
They are probably rewriting the typical WP URLs with .htaccess. It's getting to be a popular thing to do for (some) security and possibly to (somewhat) protect designs.