mistermeij
Forum Replies Created
-
AuthorPosts
-
Ah Alex one more thing:
There are missing some Translatable taxonomies linking see attachment to which do I connect them?Ok clear!
One little remark though;
When I enable this function and have the (gd_place), (gd_event) or any CPT you have configured and set them to:
Translatable – use translation if available or fallback to the default language.The not yet translated places are not showing on the selected language.
Does this mean the fallback solution does not work with geodirectory?The places are also not fetched in the search query.
Alex found the config issue:
(for users also having the same issue as me)
Go to: /wp-admin/admin.php?page=wpml-translation-management%2Fmenu%2FsettingsSection: Post Types Translation
Find: (gd_place), (gd_event) or any CPT you have configured and set them to:
Translatable – use translation if available or fallback to default languageDefault install sets them to not translate.
Save and fixed!
This reply has been marked as private.I see this if I look the code up on front end. Looks like the widget is not loaded
Hi Alex,
Thanks for the explanation. I have activated it as widget but nothing shows.
Even after disabling all cache deleted all cookies nothing shows.
Am I doing something incorrectly?Hi Alex,
Where can I find this function. I don’t see any duplicate function on front end?
Hi Kor and others,
I am having troubles with the following configuration
WPML addon bridge adds a setting at: /wp-admin/edit.php?post_type=gd_place&page=gd_place-settings&tab=cpt
Enable frontend duplicate? Enable frontend duplicate? Tick to allow users to translate their listings via WPML duplicate translation.
What does it do exactly? I am adding listings myself and see no changes related to multilingual options?
Oh BTW, your support is really amazing. you guys are fast helpful and very knowledgable. I’ve seen differently in my career. Chapeau!
Never mind, I’ve added the following snippet and seems to work:
function frontend_login_url( $url, $redirect, $force_reauth ){ $new_login_url = home_url( '/register/?type=login' ); if ( !empty($redirect) ){ $new_login_url = add_query_arg( 'redirect_to', urlencode( $redirect ), $new_login_url ); } if ( $force_reauth ){ $new_login_url = add_query_arg( 'reauth', '1', $new_login_url ) ; } return $new_login_url; } add_filter( 'login_url', 'frontend_login_url', 10, 3 );
Maybe it helps someone else.
//Dirk
Hi Kor,
No worries, I had a quick thought I was going crazy XD
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private. -
AuthorPosts