Mohammed Al-Mahdawi
Forum Replies Created
-
Forum: Plugins
In reply to: [Qtranslate Slug] Qtranslate-slug getting double language code in URLI have the same problem when the user search in my site. if the user search in the default x language the URL become:
https://www.mydomainname.com/x/x/?s=anykeyword
And if he search in y language the URL become:
https://www.mydomainname.com/y/y/?s=anykeyword
And in both cases he take 404 Page Not Found.
Forum: Plugins
In reply to: [qTranslate] Redirecting to default languageYou can install Qtranslate Slug this plugin solving evry problem in qTranslate.
Forum: Plugins
In reply to: [Theme My Login] How To Change Page URL ?Create new page for registration and put in it the following shortcode:
[theme-my-login instance="365" register_template]
Source: https://www.jfarthing.com/development/theme-my-login/shortcode/
I do it
The solution for this problem is:
Create
theme-my-login-custom.php
file and put it in your plugins directorywp-content\plugins
And put in it the following code:
<?php function tml_page_link_filter( $url ) { return qtrans_convertURL( $url); } add_filter( 'tml_action_url', 'tml_page_link_filter', 20); function tml_wp_redirect( $url ) { return qtrans_convertURL( $url); } add_filter( 'wp_redirect', 'tml_wp_redirect', 20);
Enjoy & Share
Forum: Plugins
In reply to: [Theme My Login] How To Change Page URL ?Go to your Dashboard > Pages > register then change its slug to what you want.
Hi MatShearer
I have the same problem!
Can anyone help us please?Forum: Plugins
In reply to: Jetpack Publicize and QtranslateI also have the same problem ??
anyone help us!Forum: Plugins
In reply to: [mqTranslate] mqTranslate and DisqusAha OK I’ll try to add translations to it and see what will happen.
Forum: Plugins
In reply to: [mqTranslate] mqTranslate and DisqusThank you for your answer.
I found an article in the web last month about making Disqus changes its language with qTranslate so I asked you if this maybe possible with mqTranslate. I’ll follow your instructions and I hope it will work.Forum: Plugins
In reply to: [mqTranslate] 404 Fetal ProblemThank you for your rapid answer.
I just wanted you to be aware of this issues.
We will be waiting for the next version of your plugin impatiently.Forum: Plugins
In reply to: [Polylang] Fatal Error With Polylang Displays All PostsAha OK
For the future update I wish you add functionality to allow the user to display posts in all languages without writing a code.
Thank you for your rapid answer I’ll rate your plugin 5 stars.
Forum: Plugins
In reply to: [Polylang] Query all language termsHi Chouby
i tried to get posts in all languages but i couldn’t ,i tried this code you gave$posts = get_posts(array(
‘post_type’ => ‘post’,
‘lang’ => ‘de,fr’, // query German and French posts
‘showposts’ => 5
));
i putted in the post.php in wordpress but it didn’t work out can you plz give me more explanation about how and where to put the code
p.s i’m realy new to wordpress