Supreme Theme WPML Migration
This topic contains 9 replies, has 3 voices, and was last updated by Kiran 6 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 20, 2018 at 12:54 pm #450672
Hello Sirs, I am migrating Tourpass.rio to V2 I followed the instructions and apparently all seems fine exept I use a WPML plugin to translate portal, and I have encountered several issues,
1.I added a Listing widget to the homepage it is displays CPT’s for all languages and several duplicates of the same item, even if I filter widget for specific language; How can I filter the widget to display content of current selected language from WPML.
2.When clicking one of the CPT’s from Listing widget in front page i’m redirected to a page with a correct title but which does not display the content of the page but instead a blogroll of CPT’s.
3. When I click geodir_submit_search button it reloads the homepage.
4.Custom field is not displaying CSS settings.
I just installed theme and would appreciate your help in the means to continue the migration process.
October 20, 2018 at 3:40 pm #450686Hello,
thanks for writing in with your questions. To investigate some of these items we will need WP Admin and FTP access.
GDV2 i in Release Candidate status at the moment and not recommended for production sites. We are releasing updates often and if there are bugs we will do our best to get them fixed.
1.I added a Listing widget to the homepage it is displays CPT’s for all languages and several duplicates of the same item, even if I filter widget for specific language; How can I filter the widget to display content of current selected language from WPML.
That should not happen, so we will need to see the settings.
2.When clicking one of the CPT’s from Listing widget in front page i’m redirected to a page with a correct title but which does not display the content of the page but instead a blogroll of CPT’s.
That looks like it could be a permalink issue. Have you visited the permalinks settings? We can check that also.
3. When I click geodir_submit_search button it reloads the homepage.
That is a bug and a fix for that should be in the next release. If not let us know.
4.Custom field is not displaying CSS settings.
OK, we can check these settings also and find a solution.
Please make a private reply and include WP Admin and FTP so we can continue diagnosis.
October 21, 2018 at 10:15 am #450739This reply has been marked as private.October 21, 2018 at 10:59 am #450741Also if possible give me a hint as i’m trying to display a booking widget on sidebar of link: https://www.tourpass.rio/pt-br/tours/transfer-rio-de-janeiro/ Not sure of how placing the snippet to appear in the side.
Thank youOctober 22, 2018 at 2:52 pm #450837For the developers
1. The translated homepages are being maintained through WPML, but when each is loaded they are not showing only the listings with the language of the loaded page.
Tried both Multilingual Content Settings “Make ‘Pages’ translatable” and “Make “Pages” appear as translated”
2. This appears fixed.
4. Open the custom fields for the CPT (CPT – Settings – Custom fields (Tab) –
Choose the field, select “Show advanced” with the blue button, and then look for the field called : Css class
That is the field used to add another class to the custom field. If that is not what you meant, please write back. Better yet, make another topic so we can use this topic to work on the WPML issue.I will flag this for the developers to take a look.
October 22, 2018 at 2:53 pm #450838This reply has been marked as private.October 23, 2018 at 6:25 am #450913Hello,
We have developed standalone plugin “GeoDirectory Multilingual” to manage multilingual functionality like WPML. Currently GeoDirectory Multilingual plugin is under development. You can find development version at here https://github.com/AyeCode/geodir-multilingual
Please try to install it and check again issues you reported. Let us know if you still have issues.
Kiran
October 23, 2018 at 10:26 am #450941Hello Sirs, Just sent WPML a support ticket, Will let you know if updates, thank you. PAge loading seems to have improved after cleaning the database, Thank you
November 6, 2018 at 8:38 am #452693Hello Sirs, issue #1 was resolved including the following snippet provided by WPML in functions of supreme theme, `add_filter( ‘geodir_filter_widget_listings_join’, function( $join ) {
global $wpdb;$join .= ‘ JOIN ‘ . $wpdb->prefix . “icl_translations ON element_id = ID AND element_type=’post_gd_place’ “;
return $join;
} );add_filter( ‘geodir_filter_widget_listings_where’, function( $where ) {
$lang = apply_filters( ‘wpml_current_language’, false );
$where .= ” AND language_code = ‘$lang'”;
return $where;
} );`November 6, 2018 at 8:51 am #452695Glad to hear that. 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket