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
  • Author
    Posts
  • #450672

    Atila Iglesias
    Expired Member
    Post count: 72

    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.

    #450686

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    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.

    #450739

    Atila Iglesias
    Expired Member
    Post count: 72
    This reply has been marked as private.
    #450741

    Atila Iglesias
    Expired Member
    Post count: 72

    Also 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 you

    #450837

    Alex Rollin
    Moderator
    Post count: 27815

    For 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.

    #450838

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #450913

    Kiran
    Moderator
    Post count: 7069

    Hello,

    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

    #450941

    Atila Iglesias
    Expired Member
    Post count: 72

    Hello 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

    #452693

    Atila Iglesias
    Expired Member
    Post count: 72

    Hello 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;
    } );`

    #452695

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that. 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount