• Resolved jakobwi

    (@jakobwi)


    Is there a problem since the last update?

    Only one location Tag is shown,
    my workaround (translations) is not working anymore, only one language works.

    different results in opera and chrome

    any knwon issues?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shamalli

    (@mihail-chepovskiy)

    Sorry, but there is no known issues you explained. Also what is “location Tag”?

    Thread Starter jakobwi

    (@jakobwi)

    Dear Shamalli,

    i had an issue after an update of my theme.

    Unfortunatel i found some problems.

    As i have 3 different languages on my site but all of them should show the same content i disabled the translation with a workaround.

    add_filter( ‘pll_get_post_types’, ‘remove_post_translation_from_pll’, 10, 2 );
    function remove_post_translation_from_pll( $post_types, $is_settings ) {
    unset( $post_types[‘w2dc_listing’] );
    return $post_types;
    }

    function turn_categoryblog_translation_off( $taxonomies, $is_settings ) {
    unset( $taxonomies[‘w2dc-category’] );
    return $taxonomies;
    }
    add_filter( ‘pll_get_taxonomies’, ‘turn_categoryblog_translation_off’, 10, 2 );

    function turn_tagblog_translation_off( $taxonomies, $is_settings ) {
    unset( $taxonomies[‘w2dc-location’] );
    return $taxonomies;
    }
    add_filter( ‘pll_get_taxonomies’, ‘turn_tagblog_translation_off’, 10, 2 );

    function turn_tagw2_translation_off( $taxonomies, $is_settings ) {
    unset( $taxonomies[‘w2dc-tag’] );
    return $taxonomies;
    }
    add_filter( ‘pll_get_taxonomies’, ‘turn_tagw2_translation_off’, 10, 2 );

    It is actually working but all TAG-links links and the listing detail page doesnt work as it will always open a page for the language.

    Do you think we can solve this problem

    I use polylang and i do not want to manage every listing in every language.

    Thread Starter jakobwi

    (@jakobwi)

    Dear Shamalli, i dont know since when but i still have a language problem.

    the workaorund above worked fine. now even when i recome him

    On all languages (main lang is english) the listing tries to open the spanish page.
    the same effect when i disable the workaround. Before it worked fine as i want to display the english version on all languages.

    Thread Starter jakobwi

    (@jakobwi)

    FYI: if i remove the spanish page it uses the german site for listing details.
    if i also remove the german page it works.

    As soon as i activate the spanish page again, all links link to the “not-existing” spanish listing page

    Thread Starter jakobwi

    (@jakobwi)

    Meanwhile, even hitting the search button forwards me to the spanish page!

    where is this coming from?
    permalinks are all set to the working ennglish site!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problem since last update’ is closed to new replies.